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 694: Moves to or from the Module namespace
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 694 (see also a
graph
of recent actions)
Filter parameters
Filter ID:
694
Description:
(publicly viewable)
Filter hits:
308 hits
Statistics:
Of the last 201,529 actions, this filter has matched 0 (0%). On average, its run time is 0.07 ms, and it consumes 0.9 conditions of the condition limit.
Conditions:
(
documentation
)
moved_to_namespace == 828 & ( ( /* Case 1 (Moves TO module space) */ moved_from_namespace != 828 & !( moved_from_namespace == 10 & /* Allow TemplateStyles */ moved_from_title rlike '/.*\.css$' & moved_to_title rlike '/.*\.css$' ) & !( moved_to_title rlike '/doc$' ) ) | ( /* Case 2 (Moves WITHIN Module space, but to or from /doc pages) */ moved_from_namespace == 828 & ( moved_from_title rlike '/doc$' ^ moved_to_title rlike '/doc$' ) ) /* Case 3 (Moves OUT of Module space): Not needed; disallowed by MediaWiki unless it actually makes sense */ )
moved_to_namespace == 828 & ( ( /* Case 1 (Moves TO module space) */ moved_from_namespace != 828 & !( moved_from_namespace == 10 & /* Allow TemplateStyles */ moved_from_title rlike '/.*\.css$' & moved_to_title rlike '/.*\.css$' ) & !( moved_to_title rlike '/doc$' ) ) | ( /* Case 2 (Moves WITHIN Module space, but to or from /doc pages) */ moved_from_namespace == 828 & ( moved_from_title rlike '/doc$' ^ moved_to_title rlike '/doc$' ) ) /* Case 3 (Moves OUT of Module space): Not needed; disallowed by MediaWiki unless it actually makes sense */ )
Notes:
These types of moves don't do what users expect because of how content models work, and it breaks things in a way that requires admins to fix. Disallow and explain why. (At some point, I'd like to make MediaWiki itself do this rather than needing a filter for it.) Save a condition: check for (action == "move") before doing XOR magic (XOR can't short-circuit) --SoY 27 Feb 2019 Allow some exceptions, see https://en.wikipedia.org/w/index.php?title=Wikipedia:Edit_filter_noticeboard&oldid=885471138#Filter_694_is_too_strict. Based on DannyS712's https://en.wikipedia.beta.wmflabs.org/wiki/Special:AbuseFilter/466 --SoY 28 Feb 2019 Allow /testcases --SoY 28 Feb 2019 Rv /testcases exception --SoY 28 Feb 2019 Set to warn --Soy 5 Mar 2019
Flags:
Hide details of this filter from public view
Enable this filter
Mark as deleted
Filter last modified:
23:08, 5 March 2019
by
Suffusion of Yellow
(
talk
|
contribs
)
History:
View this filter's history
Tools:
Export this filter to another wiki
{"data":{"rules":"moved_to_namespace == 828 \u0026\r\n(\r\n ( /* Case 1 (Moves TO module space) */\r\n moved_from_namespace != 828 \u0026\r\n !(\r\n moved_from_namespace == 10 \u0026 /* Allow TemplateStyles */\r\n moved_from_title rlike '/.*\\.css$' \u0026\r\n moved_to_title rlike '/.*\\.css$'\r\n ) \u0026\r\n !(\r\n moved_to_title rlike '/doc$'\r\n )\r\n ) | ( /* Case 2 (Moves WITHIN Module space, but to or from /doc pages) */\r\n moved_from_namespace == 828 \u0026\r\n (\r\n moved_from_title rlike '/doc$' ^\r\n moved_to_title rlike '/doc$'\r\n )\r\n ) /* Case 3 (Moves OUT of Module space): Not needed; disallowed by MediaWiki unless it actually makes sense */\r\n)","name":"Moves to or from the Module namespace","comments":"These types of moves don't do what users expect because of how content models work, and it breaks things in a way that requires admins to fix. Disallow and explain why. (At some point, I'd like to make MediaWiki itself do this rather than needing a filter for it.)\r\n\r\nSave a condition: check for (action == \"move\") before doing XOR magic (XOR can't short-circuit) --SoY 27 Feb 2019\r\n\r\nAllow some exceptions, see https://en.wikipedia.org/w/index.php?title=Wikipedia:Edit_filter_noticeboard\u0026oldid=885471138#Filter_694_is_too_strict. Based on DannyS712's https://en.wikipedia.beta.wmflabs.org/wiki/Special:AbuseFilter/466 --SoY 28 Feb 2019\r\n\r\nAllow /testcases --SoY 28 Feb 2019\r\nRv /testcases exception --SoY 28 Feb 2019\r\n\r\nSet to warn --Soy 5 Mar 2019","group":"default","actions":{"warn":["abusefilter-warning-scribunto-contentmodel"]},"enabled":true,"deleted":false,"privacylevel":0,"global":false},"actions":{"warn":["abusefilter-warning-scribunto-contentmodel"]}}
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.