Edit filter configuration

Differences between versions

ItemVersion from 23:54, 10 December 2017 by MusikAnimalVersion from 23:54, 10 December 2017 by MusikAnimal
Basic information
Notes:
Looks for clipboard hijacking issues. These are usually caused when someone copy-pastes a cited page's title, and the page uses code that modifies the copied test to include promotional link-back material. They frequently cause citation errors, and either way the added text is undesirable.
Looks for clipboard hijacking issues. These are usually caused when someone copy-pastes a cited page's title, and the page uses code that modifies the copied test to include promotional link-back material. They frequently cause citation errors, and either way the added text is undesirable.


* Initial testing to collect examples and false positives. -Nihiltres
* Initial testing to collect examples and false positives. -Nihiltres
* Added test for text already present, and put regex in a variable. -Nihiltres
* Added test for text already present, and put regex in a variable. -Nihiltres
* Using new_wikitext and old_wikitext to avoid some issues; added_lines doesn't seem to cut it. -Nihiltres
* Using new_wikitext and old_wikitext to avoid some issues; added_lines doesn't seem to cut it. -Nihiltres
* Added closing bracket to excluded class to avoid catching title= in URLs, and tentatively enabled. -Nihiltres
* Added closing bracket to excluded class to avoid catching title= in URLs, and tentatively enabled. -Nihiltres
* Added opening check for characters not "?" or "&" to avoid URL strings. -Nihiltres
* Added opening check for characters not "?" or "&" to avoid URL strings. -Nihiltres


-Exempt bots 20170401 -Xaosflux
-Exempt bots 20170401 -Xaosflux


Use added_lines/removed_lines instead of new_wikitext/old_wikitext to improve performance. Here usage of these variables effectively do the same thing (detecting text added that wasn't already there), so we'll use the smaller one. Also putting the bot check as the last condition since it is probably the least likely condition to evaluate to false ~MA
Use added_lines/removed_lines instead of new_wikitext/old_wikitext to improve performance. Here usage of these variables effectively do the same thing (detecting text added that wasn't already there), so we'll use the smaller one. Also putting the bot check as the last condition since it is the least likely condition to evaluate to false ~MA