Warning Please do not post any new comments on this page.
This is a discussion archive first created in , although the comments contained were likely posted before and after this date.
See current discussion or the archives index.

Other uses of {{FI}}?

@Inductiveload: do you have a case to make for doing some {{FI}} conversions outside OAW? There are surely lots of very simple uses of it to be found. Levana Taylor (talk) 18:00, 19 February 2020 (UTC)

Only inasmuch as I think it's a good idea to not be loading full-sized images. I'm open to {{large image}} being improved before wider use. Or even retrofitting the logic to {{FI}} (though I suppose you'd have to invent a px size when there isn't one).
FI has another problem: the caption has a hard-coded CSS style applied to the captions from MediaWiki:Dynimg.css (e.g. a 94%; font-size), which means a straight-replace could break styling of captions if people have been relying on that styling.
IMO, FI is a bit over-engineered, and tries to do so much that it needs a lot of customisation to actually work in some places. This also makes it awkward to replace in the general case. The basic case (image, full width, no captions) should be an easy change, but I hesitate to actively advocate for mass change-over. While {{large image}} is still used rarely enough to be flexible, it might make sense to make sure there are no glaring issues with it first. I personally feel that trying to shoehorn too much logic into the template would not be a good idea. Inductiveloadtalk/contribs 20:32, 19 February 2020 (UTC)
This section was archived on a request by: — billinghurst sDrewth 13:27, 6 April 2020 (UTC)

override_year

The following discussion is closed:

Please find all subpages of Once a Week (magazine) that have the header parameter "year = Year1-Year2" (e.g. 1860-1861) and: A. change that to "override_year = Year1-Year2" B. add [[Category:Year2 works]]. Thanks! Levana Taylor (talk) 20:04, 28 March 2020 (UTC)

@Levana Taylor: to get that straight for works in special:prefixindex/Once a Week (magazine)/Series 1/Volume 4/ you are saying that they should become override_year = 1860-1861 | category = 1861 works and similarly whatever else accordingly. If yes, what parts of the hierarchy of "Once a Week" are we likely to find such use of year like that? If we are going to iterate a bot through pages it helps to be target resources. Will it be possible to presume that each volume will constant? — billinghurst sDrewth 09:10, 29 March 2020 (UTC)
Yes,you’re right about the principle of the changes. Volume 2 is 1859-1860, Volume 4 is 1860-1861, Volume 6 is 1861-1862, Volume 8 is 1862-1863, and Volume 10 is 1863-1864. The first week of the volume falls into Year1 but I already manually changed those, adding "Category:Year1 works". So the question would be finding all pages that haven't yet been changed. Levana Taylor (talk) 12:06, 29 March 2020 (UTC)
@Levana Taylor: grabbing subpages and iterating through them and only making required changes is easy. Please check special:diff/10041579 and special:diff/10041567 as the two variants that I have seen. Is this the output that you desire? — billinghurst sDrewth 12:35, 29 March 2020 (UTC)
Yes, that’s it! Levana Taylor (talk) 13:32, 29 March 2020 (UTC)
  • @Levana Taylor: with the Volume 2 set, I am seeing that you have "categories = 1860 works" in play in some places, so to be consistent (and to remove dupes), I have removed that method, and replaced with standard categories. I am (now) skipping anything with "override_year" already in place, but didn't with the Volume 4 batch, please check the early examples you identified for wrong (additional) cats. Thanks. — billinghurst sDrewth 01:00, 30 March 2020 (UTC)
OK, thanks. I’m not sure there are enough pages using the "categories" parameter to be worth setting up the bot to run through, but if you did convert those to ordinary categories it would be welcome. I used that parameter some at one point before I realized that it didn’t work with HotCat. Levana Taylor (talk) 01:06, 30 March 2020 (UTC)

  Done you may wish to run some checks as there was some variation in how you did some things, some I picked up, some I may not have done so. — billinghurst sDrewth 00:42, 31 March 2020 (UTC)

Thanks! Levana Taylor (talk) 03:47, 31 March 2020 (UTC)
This section was archived on a request by: — billinghurst sDrewth 13:28, 6 April 2020 (UTC)

Deletion of orphaned pages

Following a move of an Index, all the pages in the form Page:A Prisoner of the Khalifa.djvu/# (where # is one, two or three digits) are now orphaned. Per discussion at User Talk:Ineuw#Index:A Prisoner of the Khaleefa, these pages can be deleted. Thanks, Beeswaxcandle (talk) 07:46, 21 October 2020 (UTC)

Done. Mpaa (talk) 12:15, 21 October 2020 (UTC)
@Beeswaxcandle: Note that you do not necessarily need a bot to do this. If you go to "Page information" in the sidebar, and click "Number of subpages of this page", you'll be led to Special:PrefixIndex. And it accepts a non-existent page, so you can list these pages with Special:PrefixIndex/Page:A Prisoner of the Khalifa.djvu/. This list can be copied into Special:MassDelete (if you have the gadget enabled; and don't worry about the redlink, the page is constructed in JS by the gadget). You'll need to add the "Page:" prefix (search and replace in a text editor, for example), but unless there is a very large number of pages this will likely be both faster and easier than making a bot request. --Xover (talk) 13:35, 21 October 2020 (UTC)
Thanks. Normally, I would have turned the flood flag on and dealt with them myself, but this was a large number of pages and so easier with a bot. Beeswaxcandle (talk) 06:55, 22 October 2020 (UTC)
This section was archived on a request by: — billinghurst sDrewth 21:49, 22 October 2020 (UTC)