FFWiki forum logo.png
Forums: Index > Rin's Travel Agency > Archive > Articles Needing Images overhaul suggestion

Recently, I started to play through Tactics A2 and thought that I may as well grab some missing images for the wiki while I played. So I went over to Category:Image needed to see what we need and... there's almost 2,500 pages in there and no easy way to know which ones need Tactics A2 images. So I think there should be an easier way for users to see what images are needed for the game that they're playing. I noticed that we have Forum:Updating Images, but that's hard to maintain and it's never going to be 100% accurate.

My proposal is that we modify Template:Image needed to be more like Template:Stub, adding an option to specify the game that the image we need comes from, which will then automatically place it in an appropriate category (e.g. "Category:Final Fantasy XII articles needing images"). I don't think this would be hard to do, as we have lots of good template specialists who could probably sort this out without much trouble.

The one issue I see is that it will be a lot of work to implement this on the pages already in that massive category. Unless I'm underestimating the power of bots, it seems like too complicated a task for one of those to deal with, as the necessary changes would vary between each page. I'd be willing to go through all the pages and change the templates myself. 2,500 pages is a lot of pages to fix and it might take a while, but I could get it done.

Thoughts? --Leon95 11:07, May 18, 2016 (UTC)

I agree. Template:Expand uses a {{{game}}} parameter (that probably should be "release" and not "game").
I would just implement it as we like, as has been done with the stub templates, unless you feel like doing it all manually. It's probably possible to bot it to some extent, like if a game only has one release icon then it's likely that the Images refers to that game, but I'm not sure I'd bother. JBed (talk) 16:44, May 18, 2016 (UTC)
I was just about to add a {{{release}}} parameter to Template:Image needed, but then I realised that this solution only helps when an article only needs images from a single release. Some enemy/weapon pages need images from multiple releases, is there something we can do to the template so it can handle that? --Leon95 22:51, May 18, 2016 (UTC)
We can handle separators within a parameter (e.g. release=Final Fantasy X; Final Fantasy Y) or an infinite set of parameters (e.g. release 1=Final Fantasy X|release 2=Final Fantasy Y) if we get Lua involved.
An in-article appeal for images like stub templates would be an alternative. [[Template:Gallery]] currently does that-- although I assume we'll be killing that soon (unless we plan on just making it produce the new gallery syntax). JBed (talk) 23:05, May 18, 2016 (UTC)
Adding separators to the parameter sounds good to me. I couldn't figure out how to add that function to the template though, so I'd need some help sorting that out. --Leon95 11:07, May 19, 2016 (UTC)

It's probably possible to bot them by checking the page for release names. However, this will either result in:

  • Lots of false positives, if the bot simply takes all release names on the page and a page mentions Final Fantasy Q but doesn't actually need images of Final Fantasy Q
  • Lots of pages that the bot skips, if the bot skips any page with multiple release names and a page mentions both Final Fantasy Q and Final Fantasy R.

So there are ways to improvise, but the bot is definitely not smart enough to parse every page in {{image needed}}, at least not at my level of CS and python knowledge. It would be a lot of work to set this up, but still less than the amount of effort Leon is willing to undertake.

I also support JBed's Lua proposal and semicolon delineation. Also, Techno and I proposed killing the maintenance forum stickies a while back but I like this proposal better than what I originally had in mind for Updating Image. Cat (meowhunt) 04:11, May 23, 2016 (UTC)

{{#invoke:WikiFunctions|arraymap|{{{release|Final Fantasy X; Final Fantasy Y}}}|;|{X}|[Category:{X} blah blah]}}

[Category:Final Fantasy X blah blah][Category: Final Fantasy Y blah blah]

I forgot arraymap existed. JBed (talk) 07:31, May 23, 2016 (UTC)

Community content is available under CC-BY-SA unless otherwise noted.