Difference between revisions of "Template:Page category check"
m (updated modification date) |
(Added Category:Anomaly) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: | <includeonly>{{#if: | ||
− | {{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace: | + | {{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace: |
<!-- Remove all verification categories --> | <!-- Remove all verification categories --> | ||
Line 26: | Line 26: | ||
| Category:Pages with graphs}} | | Category:Pages with graphs}} | ||
| Category:Pages with syntax highlighting errors}} | | Category:Pages with syntax highlighting errors}} | ||
+ | | Category:Anomaly}} | ||
| Category:Biotech}} | | Category:Biotech}} | ||
| Category:Ideology}} | | Category:Ideology}} |
Revision as of 09:38, 5 April 2024
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::>28 October 2022 08:53:21]] | limit = 500 | format = template | template = Page category check | link = none | named args = yes | ? = page | ?Category = Category | ?Modification date = Date | sort = Modification date | offset = 0 }}
As the limit of 500 cannot be exceeded, if the template doesn't return any pages, the modification date should be set the last checked date as returned under 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.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |
Output
The following pages (ordered by Modification date) only have a maintenance category defined:
The last checked page has a Modification date of: 10 February 2024 04:43:14 There are still more to go.