Any transclusion of a Page: namespace page onto the Main Page invokes a "Source" tab at the top (on Wikisources like enWS where the Main Page is still in NS0):
Normally this is not an issue, since it's not usual to directly transclude page content to the main space. However, the Lua API uses a "transclusion" link to report a dependency on the pages, so progress bars for indexes can trigger the tab, even though no actual content is transcluded.
Probably the tab should just be suppressed on the main page.
Ideas:
- This can be done client-side until T239033 by just checking mw.config.get( 'wgIsMainPage' )
- On the server side, it could probably happen somewhere near TranslusionPagesModifier::modifyPage, as long as there's a way to get the title of the page in question out, then you can just use isMainPage() on it.
- Or maybe there's a way to report a parser dependency without including the page in the "embeddedin" list, which would also be helpful to avoid spamming the list of embeds under the edit window with thousands of Page pages when editing a page that uses the Lua stats. Though a quick perusal of ParserOutput does not look like so.
Original report: https://en.wikisource.org/wiki/User_talk:Inductiveload#Module%3APotM%2Fdata