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
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Viewing filter 1,254: Broken sfn or harv template
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
Appearance
move to sidebar
hide
Editing filter 1,254 (see also a
graph
of recent actions)
Filter parameters
Filter ID:
1,254
Description:
(publicly viewable)
Filter hits:
21,511 hits
Statistics:
Of the last 201,178 actions, this filter has matched 29 (0.01%). On average, its run time is 0.16 ms, and it consumes 1.6 conditions of the condition limit.
Conditions:
(
documentation
)
page_namespace == 0 & added_lines irlike "\{\{(?:sfn|harv)" & new_html contains "harv-error" & ( badcite_raw := get_matches("harv-error[^>]+>[^>]+CITEREF(\S+)", new_html)[1]; badcite := rmspecials(sanitize(badcite_raw)); length(badcite) > 0 & rmwhitespace(rmspecials(added_lines)) contains badcite & !(rmwhitespace(rmspecials(removed_lines)) contains badcite) & !(new_html contains ('id="CITEREF' + badcite_raw + '"')) )
page_namespace == 0 & added_lines irlike "\{\{(?:sfn|harv)" & new_html contains "harv-error" & ( badcite_raw := get_matches("harv-error[^>]+>[^>]+CITEREF(\S+)", new_html)[1]; badcite := rmspecials(sanitize(badcite_raw)); length(badcite) > 0 & rmwhitespace(rmspecials(added_lines)) contains badcite & !(rmwhitespace(rmspecials(removed_lines)) contains badcite) & !(new_html contains ('id="CITEREF' + badcite_raw + '"')) )
Notes:
Requested at [[[[Special:PermaLink/1157177470#Adding broken harvnb-sfn cites]]. --Suffusion of Yellow 18:40 28 May 2023
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/Extension:AbuseFilter/Rules_format#Protected_variables protected variables]
Mark as deleted
Filter last modified:
22:32, 30 May 2023
by
Suffusion of Yellow
(
talk
|
contribs
)
History:
View this filter's history
Tools:
Export this filter to another wiki
{"data":{"rules":"page_namespace == 0 \u0026\r\nadded_lines irlike \"\\{\\{(?:sfn|harv)\" \u0026\r\nnew_html contains \"harv-error\" \u0026\r\n(\r\n badcite_raw := get_matches(\"harv-error[^\u003E]+\u003E[^\u003E]+CITEREF(\\S+)\", new_html)[1];\r\n badcite := rmspecials(sanitize(badcite_raw));\r\n\r\n length(badcite) \u003E 0 \u0026\r\n rmwhitespace(rmspecials(added_lines)) contains badcite \u0026\r\n !(rmwhitespace(rmspecials(removed_lines)) contains badcite) \u0026\r\n !(new_html contains ('id=\"CITEREF' + badcite_raw + '\"'))\r\n)","name":"Broken sfn or harv template","comments":"Requested at [[[[Special:PermaLink/1157177470#Adding broken harvnb-sfn cites]]. --Suffusion of Yellow 18:40 28 May 2023","group":"default","actions":{"tag":["harv-error"]},"enabled":true,"deleted":false,"privacylevel":0,"global":false},"actions":{"tag":["harv-error"]}}
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)
harv-error