Wikipedia:Interface administrators' noticeboard

__NEWSECTIONLINK__

Template gadgets - naming convention
Hi all, we've got the first request coming in to do a mw:Template gadgets. They are called that, but what these actually are is:
 * A javascript gadget
 * That is a default gadget
 * Normally hidden
 * That has a trigger such that it only runs when a page is in a certain category
 * The "templates" would likely implement that

We certainly need to be take due care in adding any such gadget definition, as basically any editor can cause other editors to run the gadget by placing a page in a category and getting someone else to visit the page. (Like all sitescripts, only intadmins can actually change the script). We already have a standard-ish process for having gadget requests made and processed. I think we should have a standard naming convention for these categories, perhaps Category:Wikipedia pages using gadget %NAME%. Any suggestions as to this? I think it should prob be a hidden category and we should have a master category for these as well (Category:Wikipedia gadget gategory triggers or something?). Feedback welcome below. — xaosflux  Talk 11:51, 28 May 2024 (UTC)


 * Context: MediaWiki:Gadget-Vivarium.js – Novem Linguae (talk) 13:19, 28 May 2024 (UTC)
 * All of what you proposed looks good to me. * Pppery * it has begun... 19:49, 28 May 2024 (UTC)
 * I'd name the category Category:Pages using gadget %NAME%. There's only two categories using "Wikipedia pages using ...", and way more just "Pages using ...". --rchard2scout (talk) 20:33, 28 May 2024 (UTC)
 * Makes sense. * Pppery * it has begun... 20:35, 28 May 2024 (UTC)


 * OK, the only one of these so far is: Category:Pages using gadget Vivarium, nested in Category:Wikipedia template gadget triggers. — xaosflux  Talk 15:31, 31 May 2024 (UTC)

Template gadgets - gadget settings

 * I've launched the first template gadget (Vivarium), it should be running at Template:Conway's Game of Life gadget. This is a "default gadget", but only runs on pages in the gadget category. The upstream suggestion is to make these hidden, but I'm not sure about that. Any harm in allowing logged in users to opt-out? — xaosflux  Talk 15:16, 31 May 2024 (UTC)
 * @Xaosflux Only that it could eventually bloat the gadgets tab? Sophivorus (talk) 00:59, 6 June 2024 (UTC)
 * For template gadgets used on a lot of pages, sure, but this particular one is intended for exactly one page. It's clutter to have it show up on gadget preferences. – SD0001  (talk) 12:39, 11 June 2024 (UTC)

Edit request
Hi! Would an intadmin be able to change  to   at User:Yamakiri/Userpage2.js? (It is at line 222.) The category was renamed after being listed at WP:CFDS. Thanks, House Blaster  (talk · he/they) 19:52, 6 June 2024 (UTC)
 * HouseBlaster - ✅.  ~Oshwah~  (talk) (contribs)   22:33, 6 June 2024 (UTC)

Renewal
Hello, my common.js page was deleted when I was going around to delete the unused pages from my WP:CHUU. Could I get this restored? Cowboygilbert -  (talk) ♥  18:02, 17 July 2024 (UTC)
 * I have undeleted User:Cowboygilbert/common.js. * Pppery * it has begun... 18:03, 17 July 2024 (UTC)
 * Cowboygilbert -  (talk) ♥  18:04, 17 July 2024 (UTC)