Nothing Special   »   [go: up one dir, main page]

Wikipedia talk:Gadget

Latest comment: 4 months ago by Andrybak in topic Re-order

Gadget usage statistics via revision hashtags

edit

Gadget developers and users: we would like to have your input on the following proposal phab:T123636 aiming to simplify the generation of statistics on the volume and quality of edits as well as the user base of individual gadgets by using revision hashtags. For additional context on revtagging and how it differs from WP:Tags see mw:revtagging (ping Slaporte (talk · contribs)). --DarTar (talk) 17:05, 16 January 2016 (UTC)Reply

Re-order

edit

I feel that we should do some reordering soon on the list of gadgets. It's getting a bit long, and some of the sections are a bit all over the place right now. Anyone have suggestions ? —TheDJ (talkcontribs) 08:37, 26 June 2017 (UTC)Reply

Since 26 June 2017—Special:Diff/787591015/1232225154—the gadgets don't seem to have been reordered. The tab "Gadgets" in preferences gained table of contents: Special:Diff/1217245196. New sections maintenance and template-gadgets got added (Special:Diff/926140087 and Special:Diff/1193671949/1226258403). —⁠andrybak (talk) 11:50, 13 July 2024 (UTC)Reply
edit

TLDR: We should remove this gadget, both as a default-enabled gadget, and completely.

Details: The MediaWiki:Gadget-featured-articles-links.js / MediaWiki:Gadget-featured-articles-links.css is no longer needed, nor working. Edokter commented on this over 2 years ago. Examples can be seen at Blade Runner. (Note, the GA badges are using a more generic styling in order to be consistent across all languages. The same styling is shown regardless of whether the Compact Language Links betafeature is enabled - i.e. this is controlled directly by Wikidata.) Hence I recommend removing the gadget entirely. Quiddity (talk) 16:06, 4 September 2017 (UTC)Reply

  DoneTheDJ (talkcontribs) 20:43, 4 September 2017 (UTC)Reply
This was implemented in Special:Diff/798961689. However, pages MediaWiki:Gadget-featured-articles-links.js and MediaWiki:Gadget-featured-articles-links.css are still available. For historical reference, I guess? —⁠andrybak (talk) 11:33, 13 July 2024 (UTC)Reply

Proposal for Minerva categories gadget

edit

Categories are not shown in the Minerva skin per discussion on mw.org. I've written a gadget that would add this missing feature. It could be made default for logged in users but I ask for now that it is installed so at least editors are given the option.

The module would be restricted to the Minerva skin, which should work on both mobile and desktop Minerva but not load on other skins where is it not necessary. @MassiveEartha: @1997kB: @Pelagic:

Jdlrobson (talk) 18:51, 10 October 2019 (UTC)Reply

PS. I'm a little confused by the gadget process. It might be necessary to post to Wikipedia:Village_pump_(technical) - in which case, it would be better coming from an editor more active on that page and you should feel free to link here in that conversation! — Preceding unsigned comment added by Jdlrobson (talkcontribs) 18:53, 10 October 2019 (UTC)Reply

@Jdlrobson: I believe there is already a similar gadget available, MediaWiki:Gadget-MobileCategories.js and a beta feature is available. I think you can submit a edit request instead. Also your script uses wgTitle and it is restricted to mainspace. I don't think it will be much useful if you only include mainspace. Add another thing why you are hiding hidden categories on mobile? This script should detect user preferences for showing/hiding hidden categories and work accordingly. Masum Reza📞 19:49, 10 October 2019 (UTC)Reply
As a developer on the mobile project, I can share that there is a possibility we might be removing the beta (and possibly with it the categories beta feature which hasn't been maintained in several years) - hence why I'm interested in getting a more simple global gadget available. MediaWiki:Gadget-MobileCategories.js also looks suitable - I didn't realise User:TheDJ had beaten me too it :-) .... but it should really be made global and available via Special:Preferences. I'm happy to update my script to detect user preferences if that's more useful. Either way there should be one gadget there now (especially given the issues with gadget on mobile should have been resolved now) Jdlrobson (talk) 04:25, 11 October 2019 (UTC)Reply
I see. Let's suppose Categories beta feature is removed, and it is replaced by one of these scripts (yours/TheDJ's). We wouldn't be able to add(/remove) categories to a page easily. The beta feature currently allows one to add categories to a page without editing the wikitext. It is partially like a mobile hotcat. And the current HotCat won't run on mobile. I suggest you to update your script so it at least replicates the beta Categories feature. Then IMO, there will be no reason not to remove the beta. And if I am not mistaken HotCat is a global gadget and most wikis have it, not sure we had "a community discussion" to add this gadget on every wikis where it is installed. Sometimes it is hard to find discussion participants particularly on smaller wikis. IMO, if a gadget is useful, we should be bold enough to add the gadget ourselves. Masum Reza📞 03:09, 12 October 2019 (UTC)Reply
i don't have any plans to expand the category gadget I wrote. I just wanted to provide an option if it does get removed. The code of the beta feature is pretty neglected. It has been touched in a couple of years so I would be hard pressed not to support its removal. Jdlrobson (talk) 19:11, 13 October 2019 (UTC)Reply

proposal for undo gadget

edit

User:FR30799386 has written an undo feature for mobile/Minerva skin. I would like to suggest it is added as gadget (possibly enabled for logged in users) per the mw.org conversation as it seems users are not discovering this important tool.

You can test on mobile domain using:

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:FR30799386/undo.js&action=raw&ctype=text/javascript');

The module should be targeted to "mobile" only so it applies to all skins on the mobile domain but does not run on desktop. @Bageense: @Masumrezarock100: @94rain: Jdlrobson (talk) 18:51, 10 October 2019 (UTC)Reply

PS. I'm a little confused by the gadget process. It might be necessary to post to Wikipedia:Village_pump_(technical) - in which case, it would be better coming from an editor more active on that page and you should feel free to link here in that conversation! — Preceding unsigned comment added by Jdlrobson (talkcontribs) 18:53, 10 October 2019 (UTC)Reply

I proposed the same thing few months ago. But it didn't get much attention. I believe it didn't reach many users who edit by mobile. There was no oppose but apparently the proposal didn't succeed. One concern was that the script had used plain HTML, CSS, and JavaScript to construct the button, which I believe has been addressed. I fully support this proposal. I can propose this gadget on Wikimedia Commons. Also there is a task on phabricator to add a undo button to diff pages, but it doesn't look like Readers web team is going to work on it anytime soon. Masum Reza📞 19:36, 10 October 2019 (UTC)Reply
FR is banned on en.WP. WP:PROXYING applies here. See also a related discussion about user-space scripts as gadgets. --Izno (talk) 16:06, 13 October 2019 (UTC)Reply
apologies. I wasn't aware of that. Thank you for flagging. Jdlrobson (talk) 19:10, 13 October 2019 (UTC)Reply
No worries. There's feasibly someone who would be willing to port and maintain the tool here. --Izno (talk) 20:04, 13 October 2019 (UTC)Reply
@Izno and Jdlrobson: He is not banned but blocked. They were banned here for sockpuppeting not script abusing. I've interacted with FR a few times, and I see no behaviourial issues. No abuse on other wikis. They are also active on phabricator and Gerrit, no sign of technical abuse there either. It sucks that some people like to gravedance over one block log. Just to be on the safe side, we should copy it to mediawiki and not import it from their userspace if we decide to make it a gadget. And yeah, proxying is allowed if an independent editor finds the content productive and verifiable, and I am pretty sure that we have some people here who can judge/review code. Also the current maintainer is DannyS712. Masum Reza📞 01:07, 14 October 2019 (UTC)Reply
In one breath "socking", in the same "no behavioral issues". Yeah, no. That's not how that works. It's not gravedancing to say "he's not allowed to contribute here right now" and to point that out when he is apparently cited as the primary creator by the person suggesting the tool should be used here. --Izno (talk) 01:48, 14 October 2019 (UTC)Reply
@Jdlrobson: I have created a fork of FR's script at User:SD0001/Gadget-mobile-undo.js. The code has been cleaned up extensively, so that is now hopefully readable, making maintenance easier. A few minor issues such as lack of failure handling for getting messages from the API have also been fixed. Also, the script will not modify the thanks button (or make any other CSS changes) if the page is not editable (due to lack of permissions).
Feel free to review the code. I guess this version can be converted to a gadget, barring any objections. I will leave a notification at WP:VPT. SD0001 (talk) 08:13, 16 October 2019 (UTC)Reply

Wikipedia:RefToolbar

edit

I suggest copy-pasting the Search and Replace functionality to the Wikipedia:RefToolbar to prevent the need to switch modules to locate it (and match experience of using Visual Editor). I have had a few instances when I was unable to use it natively on WP and had to use external programs simply because I couldn’t find it when editing a page. Respublik (talk) 23:39, 28 June 2023 (UTC)Reply

copy-pasting the Search and Replace functionality. Can you elaborate a bit on this? I'm having trouble figuring out what you mean and how this is related to the RefToolbar. –Novem Linguae (talk) 00:13, 29 June 2023 (UTC)Reply
I assume they're suggesting that the search and replace button in the Advanced subtoolbar be copied onto the Cite subtoolbar. Nardog (talk) 00:15, 29 June 2023 (UTC)Reply
This ^ Respublik (talk) 03:01, 29 June 2023 (UTC)Reply

Template gadgets

edit

A discussion regarding tempaltegadgets is now open at Wikipedia:Interface_administrators'_noticeboard#Template_gadgets_-_naming_convention, please join in there if interested. — xaosflux Talk 11:52, 28 May 2024 (UTC)Reply