Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Contribute
Help
Learn to edit
Community portal
Recent changes
Upload file
Languages
Search
Search
Appearance
Donate
Create account
Log in
Personal tools
Donate
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Viewing filter 702: Warning against clipboard hijacking
Help
Home
Recent filter changes
Examine past edits
Edit filter log
English
Tools
Tools
move to sidebar
hide
Actions
General
Upload file
Special pages
Printable version
Get shortened URL
Download QR code
In other projects
Appearance
move to sidebar
hide
Editing filter 702 (see also a
graph
of recent actions)
Filter parameters
Filter ID:
702
Description:
(publicly viewable)
Filter hits:
8,599 hits
Statistics:
Of the last 222,457 actions, this filter has matched 0 (0%). On average, its run time is 0.1 ms, and it consumes 1 condition of the condition limit.
Conditions:
(
documentation
)
titlereadmore:="[^\?\&]title\s*=\s*[^\|\}\]]*?read more"; added_lines irlike titlereadmore & !(removed_lines irlike titlereadmore) & !("bot" in user_groups)
titlereadmore:="[^\?\&]title\s*=\s*[^\|\}\]]*?read more"; added_lines irlike titlereadmore & !(removed_lines irlike titlereadmore) & !("bot" in user_groups)
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. * Initial testing to collect examples and false positives. -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 * 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 -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 the least likely condition to evaluate to false ~MA
Flags:
Hide details of this filter from public view
Enable this filter
I understand that details of this filter will be hidden from users who cannot see [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:AbuseFilter/Rules_format#Protected_variables protected variables]
Mark as deleted
Filter last modified:
23:54, 10 December 2017
by
MusikAnimal
(
talk
|
contribs
)
History:
View this filter's history
Tools:
Export this filter to another wiki
{"data":{"rules":"titlereadmore:=\"[^\\?\\\u0026]title\\s*=\\s*[^\\|\\}\\]]*?read more\";\r\n\r\nadded_lines irlike titlereadmore \u0026 \r\n!(removed_lines irlike titlereadmore) \u0026\r\n!(\"bot\" in user_groups)","name":"Warning against clipboard hijacking","comments":"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.\r\n\r\n* Initial testing to collect examples and false positives. -Nihiltres\r\n* Added test for text already present, and put regex in a variable. -Nihiltres\r\n* Using new_wikitext and old_wikitext to avoid some issues; added_lines doesn't seem to cut it. -Nihiltres\r\n* Added closing bracket to excluded class to avoid catching title= in URLs, and tentatively enabled. -Nihiltres\r\n* Added opening check for characters not \"?\" or \"\u0026\" to avoid URL strings. -Nihiltres\r\n\r\n-Exempt bots 20170401 -Xaosflux\r\n\r\nUse 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","group":"default","actions":{"warn":["abusefilter-warning-clipboard-hijacking"]},"enabled":true,"deleted":false,"privacylevel":0,"global":false},"actions":{"warn":["abusefilter-warning-clipboard-hijacking"]}}
Actions to take when matched
Trigger actions only if the user trips a rate limit
Number of actions to allow:
Period of time (in seconds):
Group throttle by:
user
See
the documentation on mediawiki.org
.
Trigger these actions after giving the user a warning
System message to use for warning:
abusefilter-warning
Other message
Page name of other message:
(without "MediaWiki:" prefix)
Show/Hide preview of selected message
Prevent the user from performing the action in question
System message to use for disallowing:
abusefilter-disallowed
Other message
Page name of other message:
(without "MediaWiki:" prefix)
Show/Hide preview of selected message
Revoke the user's autoconfirmed status
Tag the edit in contributions lists and page histories
Tags to apply:
(see
Wikipedia:Tags
for use and formatting)
(please don't rename a tag here, see link above)
(one per line, no commas, publicly visible)
Require the user to complete a CAPTCHA in order to proceed with the action. Users with permission to skip a CAPTCHA are exempt.