linebreak after/before header

Jump to navigation Jump to search

linebreak after/before header

Hey, just wondering why you made this edit. Not that I'm objecting to it — I'm not — but I'm hoping to learn something from you about the benefit of the one matching string over the other. Thanks. (Oh, and thanks for catching my mistake w.r.t. the rhymes editor!)​—msh210 (talk) 18:00, 25 August 2011 (UTC)

18:10, 25 August 2011

I did a test here and it looks like the filter doesn't expand templates before setting new_wikitext. My javascript editor tools start L3 headings with {{subst:=}} to maintain the relation between the number linked by the edit section links and the number of lines beginning with = in the wikitext, so someone adding a new entry using it would set off the filter, and since the change doesn't affect anything else afaik, I figure it's not a problem. (BTW, adding a new message in the header of my talk page doesn't set off the "You have new messages" bar...)

Yair rand18:11, 25 August 2011

Ah! Thanks for the info.

​—msh210 (talk)18:15, 25 August 2011
 

Hm, it seems to be catching false positives, and I can't see why. Any idea?

​—msh210 (talk)18:34, 25 August 2011

Hm, that's very strange. I'm doing a bunch of tests on those edits, and it seems that while any "=\n" test sets it off, "=\s?\n" regex tests don't...

Yair rand18:52, 25 August 2011

There's something weird going on with those edits. In Special:AbuseLog/136 the edit_delta is 103 even though there's only 9 characters added.

Yair rand19:26, 25 August 2011

Right. See also the added_lines and removed_lines on that page.

​—msh210 (talk)19:35, 25 August 2011
 

And I see you've worked around it. Thanks!

​—msh210 (talk)21:44, 25 August 2011