In this article, we will delve into the fascinating world of MediaWiki talk:Gadget-purgetab.js, exploring its various facets and delving into its impact on today's society. From its origin to its relevance today, MediaWiki talk:Gadget-purgetab.js has been the subject of interest and debate throughout history, generating all kinds of opinions and perspectives. Through a critical and exhaustive analysis, we will unravel the different aspects related to MediaWiki talk:Gadget-purgetab.js, from its influence on popular culture to its role in the global economy. Likewise, we will examine its evolution over time and its future projection, in an attempt to better understand its importance in the contemporary world. By exploring MediaWiki talk:Gadget-purgetab.js, we hope to provide a more complete and enriching vision of this topic that has so much impact on our lives.
Document ready
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Could someone wrap the current code with something like the following (which is suggested on mw:Snippets#How to use)?
Hi, can someone please modify this so that it works better in non-Vector skins? Right now you see "*" where Vector would normally say "Purge". Heddy10 (talk) 01:37, 3 February 2019 (UTC)
Edit request July 18, 2022
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Please replace the line mw.config.get( 'skin' ) === 'vector' ? 'Purge' : '*', with 'Purge',. I don't see a single skin where having a * in place of the word Purge makes sense. – BrandonXLF (talk)19:37, 18 July 2022 (UTC)
Not done this has been in place for over 10 years and 20,000+ users have enabled this - don't really want to mess with their interface. However, extending to vector-2022 to match vector seems congruous; @Heddy10: is vector-2022 specifically where you've come across this? — xaosfluxTalk20:31, 18 July 2022 (UTC)
Note also, purgtab has been copied to/from many other language projects, so it is fairly consistent already and doesn't require any interface language integration. — xaosfluxTalk20:33, 18 July 2022 (UTC)
Support. Not sure why vector says "Purge" and vector-2022 says "*", which gives zero clue about what clicking this mystery button does. The only reason I was able to figure out it was this gadget is because I did some digging into what was generating the CSS ID "ca-purge". At first I thought it was MediaWiki core or Twinkle. –Novem Linguae (talk) 20:45, 18 August 2022 (UTC)
Now that I think about it, I suppose the * is for users of skins that use tabs instead of a dropdown menu (e.g. Monobook), to save screen real estate. So let's limit our fix to vector-2022 users. –Novem Linguae (talk) 20:53, 18 August 2022 (UTC)
Edit request 2022-08-18
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Please change line 14 mw.config.get('skin')==='vector'?'Purge':'*', to mw.config.get('skin')==='vector'||mw.config.get('skin')==='vector-2022'?'Purge':'*',. This will fix the bug above where vector-2022's more menu has a mystery asterisk, instead replacing it with the word "Purge", to match the behavior in old vector. Please also delete *@revision2016-05-22, as this has been out of date for years and it is a maintenance burden to remember to change this every time we edit the page. Tested and works on testwiki. Thanks. –Novem Linguae (talk) 21:07, 18 August 2022 (UTC)
OK, for help with MoreMenu, you have to ask on that other page. While we allow people to enable it here, all we do is directly load it from that other project. — xaosfluxTalk10:39, 24 February 2023 (UTC)