User talk:Mr. Stradivarius

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Welcome to my talk page! Pull up a chair, and feel free to ask me anything.

Module:DYK checklist[edit]

Mr. Stradivarius, you created this module back in 2016 for Template:DYK checklist. I was wondering if you would be willing to add more checking to it.

Right now, the module will accept anything in the status field, including symbols/icons, rather than the five valid values. The obvious problem is that if an invalid value is there, no icon is generated by the template. Furthermore, we now have a bot, WugBot, which moves approved nominations to a relatively recently created "Approved" page, and in the case of those DYK checklist templates, it only moves them if the status field has a "y" in it, because that's the value that indicates a review that has passed or passed AGF.

It would help a great deal if you were to put out a red error message when the field does not have a valid value in it, much like you do when (for example) the status field is left blank. (I'm not sure what sort of checking you do in the other fields; if it's a simple matter to enforce valid values there, too, it would be worth it.)

Thanks for anything you can do to help here. BlueMoonset (talk) 20:38, 8 September 2018 (UTC)

@BlueMoonset: Sorry that I've been late in getting to this. I've added the functionality that you asked for to Module:DYK checklist/sandbox. You can test it out using {{DYK checklist/sandbox}}. I've made it so that you can only use the exact values of "y", "?", "maybe", "no" or "again" for the status argument. If this needs to be changed, please let me know. Best — Mr. Stradivarius ♪ talk ♪ 11:28, 3 October 2018 (UTC)
Mr. Stradivarius, thanks for completing the upgraded code. I tested the sandbox version in Template:Did you know nominations/Galán (but didn't save anything to that template; it was all checked in Preview mode), and it picked up the invalid status value that was already there. I also tested various boundary conditions, and it does the right thing and throws up an error if blank, if capital letters are used, and if a part of a valid value rather than the whole thing is used. Now that they've actually added the checklist template so it can easily be copied and pasted for reviewing purposes, it's more important than ever to get that new functionality into the real template. Please let me know when the new code is live in the regular template/module; I'd like to make a post to WT:DYK so people can be notified that the proper status field values are being enforced. Many thanks! BlueMoonset (talk) 02:44, 5 October 2018 (UTC)
@BlueMoonset: It's now live. After seeing the nomination page you linked, I also tweaked the error message that is displayed when a reviewer supplies an invalid status. Now wikitext is escaped and long strings are shortened, so you won't see images etc. in the middle of the error message. — Mr. Stradivarius ♪ talk ♪ 02:51, 8 October 2018 (UTC)
Thank you very much. I've just posted about the change at WT:DYK. It just occurred to me that I didn't credit you there. Should I add that this was your work at my request? BlueMoonset (talk) 04:22, 8 October 2018 (UTC)
@BlueMoonset: No, no need. Anyone who wants to know who did it can always look at the module's history. Best — Mr. Stradivarius ♪ talk ♪ 06:04, 8 October 2018 (UTC)

Interface Edit Requests - Bot Table[edit]

Hello Mr. Stradivarius, as an interface administrator I wanted to let you know that there are two pages you should consider watch-listing: Wikipedia:Interface administrators' noticeboard and User:AnomieBOT/IPERTable. The later is a bot-generated table of all outstanding interface edit requests that you may be able to handle. Thank you for your continuing support of Wikipedia! — xaosflux Talk 14:40, 29 October 2018 (UTC)

Thanks for the message! Now watchlisted. — Mr. Stradivarius ♪ talk ♪ 13:55, 31 October 2018 (UTC)

Tech News: 2018-45[edit]

17:28, 5 November 2018 (UTC)

Tech News: 2018-46[edit]

19:22, 12 November 2018 (UTC)