What
- Skin::preloadExistence for footer links - Introduced in 2016 with change 314799 by me to reduce database queries on every page view.
- $wgFooterLinkCacheExpiry - Introduced in 2020 with change 582611 by @aaron, but currently unused (disabled by default and at WMF).
Context
Proposal
Make the footer links always blue and without applying LinkRenderer features adding a class to the element for "stub threshold" and for "is redirect".
Rationale
- Contrary to my context comment above, the footer links are already always blue. When I observed the LinkRenderer database queries, I assumed these queries result in at least somewhat-useful behaviour such as making links red or blue. However the skin has, since the introduction of the footer links in ~2004, always called Linker->makeKnown and so the database metadata is never used for that purpose. It never gets class=new and thus never becomes red.
- The metadata feature for stub threshold was removed from MW core.
- The metadata feature for redirect status results in a class mw-redirect being added, which has no effect by default and I can't think of a even a theoretical use case where this is important to surface in the footer. At least redlink would be somewhat useful to surface to site admins (though not on every page view per-se).