Module talk:Infobox/parsing

From Official Factorio Wiki
Jump to navigation Jump to search

Double " (research) (research)" in "missing" links

https://wiki.factorio.com/Factorio:Wanted_pages/other shows a bunch of "missing" pages like "Biter egg handling (research) (research)". That comes from Infoboxes where tech is written as "Biter egg handling (research)", thus another " (research)" is added as seen in https://wiki.factorio.com/index.php?title=Module:Infobox/parsing&oldid=203573#L-33

For whatever reason, the actual links I see on the pages are ALL CORRECT without the doubles. So I wonder at which point Wikimedia falsely determines the " (research) (research)" as a linked page. Is the code run in a different environment or is it the check itself that's triggering this? I can't see the reason, no matter how I looked at the code.

Doc: https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.title.new - only the namespace argument is missing. Vadcx (talk) 10:53, 23 November 2024 (UTC)

  • Secondary effects of that issue: https://wiki.factorio.com/Special:WantedFiles -> "File:Lithium processing.png" is missing via "Infobox:Lithium plate", because "|required-technologies = Lithium processing" is specified without the " (research)" part. Vadcx (talk) 11:05, 23 November 2024 (UTC)
Hey, this fixes itself when removing the (research) from the research names in the infoboxes and creating the needed pages. Both of these things have happened now, also based on some other reports of these issues. -- Bilka (talk) - Admin 18:38, 17 February 2025 (UTC)
Understood. Thanks for fixing the pages and adding missing files! - Vadcx (talk) 18:42, 17 February 2025 (UTC)