|
|
| l2_heading := "(?i)(?(DEFINE)" | | l2_heading := "(?i)(?(DEFINE)" |
| "(?<comment>!--\X*?(?>-->|\z))" | | "(?<comment>!--\X*?(?>-->|\z))" |
| "(?<tag>(?>" | | "(?<tag>(?>" |
| "(?&comment)|" | | "(?&comment)|" |
| "\/?(?>includeonly|noinclude|onlyinclude)(?>\/?>|[\t-\r ][^>]*>)|" | | "\/?(?>includeonly|noinclude|onlyinclude)(?>\/?>|[\t-\r ][^>]*>)|" |
| "(?<tagname>(?>categorytree|ce|charinsert|chem|dynamicpagelist|gallery|graph|hiero|imagemap|indicator|inputbox|langconvert|mapframe|maplink|math|nowiki|phonos|poem|pre|ref|references|score|section|source|syntaxhighlight|talkpage|templatedata|templatestyles|thread|timeline))(?>\/?>|[\t-\r ][^>]*>)(?(?<!\/>)\X*?<\/\k<tagname>[\t-\r ]*>)" | | "(?<tagname>(?>categorytree|ce|charinsert|chem|dynamicpagelist|gallery|graph|hiero|imagemap|indicator|inputbox|langconvert|mapframe|maplink|math|nowiki|phonos|poem|pre|ref|references|score|section|source|syntaxhighlight|talkpage|templatedata|templatestyles|thread|timeline))(?>\/?>|[\t-\r ][^>]*>)(?(?<!\/>)\X*?<\/\k<tagname>[\t-\r ]*>)" |
| "))" | | "))" |
| "(?<title>(?>[^\n<=] |=|< (?&tag)?) ?)" | | "(?<title>(?>[^\n<=] |=|< (?&tag)?) ?)" |
| "(?<post>(?>[ \t] |<(?&comment))* (?=\n|\z))" | | "(?<post>(?>[ \t] |<(?&comment))* (?=\n|\z))" |
| ")" | | ")" |
| "[^<=] (*SKIP)(*F)|" | | "[^<=] (*SKIP)(*F)|" |
| "< (?&tag)? (*SKIP)(*F)|" | | "< (?&tag)? (*SKIP)(*F)|" |
| "(?<=\n|\A)==(?!=(?&title)===(?&post))(?&title)==(?&post)"; | | "(?<=\n|\A)==(?!=(?&title)===(?&post))(?&title)==(?&post)"; |
|
| |
|
| !(user_groups rlike "bot|sysop|autopatrol") | | !(user_groups rlike "bot") |
| & equals_to_any(page_namespace, 0, 118) | | & equals_to_any(page_namespace, 0, 118) |
| & old_size != 0 | | & old_size != 0 |
| & rcount(l2_heading, new_pst) > rcount(l2_heading, old_wikitext) | | & rcount(l2_heading, new_pst) > rcount(l2_heading, old_wikitext) |