Hjem
Tilfældig
I nærheden
Log på
Indstillinger
Donation
Om Wikipedia
Forbehold
Søg
Viewing abuse filter 4: Section blanking (importeret fra enwiki)
Hjem
Seneste filterændringer
Undersøg tidligere ændringer
Misbrugslog
Redigerer filter 4
Filterparametre
Filter-ID:
4
Beskrivelse:
(vises offentligt)
Betingelser:
(!("autoconfirmed" in user_groups) & ((article_namespace == 0) & ((length(added_lines) < 1) & (((rmwhitespace(removed_lines) rlike "==\w+==") & ((rmwhitespace(old_wikitext) contains rmwhitespace(removed_lines + "==")) & (!(rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + "=="))) )) | ((rmwhitespace(old_wikitext) contains rmwhitespace("==" + removed_lines + "==")) & (!(rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + "=="))) )))))
(!("autoconfirmed" in user_groups) & ((article_namespace == 0) & ((length(added_lines) < 1) & (((rmwhitespace(removed_lines) rlike "==\w+==") & ((rmwhitespace(old_wikitext) contains rmwhitespace(removed_lines + "==")) & (!(rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + "=="))) )) | ((rmwhitespace(old_wikitext) contains rmwhitespace("==" + removed_lines + "==")) & (!(rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + "=="))) )))))
Noter:
This seems to work to see section blanking, testing as log only to see if it gives false positives and for speed. OK, added basic check if the removed_text does contain "==", this line could maybe be made better by using a regex on it to check if it is "== sectiontitle ==" ..?? Reenabled, it still may give some false positives. --Beetstra Speedup, specificity --Beetstra bit upgrade? --Beetstra Small case tag, for consistency with other tags. -x null edit, small case change didn't get through - Cen trying to deactivate and reactivate - Cen tagged edits are not reassigned after rename, see bugzilla 18908 - Cen (added_lines == "") does not work, (length(added_lines) < 1) does .. curiously. Updating filter --Beetstra False positives on removing empty sections can we test for that? Crudely even old_wikitext contains [^=](==+) *\n\1[^=] (i.e. it had at least one empty section) might do the job. Rich Farmbrough. Encountered another form of blanking, attempted to add to filter --Beetstra
Flag:
Skjul detaljer om dette filter fra offentlig visning
Aktivér dette filter
Markér som slettet
Filter senest ændret:
3. sep. 2011, 22:34
af
Palnatoke
(
diskussion
|
bidrag
)
Historik:
Vis dette filters historik
Værktøj:
Eksporter dette filter til en anden wiki
{"data":{"rules":"(!(\"autoconfirmed\" in user_groups) \u0026\r\n((article_namespace == 0) \u0026\r\n((length(added_lines) \u003C 1) \u0026\r\n(((rmwhitespace(removed_lines) rlike \"==\\w+==\") \u0026\r\n((rmwhitespace(old_wikitext) contains rmwhitespace(removed_lines + \"==\")) \u0026\r\n(!(rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + \"==\")))\r\n)) | \r\n((rmwhitespace(old_wikitext) contains rmwhitespace(\"==\" + removed_lines + \"==\")) \u0026\r\n(!(rmwhitespace(new_wikitext) contains rmwhitespace(removed_lines + \"==\")))\r\n)))))","name":"Section blanking (importeret fra enwiki)","comments":"This seems to work to see section blanking, testing as log only to see if it gives false positives and for speed.\r\n\r\nOK, added basic check if the removed_text does contain \"==\", this line could maybe be made better by using a regex on it to check if it is \"== sectiontitle ==\" ..??\r\n\r\nReenabled, it still may give some false positives. --Beetstra\r\n\r\nSpeedup, specificity --Beetstra\r\nbit upgrade? --Beetstra\r\n\r\nSmall case tag, for consistency with other tags. -x\r\n\r\nnull edit, small case change didn't get through - Cen\r\n\r\ntrying to deactivate and reactivate - Cen\r\n\r\ntagged edits are not reassigned after rename, see bugzilla 18908 - Cen\r\n\r\n(added_lines == \"\") does not work, (length(added_lines) \u003C 1) does .. curiously.\r\n\r\nUpdating filter --Beetstra\r\nFalse positives on removing empty sections can we test for that? Crudely even\r\nold_wikitext contains [^=](==+) *\\n\\1[^=]\r\n(i.e. it had at least one empty section) might do the job.\r\nRich Farmbrough.\r\n\r\nEncountered another form of blanking, attempted to add to filter --Beetstra","group":"default","actions":{"tag":["Section blanking"]},"enabled":false,"deleted":true,"privacylevel":0,"global":false},"actions":{"tag":["Section blanking"]}}
Handlinger som skal udføres ved træf
Udfør kun handlingerne hvis brugeren overstiger en rategrænse
Antal tilladte handlinger:
Tidsrum (i sekunder):
Grupper begrænsning efter:
user
Se
dokumentationen på mediawiki.org
.
Udfør disse handlinger efter at have givet brugeren en advarsel
Systemmeddelelse som skal bruges til advarsel:
abusefilter-warning
Anden meddelelse
Sidenavn på anden meddelelse:
(uden "MediaWiki:" præfiks)
Vis/skjul forhåndsvisning af valgt meddelelse
Forhindre brugeren i at udføre den ønskede handling
System message to use for disallowing:
abusefilter-disallowed
Anden meddelelse
Page name of other message:
(without "MediaWiki:" prefix)
Show/Hide preview of selected message
Fjern brugerens status som registreret bruger
Mærk redigeringen til yderligere gennemgang
Mærker
som skal anvendes:
Section blanking
Require the user to complete a CAPTCHA in order to proceed with the action. Users with permission to skip a CAPTCHA are exempt.