Template:Problems: Difference between revisions

m
Let's be verbose, for debug
(Save initial regexp query into separate variables, for later use. Testing to make sure I didn't mess anything)
m (Let's be verbose, for debug)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#vardefineecho:tl_problems_list|{{{1}}}}}{{#vardefine:tl_problems_list_active|{{#regexall:{{#var:tl_problems_list}}|(\=\=\=\s(?!\<s\>).*?(?!\<\/s\>)\s\=\=\=)|¯}}}}{{#vardefine:tl_problems_list_fixed|{{#regexall:{{#var:tl_problems_list}}|(\=\=\=\s\<s\>.*?\<\/s\>\s\=\=\=)|¯}}}}{{#if:{{#var:tl_problems_list_active}}|{{#vardefine:tl_problems_active_matched|true}}[[Category:Pages with active problems]]}}{{#if:{{#var:tl_problems_list_fixed}}|{{#vardefine:tl_problems_fixed_matched|true}}[[Category:Pages with fixed problems]]}}{{#if:{{#var:tl_problems_active_matched}}{{#var:tl_problems_fixed_matched}}||[[Category:Pages with misformatted problems]]}}|There's no known problems with this {{#if:{{{type|}}}|{{{type|}}}|game}}.}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#if:{{{1|}}}|{{#vardefineecho:tl_problems_list|{{{1}}}}}{{#vardefine:tl_problems_list_active|{{#regexall:{{#var:tl_problems_list}}|(\=\=\=\s(?!\<s\>).*?(?!\<\/s\>)\s\=\=\=)|¯}}}}{{#vardefine:tl_problems_list_fixed|{{#regexall:{{#var:tl_problems_list}}|(\=\=\=\s\<s\>.*?\<\/s\>\s\=\=\=)|¯}}}}{{#if:{{#var:tl_problems_list_active}}|{{#vardefine:tl_problems_active_matched|true}}[[:Category:Pages with active problems]]}}{{#if:{{#var:tl_problems_list_fixed}}|{{#vardefine:tl_problems_fixed_matched|true}}[[:Category:Pages with fixed problems]]}}{{#if:{{#var:tl_problems_active_matched}}{{#var:tl_problems_fixed_matched}}||[[:Category:Pages with misformatted problems]]}}|There's no known problems with this {{#if:{{{type|}}}|{{{type|}}}|game}}.}}</includeonly><noinclude>{{documentation}}</noinclude>