Module talk:Infobox/parsing: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Vadcx (talk | contribs)
Start Double "(research)"
 
Vadcx (talk | contribs)
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:


Doc: https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.title.new - only the namespace argument is missing. [[User:Vadcx|Vadcx]] ([[User talk:Vadcx|talk]]) 10:53, 23 November 2024 (UTC)
Doc: https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.title.new - only the namespace argument is missing. [[User:Vadcx|Vadcx]] ([[User talk: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. [[User:Vadcx|Vadcx]] ([[User talk: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. -- [[User:Bilka|Bilka]] ([[User talk:Bilka|talk]]) - <span style="color:#FF0000">Admin</span> 18:38, 17 February 2025 (UTC)
:: Understood. Thanks for fixing the pages and adding missing files! - [[User:Vadcx|Vadcx]] ([[User talk:Vadcx|talk]]) 18:42, 17 February 2025 (UTC)

Latest revision as of 18:42, 17 February 2025

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)