Forum:Updated MediaWiki gadgets

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
Forums: Index > Village Dump > Updated MediaWiki gadgets
Note: This topic has been unedited for 1083 days. It is considered archived - the discussion is over.


An FYI for editors: I fixed up 4 MediaWiki Gadgets: UTC Live Clock, edittop, CommentsInLocalTime, and AjaxRC:

  • UTCLiveClock - adds a clock with a purge button
  • edittop - edit the lede of pages
  • CommentsInLocalTime - see most signatures in local time (commas are enough to trip it up)
  • AjaxRC - a new alternative to RealtimeRC. I can't tell if it works or not yet.

Some had been disabled, some weren't marked as buggy, and one is new. All are available for logged-in users with JavaScript enabled. They can be turned on via Special:Preferences#mw-prefsection-gadgets. Dark Web, White Hat (talk) 05:41, 13 May 2021 (UTC), 08:26, 13 May 2021 (UTC) (edit)

These don't work for me, but it's possible they work on Chrome or something. Should we disable them so they don't show up in the available gadgets?:
Dark Web, White Hat (talk) 08:26, 13 May 2021 (UTC)
Thanks for that work. I played with RealtimeRC, most recently using one of the tabs to display bytes transferred in the update, from which I decided it wasn't worth it, even if I wear out my F5 key. (Documented at UN:HAX#Dynamic update.) Uncyclopedia should offer some way of displaying a "live" RecentChanges; maybe AjaxRC is it.
I edited a lede just yesterday. I do so by appending ?action=edit&section=0.
Llwy continues to work on a MediaWiki upgrade; perhaps she can say whether there's a simple fix before we decide, "They don't work for me, let's disable them." Spıke 🎙️12:03 13-May-21
Thanks for the fixes. Much of the JavaScript on this site stopped working in 2019, when we suddenly went from MW 1.19 to 1.31, or even earlier. (QuickVFD hasn't done anything for several years, IIRC.) I fixed a good deal of it some time back but have not gotten to the rest. The upgrade will not make the code any more compatible, I'm afraid, except possibly for the gadgets that come from Wikipedia like navpops. ❦ Llwy-ar-lawr talkcontribs • 13:13 13 May 2021
I do most of the patrolling of edits by I.P. Anon, and one gadget I'd like to have back is the UN:HAX#Patrol multiple changes. Llwy, in rereading HAX, one thing that leaps out is: Uncyclopedia disables JavaScript for rendering pages for you until you go to Special:Preferences ("Advanced display options") and click "Enable personal JavaScript". Surely this is a FANDOM thing and we can now have JavaScript enabled by default? Spıke 🎙️13:25 13-May-21
Right, this was one of the security features added in 2015, not part of default MediaWiki. Normally user JS is enabled or disabled for everyone on the server side. ❦ Llwy-ar-lawr talkcontribs • 03:58 14 May 2021
Sorry, Spike, can't seem to get the patrol gadget to work. AjaxRC does seem to work well, though. I'm disabling these five, and anyone else is welcome to post-edit me to put them back in MediaWiki:Gadgets-definition:
  • quickvfd
  • Navigation_popups
  • RealtimeRC
  • autobp
  • autotags
I guess that's it, then. Unfortunate they can't all work, but, more than we had. Dark Web, White Hat (talk) 01:02, 17 May 2021 (UTC)
FYI: the update to MediaWiki 1.35 fixed the navigation popups. Dark Web, White Hat (talk) 11:18, 3 June 2021 (UTC)
Yes, one of them attacked me as I was coding a wikilink. Haven't had that happen in years! That could be helpful. Spıke 🎙️11:55 3-Jun-21

According to Forum:MediaWiki "upgrade", quickvfd stopped working in 2012. This and several other gadgets relied on YUI, Yahoo's JavaScript library, which has been unmaintained since 2014. Any that continued to work would have broken when Wikia dropped YUI later. This page says it was mostly removed in 2009; it probably remained with Monobook until that was removed in 2018.

I've repaired most of the remaining non-working gadgets:

  • autobp
  • autotags
  • quickvfd
  • revert
  • shortnewpages
  • taggednewpages

I've tested the new code on Test Wiki, so it should work here. I don't have a solution for User:Spike/patrol.js yet, but I know it's looking for an rcid query string in links, a feature that disappeared in 1.21 with the introduction of Ajax patrolling. You might be able to use the <abbr class="unpatrolled"> elements instead.

Now that I've made it easy to give automated negative feedback, maybe I should balance it out... ❦ Llwy-ar-lawr talkcontribs • 09:08 11 June 2021

Featured Template

I have noticed that the featured template sits on top of the first paragraph rather than in the corner as before. --Laurels.gifRomArtus*Imperator ITRA (Orate) ® 15:40, 3 June 2021 (UTC)

This has been fixed.Llwy-ar-lawr talkcontribs • 09:08 11 June 2021