Many broken icon links

Anything related to the content on our wiki (https://wiki.factorio.com/)

Moderator: Bilka

Post Reply
Phasma Felis
Inserter
Inserter
Posts: 36
Joined: Wed Feb 25, 2015 1:02 am
Contact:

Many broken icon links

Post by Phasma Felis »

There's a whole bunch of broken icon links with red Xs on the wiki right now. Science pack is a good example, but most of the English-language Pages with broken file links have the same issue. A few of them seem to be caused by spaces instead of dashes in the icon tag (e.g. "icon|Science pack 1" should be "icon|Science-pack-1"), but not most. I've looked at the affected pages' edit history and it doesn't seem to be caused by recent edits. Anyone know what's going on?

Bilka
Factorio Staff
Factorio Staff
Posts: 3123
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Many broken icon links

Post by Bilka »

Sorry about that. I ran a script to move all icons so that they don't have - in their names. Unfortunately I made that script very fast. When I ran it, it sent more requests to the API than permitted by the rate limit of the wiki, so not all move requests to the API were actually processed. Since when running the script it showed that it moved all pages (when it didn't), I changed a template that is connected to how icons link to files. By changing that, the icons suddenly tried to link to something that didn't exist.

I noticed the error after that happened and moved all the pages that the script missed with Gangsir's help, so all icons should now link the correct file. Currently the wiki still has to update a lot of pages, so icons can show as missing when they are actually fine code-wise and the "pages with broken file links" category will show pages that are fine. However, if you notice missing icons after the next few hours, please let me know so that I can fix them.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Many broken icon links

Post by ssilk »

Betka, over short or long you need to have the current servers twice. One for PRODUCTION and the other for TESTING or QUALITY ASSURANCE.
Sure you know that yourself. :)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Bilka
Factorio Staff
Factorio Staff
Posts: 3123
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Many broken icon links

Post by Bilka »

You say on the day we made a mass move and edit and nothing was broken for more than the hour it took the software to process the job queue :P But yeah, that is a good idea if we do mass changes in the future, though that is very unlikely as we now have cleaned up most of the oddities behind the wiki.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Many broken icon links

Post by ssilk »

Well, that's the point of such changes: You don't need a test-server, until you change something and then you don't have time to make one or it is faster to live with the bugs. ;) I saw it on so many customers and when my company comes and we say "You need a test server with exactly the same configuration" they say "But we don't change so much" then we say "You don't change so much, CAUSE you cannot test." :)

My latest project was some server, which has been running on PHP 4. In words: Four!! They booked us, cause they where not able to handle any update with only two persons anymore: They have had so many small issues, that it took a month to update.

The same is it for the forum, the mod portal, the main website: Any more or less professional company needs to test before taking something live. :)

PS: The wiki looks great. :)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Post Reply

Return to “Wiki Talk”