Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
Contribute
Help
Learn to edit
Community portal
Recent changes
Upload file
Languages
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Viewing filter 28: New user redirecting an existing substantial page or changing a redirect
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
Editing filter 28 (see also a
graph
of recent actions)
Filter parameters
Filter ID:
28
Description:
(publicly viewable)
Filter hits:
12,264 hits
Conditions:
(
documentation
)
!("autoconfirmed" in user_groups) & !("Anybot" in article_recent_contributors) & ( line1:="^#\s*redirect\s*\[\["; lcase(new_wikitext) rlike line1) & ((old_size > 500 & new_size < 100 & !(lcase(old_wikitext) rlike line1)) | (new_size < 150 & old_size < 150 & (edit_delta > 5 | edit_delta < -5) & (lcase(old_wikitext) rlike line1)))
!("autoconfirmed" in user_groups) & !("Anybot" in article_recent_contributors) & ( line1:="^#\s*redirect\s*\[\["; lcase(new_wikitext) rlike line1) & ((old_size > 500 & new_size < 100 & !(lcase(old_wikitext) rlike line1)) | (new_size < 150 & old_size < 150 & (edit_delta > 5 | edit_delta < -5) & (lcase(old_wikitext) rlike line1)))
Notes:
use autofirmed, logic fixes -Prodego Filter keeps failing, disabling temporarily - Hersfold Ok, now it should only hit actual redirects.... - Hersfold And BEHOLD the power of regex. Thank you, Prodego, nixeagle, for helping with my regex illiteracy. - Hersfold Fixing so it only hits new redirects - Hersfold Blah, fixing again - Hersfold Disabling for now we are having performence issues Try turning the two around... apparently we evaluate right to left! *********************************************************** DISABLED FOR PERFORMANCE REASONS Logic is LTR after all - trying to reword to improve run time, let's see what happens. I'll keep an eye on it. - Hersfold Merged with filter 35 - Ruslik Changed old_size to 200. - Ruslik Added a warning. - Ruslik Added "old_size != new_size" to prevent further incidents. - Ruslik Well, I increased old_size to 500. - Ruslik I added a condition that the size of redirect should change by at least 6 bytes. - Ruslik I also excluded edits that added a category to a redirect. - Ruslik Excluded "{{R from". - Ruslik Disabled warning. - Ruslik Enabled tagging instead. - Ruslik Exempting anybot created content. - Ruslik Simplified the code. - Ruslik Terrible run time + not catching much useful + filter is overwrought now = disabling. -Wknight94 Marked as deleted. - Ruslik
Flags:
Hide details of this filter from public view
Enable this filter
Mark as deleted
Filter last modified:
17:33, 6 January 2010
by
Ruslik0
(
talk
|
contribs
)
History:
View this filter's history
Tools:
Export this filter to another wiki
{"data":{"rules":"!(\"autoconfirmed\" in user_groups) \u0026 !(\"Anybot\" in article_recent_contributors) \u0026 \r\n(\r\nline1:=\"^#\\s*redirect\\s*\\[\\[\";\r\nlcase(new_wikitext) rlike line1) \u0026\r\n((old_size \u003E 500 \u0026 new_size \u003C 100 \u0026 \r\n!(lcase(old_wikitext) rlike line1)) |\r\n(new_size \u003C 150 \u0026 old_size \u003C 150 \u0026 (edit_delta \u003E 5 | edit_delta \u003C -5) \u0026\r\n(lcase(old_wikitext) rlike line1)))","name":"New user redirecting an existing substantial page or changing a redirect","comments":"use autofirmed, logic fixes -Prodego\r\nFilter keeps failing, disabling temporarily - Hersfold\r\nOk, now it should only hit actual redirects.... - Hersfold\r\nAnd BEHOLD the power of regex. Thank you, Prodego, nixeagle, for helping with my regex illiteracy. - Hersfold\r\nFixing so it only hits new redirects - Hersfold\r\nBlah, fixing again - Hersfold\r\n\r\nDisabling for now we are having performence issues\r\nTry turning the two around... apparently we evaluate right to left!\r\n\r\n***********************************************************\r\nDISABLED FOR PERFORMANCE REASONS\r\n\r\nLogic is LTR after all - trying to reword to improve run time, let's see what happens. I'll keep an eye on it. - Hersfold\r\n\r\nMerged with filter 35 - Ruslik\r\n \r\nChanged old_size to 200. - Ruslik\r\nAdded a warning. - Ruslik\r\nAdded \"old_size != new_size\" to prevent further incidents. - Ruslik\r\nWell, I increased old_size to 500. - Ruslik\r\nI added a condition that the size of redirect should change by at least 6 bytes. - Ruslik\r\nI also excluded edits that added a category to a redirect. - Ruslik\r\nExcluded \"{{R from\". - Ruslik\r\nDisabled warning. - Ruslik\r\nEnabled tagging instead. - Ruslik\r\nExempting anybot created content. - Ruslik\r\n\r\nSimplified the code. - Ruslik\r\n\r\nTerrible run time + not catching much useful + filter is overwrought now = disabling. -Wknight94\r\n\r\nMarked as deleted. - Ruslik","group":"default","actions":[],"enabled":false,"deleted":true,"privacylevel":0,"global":false},"actions":[]}
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)
Toggle limited content width