List of steps to reproduce (step by step, including full links if applicable):
- Click on "WhatLinksHere" from any Wikimedia wiki page (e.g. https://en.wikipedia.org/wiki/Special:WhatLinksHere/Main_Page).
What happens?: Pages are sorted by namespace, and pages within the same namespace are sorted by page ID.
What should have happened instead?: Pages are sorted by page ID regardless of their namespace, like they used to.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
This issue at least affects Wikimedia wikis. We do not know whether it affects other wikis with the latest code for MediaWiki 1.38, regardless of whether or not the "Linter" extension (with its latest code) is installed, but those wikis are probably unaffected. This may or may not be caused by https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Linter/+/755817.
See https://web.archive.org/web/20220130015434/https://en.wikipedia.org/wiki/Special:WhatLinksHere/Main_Page vs https://en.wikipedia.org/wiki/Special:WhatLinksHere/Main_Page for the difference.
Sorting by namespace is, in my opinion, not a good idea, because cross-namespace moves could mess up the ordering of the pages.