Template:Category see also/Category pair check

< Template:Category see also
Revision as of 03:15, 23 May 2018 by Caribbean historian (talk | contribs) (added a basic Cat pair check)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Check whether Template:Category see also has been used when Template:Category pair probably should be use.

The test is:

  1. Is this page in the Category namespace?
  2. Does this page's title end in "nn(st|nd|rd|th))-century something"
  3. does the first linked cat's title end in the same "-century something" as the title of the page it is used on?

If the answer to all 3 is yes, then categorise the page in the hidden tracking category Category:Template Category see also used when Template Category pair probably should be