Template:Page Status: Difference between revisions

add more checks
(add page category checks)
(add more checks)
Line 4: Line 4:
-->{{#if:{{{description|}}}|{{#tag:li|Description: {{#ifeq:{{{description}}}|none|unchecked.[[Category:Pages with an unchecked description]]|{{#vardefine:tl_ps_descripdate|{{#regex:{{{description}}}|/..User.+ \(..User talk.+\) (.+) .CEST./|$1}}}}{{#vardefine:tl_ps_descripeditor|{{#regex:{{{description}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CEST./|$1}}}}last checked at {{#var:tl_ps_descripdate}} by [[User:{{#var:tl_ps_descripeditor}}|{{#var:tl_ps_descripeditor}}]] ([[User talk:{{#var:tl_ps_descripeditor}}|talk]]).{{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_ps_descripdate}}}}>31104000|[[Category:Pages with a description checked over 1 year ago]]}}}}}}}}<!--
-->{{#if:{{{description|}}}|{{#tag:li|Description: {{#ifeq:{{{description}}}|none|unchecked.[[Category:Pages with an unchecked description]]|{{#vardefine:tl_ps_descripdate|{{#regex:{{{description}}}|/..User.+ \(..User talk.+\) (.+) .CEST./|$1}}}}{{#vardefine:tl_ps_descripeditor|{{#regex:{{{description}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CEST./|$1}}}}last checked at {{#var:tl_ps_descripdate}} by [[User:{{#var:tl_ps_descripeditor}}|{{#var:tl_ps_descripeditor}}]] ([[User talk:{{#var:tl_ps_descripeditor}}|talk]]).{{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_ps_descripdate}}}}>31104000|[[Category:Pages with a description checked over 1 year ago]]}}}}}}}}<!--
-->{{#if:{{{forumpage|}}}|{{#tag:li|Forum page: {{#ifeq:{{{forumpage}}}|none|unchecked.[[Category:Pages with an unchecked forum page]]|{{#vardefine:tl_ps_forumdate|{{#regex:{{{forumpage}}}|/..User.+ \(..User talk.+\) (.+) .CEST./|$1}}}}{{#vardefine:tl_ps_forumeditor|{{#regex:{{{forumpage}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CEST./|$1}}}}last checked at {{#var:tl_ps_forumdate}} by [[User:{{#var:tl_ps_forumeditor}}|{{#var:tl_ps_forumeditor}}]] ([[User talk:{{#var:tl_ps_forumeditor}}|talk]]).{{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_ps_forumdate}}}}>31104000|[[Category:Pages with a forum page checked over 1 year ago]]}}}}}}}}<!--
-->{{#if:{{{forumpage|}}}|{{#tag:li|Forum page: {{#ifeq:{{{forumpage}}}|none|unchecked.[[Category:Pages with an unchecked forum page]]|{{#vardefine:tl_ps_forumdate|{{#regex:{{{forumpage}}}|/..User.+ \(..User talk.+\) (.+) .CEST./|$1}}}}{{#vardefine:tl_ps_forumeditor|{{#regex:{{{forumpage}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CEST./|$1}}}}last checked at {{#var:tl_ps_forumdate}} by [[User:{{#var:tl_ps_forumeditor}}|{{#var:tl_ps_forumeditor}}]] ([[User talk:{{#var:tl_ps_forumeditor}}|talk]]).{{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_ps_forumdate}}}}>31104000|[[Category:Pages with a forum page checked over 1 year ago]]}}}}}}}}<!--
-->{{#if:{{{gamelist|}}}|{{#tag:li|Game list: {{#ifeq:{{{gamelist}}}|none|unchecked.[[Category:Pages with an unchecked game list]]|{{#vardefine:tl_ps_gamelistdate|{{#regex:{{{gamelist}}}|/..User.+ \(..User talk.+\) (.+) .CEST./|$1}}}}{{#vardefine:tl_ps_gamelisteditor|{{#regex:{{{gamelist}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CEST./|$1}}}}last checked at {{#var:tl_ps_gamelistdate}} by [[User:{{#var:tl_ps_gamelisteditor}}|{{#var:tl_ps_gamelisteditor}}]] ([[User talk:{{#var:tl_ps_gamelisteditor}}|talk]]).{{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_ps_gamelistdate}}}}>31104000|[[Category:Pages with a game list checked over 1 year ago]]}}}}}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/Category.Platforms/}}||{{#tag:li|Platform category: <b>missing</b>}}[[Category:Pages missing sections]]}}}}<!--
-->{{#if:{{{gamelist|}}}|{{#tag:li|Game list: {{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/wikitable/}}|{{#ifeq:{{{gamelist}}}|none|unchecked.[[Category:Pages with an unchecked game list]]|{{#vardefine:tl_ps_gamelistdate|{{#regex:{{{gamelist}}}|/..User.+ \(..User talk.+\) (.+) .CEST./|$1}}}}{{#vardefine:tl_ps_gamelisteditor|{{#regex:{{{gamelist}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CEST./|$1}}}}last checked at {{#var:tl_ps_gamelistdate}} by [[User:{{#var:tl_ps_gamelisteditor}}|{{#var:tl_ps_gamelisteditor}}]] ([[User talk:{{#var:tl_ps_gamelisteditor}}|talk]]).{{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_ps_gamelistdate}}}}>31104000|[[Category:Pages with a game list checked over 1 year ago]]}}}}|<b>missing</b>.[[Category:Pages missing sections]][[Category:Pages with an unchecked game list]]}}}}{{#if:{{#regex:{{#var:tl_ps_pagecontents}}|/Category.Platforms/}}||{{#tag:li|Platform category: <b>missing</b>}}[[Category:Pages missing sections]]}}}}<!--
-->{{#if:{{{enhancements|}}}|{{#tag:li|Enhancements: {{#ifeq:{{{enhancements}}}|none|unchecked.[[Category:Pages with unchecked enhancements]]|{{#vardefine:tl_ps_enhancedate|{{#regex:{{{enhancements}}}|/..User.+ \(..User talk.+\) (.+) .CEST./|$1}}}}{{#vardefine:tl_ps_enhanceeditor|{{#regex:{{{enhancements}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CEST./|$1}}}}last checked at {{#var:tl_ps_enhancedate}} by [[User:{{#var:tl_ps_enhanceeditor}}|{{#var:tl_ps_enhanceeditor}}]] ([[User talk:{{#var:tl_ps_enhanceeditor}}|talk]]).{{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_ps_enhancedate}}}}>31104000|[[Category:Pages with enhancements checked over 1 year ago]]}}}}}}}}<!--
-->{{#if:{{{enhancements|}}}|{{#tag:li|Enhancements: {{#ifeq:{{{enhancements}}}|none|unchecked.[[Category:Pages with unchecked enhancements]]|{{#vardefine:tl_ps_enhancedate|{{#regex:{{{enhancements}}}|/..User.+ \(..User talk.+\) (.+) .CEST./|$1}}}}{{#vardefine:tl_ps_enhanceeditor|{{#regex:{{{enhancements}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CEST./|$1}}}}last checked at {{#var:tl_ps_enhancedate}} by [[User:{{#var:tl_ps_enhanceeditor}}|{{#var:tl_ps_enhanceeditor}}]] ([[User talk:{{#var:tl_ps_enhanceeditor}}|talk]]).{{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_ps_enhancedate}}}}>31104000|[[Category:Pages with enhancements checked over 1 year ago]]}}}}}}}}<!--
-->{{#if:{{{videogallery|}}}|{{#tag:li|Video Gallery: {{#ifeq:{{{videogallery}}}|none|unchecked.[[Category:Pages with an unchecked video gallery]]|{{#vardefine:tl_ps_gallerydate|{{#regex:{{{videogallery}}}|/..User.+ \(..User talk.+\) (.+) .CEST./|$1}}}}{{#vardefine:tl_ps_galleryeditor|{{#regex:{{{videogallery}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CEST./|$1}}}}last checked at {{#var:tl_ps_gallerydate}} by [[User:{{#var:tl_ps_galleryeditor}}|{{#var:tl_ps_galleryeditor}}]] ([[User talk:{{#var:tl_ps_galleryeditor}}|talk]]).{{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_ps_gallerydate}}}}>31104000|[[Category:Pages with a video gallery checked over 1 year ago]]}}}}}}}}<!--
-->{{#if:{{{videogallery|}}}|{{#tag:li|Video Gallery: {{#ifeq:{{{videogallery}}}|none|unchecked.[[Category:Pages with an unchecked video gallery]]|{{#vardefine:tl_ps_gallerydate|{{#regex:{{{videogallery}}}|/..User.+ \(..User talk.+\) (.+) .CEST./|$1}}}}{{#vardefine:tl_ps_galleryeditor|{{#regex:{{{videogallery}}}|/..User.(\w+).+ \(..User talk.+\) .+ .CEST./|$1}}}}last checked at {{#var:tl_ps_gallerydate}} by [[User:{{#var:tl_ps_galleryeditor}}|{{#var:tl_ps_galleryeditor}}]] ([[User talk:{{#var:tl_ps_galleryeditor}}|talk]]).{{#ifexpr:{{#time:xnU|{{CURRENTTIMESTAMP}}}}-{{#time:xnU|{{#var:tl_ps_gallerydate}}}}>31104000|[[Category:Pages with a video gallery checked over 1 year ago]]}}}}}}}}<!--
6,906

edits