Adresa
:
[go:
nahoru
,
domu
]
Home
Random
Nearby
Log in
Settings
Donate
About Wikidata
Disclaimers
Search
Viewing abuse filter 13: wrong statement for gender property
Home
Recent filter changes
Examine past edits
Abuse log
Editing filter 13
Filter parameters
Filter ID:
13
Description:
(publicly viewable)
Filter group:
Default
flow
Statistics:
Of the last 692,535 actions, this filter has matched 10 (0%). On average, its run time is 0.19 ms, and it consumes 2.1 conditions of the condition limit.
Conditions:
page_namespace == 0 & summary rlike '\bwbsetclaim-(cre|upd)ate\b' & '[[Property:P21]]:' in summary & ( values := '43445|44148|48270|179294|189125|207959|301702|350374|505371|660882|746411|1052281|1097630|1289754|1399232|2449503|3177577|3277905|65810(72|97)|7130936|12964198|1514577[89]|16674976|18116794|27679(684|766)|28873047|52261234|64017034'; summary_values := '\[\[Q(' + values + ')\]\]|somevalue|novalue'; wikitext_values := '\n(item\n' + values + '|somevalue|novalue)\n'; ! summary rlike summary_values & (old_wikitext rlike wikitext_values | ! old_wikitext rlike '\nP21\n' ) ) &! equals_to_any(page_title, "Q4115189", "Q13406268", "Q15397819")
page_namespace == 0 & summary rlike '\bwbsetclaim-(cre|upd)ate\b' & '[[Property:P21]]:' in summary & ( values := '43445|44148|48270|179294|189125|207959|301702|350374|505371|660882|746411|1052281|1097630|1289754|1399232|2449503|3177577|3277905|65810(72|97)|7130936|12964198|1514577[89]|16674976|18116794|27679(684|766)|28873047|52261234|64017034'; summary_values := '\[\[Q(' + values + ')\]\]|somevalue|novalue'; wikitext_values := '\n(item\n' + values + '|somevalue|novalue)\n'; ! summary rlike summary_values & (old_wikitext rlike wikitext_values | ! old_wikitext rlike '\nP21\n' ) ) &! equals_to_any(page_title, "Q4115189", "Q13406268", "Q15397819")
Notes:
-- 18/06/2020 -- Update allowed values to match property constraint: Add cisgender male/female (Q15145778/Q15145779), remove hermaphrodite (Q303479) - Nikki -- 02/08/2019 -- Update whitelist. --Matěj Suchánek -- 26/08/2016 -- Fix. --Matěj Suchánek -- 24/08/2016 -- Whitelist Q43445 and Q44148 completely. --Matěj Suchánek -- 11/09/2015 -- Edit summaries are fixed, re-enabled. --Matěj Suchánek -- 10/09/2015 -- Disabled per AN, will be fixed ASAP. Fixed, waiting for fixing edit summaries itself. --Matěj Suchánek -- 29/12/2014 -- Reworked. --Matěj Suchánek -- 27/12/2014 -- Fixes. --Matěj Suchánek -- 14/11/2014 -- Updated per [[Special:Permalink/169872794]]. --Matěj Suchánek -- 01/07/2014 -- Updated per [[Special:Permalink/141121832]]. --Matěj Suchánek -- 08/03/2014 -- There has existed a warning for this filter but the filter didn't use it. --Matěj Suchánek -- 26/02/2014 -- Now catches both adding and updating. --Matěj Suchánek -- 12/02/2014 -- Filter rewritten. --Matěj Suchánek -------------------------------------- checks when a claim was added or edited if the added item is valid. -Bene* - now checking new_wikitext -Bene* False - Disabling because of false positives -Legoktm - works now (checking if property was set before) -Bene* :Excluding Q6581097 which is a valid statement for male. And also Q6581072. -Mark91 - why should it check old_wikitext? the value is still false. -Sk!d -- because if you for example change the label the abuse filter shouldn't be triggered -Bene*
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:
21:19, 18 June 2020
by
Nikki
(
talk
|
contribs
)
History:
View this filter's history
Tools:
Export this filter to another wiki
{"data":{"rules":"page_namespace == 0\r\n\u0026 summary rlike '\\bwbsetclaim-(cre|upd)ate\\b'\r\n\u0026 '[[Property:P21]]:' in summary\r\n\u0026 (\r\n values := '43445|44148|48270|179294|189125|207959|301702|350374|505371|660882|746411|1052281|1097630|1289754|1399232|2449503|3177577|3277905|65810(72|97)|7130936|12964198|1514577[89]|16674976|18116794|27679(684|766)|28873047|52261234|64017034';\r\n summary_values := '\\[\\[Q(' + values + ')\\]\\]|somevalue|novalue';\r\n wikitext_values := '\\n(item\\n' + values + '|somevalue|novalue)\\n';\r\n ! summary rlike summary_values\r\n \u0026 (old_wikitext rlike wikitext_values | ! old_wikitext rlike '\\nP21\\n' )\r\n)\r\n\u0026! equals_to_any(page_title, \"Q4115189\", \"Q13406268\", \"Q15397819\")","name":"wrong statement for gender property","comments":"-- 18/06/2020 --\r\nUpdate allowed values to match property constraint: Add cisgender male/female (Q15145778/Q15145779), remove hermaphrodite (Q303479) - Nikki\r\n\r\n-- 02/08/2019 --\r\nUpdate whitelist. --Mat\u011bj Such\u00e1nek\r\n\r\n-- 26/08/2016 --\r\nFix. --Mat\u011bj Such\u00e1nek\r\n\r\n-- 24/08/2016 --\r\nWhitelist Q43445 and Q44148 completely. --Mat\u011bj Such\u00e1nek\r\n\r\n-- 11/09/2015 --\r\nEdit summaries are fixed, re-enabled. --Mat\u011bj Such\u00e1nek\r\n\r\n-- 10/09/2015 --\r\nDisabled per AN, will be fixed ASAP.\r\n\r\nFixed, waiting for fixing edit summaries itself. --Mat\u011bj Such\u00e1nek\r\n\r\n-- 29/12/2014 --\r\nReworked. --Mat\u011bj Such\u00e1nek\r\n\r\n-- 27/12/2014 --\r\nFixes. --Mat\u011bj Such\u00e1nek\r\n\r\n-- 14/11/2014 --\r\nUpdated per [[Special:Permalink/169872794]]. --Mat\u011bj Such\u00e1nek\r\n\r\n-- 01/07/2014 --\r\nUpdated per [[Special:Permalink/141121832]]. --Mat\u011bj Such\u00e1nek\r\n\r\n-- 08/03/2014 --\r\nThere has existed a warning for this filter but the filter didn't use it. --Mat\u011bj Such\u00e1nek\r\n\r\n-- 26/02/2014 --\r\nNow catches both adding and updating. --Mat\u011bj Such\u00e1nek\r\n \r\n-- 12/02/2014 --\r\nFilter rewritten. --Mat\u011bj Such\u00e1nek\r\n\r\n--------------------------------------\r\nchecks when a claim was added or edited if the added item is valid. -Bene*\r\n- now checking new_wikitext -Bene*\r\nFalse\r\n- Disabling because of false positives -Legoktm\r\n- works now (checking if property was set before) -Bene*\r\n:Excluding Q6581097 which is a valid statement for male. And also Q6581072. -Mark91\r\n- why should it check old_wikitext? the value is still false. -Sk!d\r\n-- because if you for example change the label the abuse filter shouldn't be triggered -Bene*","group":"default","actions":{"tag":["Unexpected value for gender"],"warn":["abusefilter-warning-13"]},"enabled":true,"deleted":false,"privacylevel":0,"global":false},"actions":{"tag":["Unexpected value for gender"],"warn":["abusefilter-warning-13"]}}
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
Block the user and/or IP address from editing
Block the user and/or IP address from editing their own talk page
Block duration for non-registered users:
6 hours
24 hours
31 hours
3 days
1 week
2 weeks
1 month
3 months
6 months
1 year
5 years
indefinite
Block duration for registered users:
6 hours
24 hours
31 hours
3 days
1 week
2 weeks
1 month
3 months
6 months
1 year
5 years
indefinite
Tag the edit for further review
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)
Unexpected value for gender