Page MenuHomePhabricator

Add a GadgetUsage link to gadgets-prefstext message in Special:Preferences
Closed, ResolvedPublic0 Estimated Story Points

Description

Marked as a GCI task, please don't claim

  • Mentor: @NiharikaKohli
  • Type: Code
  • Beginner task

I suggest adding a link for (the excellent new!) Special:GadgetUsage to the [[MediaWiki:Gadgets-prefstext]].
That's the text displayed above the gadgets listing, e.g.

etc

This requires updating the relevant message in the i18n/en.json in Gadgets repo.

Related Objects

Event Timeline

Quiddity raised the priority of this task from to Needs Triage.
Quiddity updated the task description. (Show Details)
Quiddity subscribed.
TTO renamed this task from Add a GadgetUsage link to Special:Preferences qqx to Add a GadgetUsage link to gadgets-prefstext message in Special:Preferences.Dec 10 2015, 6:03 AM
TTO set Security to None.

Is this modifiable only by the admins on the wiki or its set in code somewhere?

Defaults for these messages are stored in i18n/en.json in the extension repository. They can be overridden by on-wiki customisations.

Defaults for these messages are stored in i18n/en.json in the extension repository. They can be overridden by on-wiki customisations.

Looks like the case. The text in the i18n file doesn't match the on-wiki one.

Indeed, I just mean change the default en.json. Thanks :-)
(IIUC, that is https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FGadgets/0c498ae7b62d0d8c93043d3527ceeb93c88be2a8/i18n%2Fen.json#L9
Which should be amended from the current

Below is a list of special gadgets you can enable for your account.\nThese gadgets are mostly based on JavaScript, so JavaScript has to be enabled in your browser for them to work.\nNote that these gadgets will have no effect on this preferences page.\n\nAlso note that these special gadgets are not part of the MediaWiki software, and are usually developed and maintained by users on your local wiki.\nLocal administrators can edit the [[MediaWiki:Gadgets-definition|definitions]] and [[Special:Gadgets|descriptions]] of available gadgets.

to say something like (edits welcome! I've only added the final sentence):

Below is a list of special gadgets you can enable for your account.\nThese gadgets are mostly based on JavaScript, so JavaScript has to be enabled in your browser for them to work.\nNote that these gadgets will have no effect on this preferences page.\n\nAlso note that these special gadgets are not part of the MediaWiki software, and are usually developed and maintained by users on your local wiki.\nLocal administrators can edit the [[MediaWiki:Gadgets-definition|definitions]] and [[Special:Gadgets|descriptions]] of available gadgets. The number of users for each gadget is listed at [[Special:GadgetUsage|Gadget usage statistics]].

Change 259982 had a related patch set uploaded (by JadeMaveric):
Add a GadgetUsage link to gadegets-prefstext message in Special:Preference

https://gerrit.wikimedia.org/r/259982

Submitted GCI task.

Defaults for these messages are stored in i18n/en.json in the extension repository. They can be overridden by on-wiki customisations.

Didn't understand this

Submitted GCI task.

Defaults for these messages are stored in i18n/en.json in the extension repository. They can be overridden by on-wiki customisations.

Didn't understand this

The messages are initially written in code but the on-wiki admins can modify them as they see fit. We don't have to bother about it for the purposes of this task.

Okay, thanks

In T120976#1889870, @NiharikaKohli wrote:

Submitted GCI task.

Defaults for these messages are stored in i18n/en.json in the extension repository. They can be overridden by on-wiki customisations.

Didn't understand this

The messages are initially written in code but the on-wiki admins can modify them as they see fit. We don't have to bother about it for the purposes of this task.

Okay thanks

Change 259982 merged by jenkins-bot:
Add a GadgetUsage link to gadgets-prefstext message in Special:Preferences

https://gerrit.wikimedia.org/r/259982

Niharika claimed this task.

Thanks Jade!