Template:Page category check

From RimWorld Wiki
Revision as of 12:41, 10 December 2022 by Ickputzdirwech (talk | contribs) (updated modification date)
Jump to navigation Jump to search
Documentation icon Template documentation

Explanation

This template checks whether a content page is properly categorized. This is necessary since Special:UncategorizedPages doesn't work if the pages have categories like Category:Biotech, Category:Stubs or Category:Unverified articles defined.

The pages are scanned with the following code:

{{#ask: [[:+]] [[Modification date::>16 November 2021 15:29:34]]
 | limit = 500 | format = template | template = Page category check | link = none | searchlabel =
 | named args = yes
 | ? = page
 | ?Category = ?Category
 | sort = Modification date | order = ascending
 | offset = 0
}}

As the limit of 500 cannot be exceeded the modification date should be regularly updated to the modification date of the first returned page (see Output below). Since issues can only arise after new edits, pages that were last edited a long time ago don't have to be scanned again.

Output

The following pages only have a maintenance category defined: