Viewing abuse filter 120: Inappropriate updates to P856

Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)

Editing filter 120
Jump to navigation Jump to search

You are viewing an old version of this filter. The statistics quoted are for the most recent version of the filter.Return to this filter's history.

Filter parameters
Filter ID:120

Description:

(publicly viewable)
Filter group:
Conditions:
page_namespace == 0 & strpos(summary, '/* wbsetclaim-update:2||1 */ [[Property:P856]]:') === 0 & string(added_lines) rlike '^https?://.+\n?$' & string(removed_lines) rlike '^https?://' & ( old_url := strpos(string(removed_lines), '\n') !== false ? substr(string(removed_lines), 0, strpos(string(removed_lines), '\n')) : string(removed_lines); new_url := strpos(string(added_lines), '\n') !== false ? substr(string(added_lines), 0, strpos(string(added_lines), '\n')) : string(added_lines); reg := '^(?:https?://)?(?:www\.)?(.+?)/?(?:index\.(?:html?|php))?$'; old_url_norm := get_matches(reg, old_url)[1]; /* TODO */ new_url_norm := get_matches(reg, new_url)[1]; /* TODO */ old_url_norm !== new_url_norm )
Notes:
Flags:
Filter last modified:21:23, 17 November 2023 by Ajraddatz (talk | contribs)
History:View this filter's history
Tools:Export this filter to another wiki
Actions to take when matched

You are viewing an old version of this filter. The statistics quoted are for the most recent version of the filter.Return to this filter's history.