Page MenuHomePhabricator

All API help links should use `Special:MyLanguage`
Open, NormalPublic

Description

API modules can include a getHelpUrls function. The url is displayed in multiple places, including within the API help and the API sandbox (if that extension in installed). All such links that point to mediawiki should use https://www.mediawiki.org/wiki/Special:MyLanguage/Help page instead of just https://www.mediawiki.org/wiki/Help page

A codesearch reveals 19 extensions that add help links without using Special:MyLanguage - the search isn't perfect, since it doesn't support negative lookaheads, but it is a starting place, and the scope of this task is to fix those identified.

For clarity, the following extensions will be affected:

Event Timeline

Restricted Application added a project: User-DannyS712. · View Herald TranscriptTue, Aug 27, 6:13 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 532521 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Echo@master] Use Special:MyLanguage in API help links

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

Change 532524 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/PageAssessments@master] Use Special:MyLanguage in API help links

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

Change 532525 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/PageViewInfo@master] Use Special:MyLanguage in API help links

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

Change 532526 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/CheckUser@master] Use Special:MyLanguage in API help links

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

Change 532527 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/GeoData@master] Use Special:MyLanguage in API help links

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

Change 532528 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/MachineVision@master] Use Special:MyLanguage in API help links

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

Change 532529 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/RegexBlock@master] Use Special:MyLanguage in API help links

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

Change 532530 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/TimedMediaHandler@master] Use Special:MyLanguage in API help links

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

Change 532531 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Wikibase@master] Use Special:MyLanguage in API help links

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

Change 532532 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/ApiFeatureUsage@master] Use Special:MyLanguage in API help links

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

Change 532533 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/BetaFeatures@master] Use Special:MyLanguage in API help links

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

Change 532534 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Favorites@master] Use Special:MyLanguage in API help links

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

Change 532535 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Flow@master] Use Special:MyLanguage in API help links

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

Change 532536 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/Jade@master] Use Special:MyLanguage in API help links

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

Change 532538 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/MobileFrontend@master] Use Special:MyLanguage in API help links

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

Change 532539 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/ORES@master] Use Special:MyLanguage in API help links

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

Change 532540 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/TemplateData@master] Use Special:MyLanguage in API help links

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

Change 532541 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/TextExtracts@master] Use Special:MyLanguage in API help links

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

Change 532542 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/UploadWizard@master] Use Special:MyLanguage in API help links

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

I tagged each of the extensions[1] that is within the scope of this task. For ease of reviewing, I should note:

  • The only changes made are the addition of Special:MyLanguage/[2]
  • Even if the target page is not translated, the link will still work,[3] and if it becomes translated in the future it will then be useful
  • All patches are verified +2 by jenkins, and are double checked for typos[4]

[1] With the exception of favorites, which does not appear to have a phabricator tag
[2] With the exception of MobileFrontEnd, where I had to split the link into 2 lines because it was too long
[3] Example: https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:PageViewInfo
[4] With the exception of the patches for MachineVision and Wikibase, both of which failed tests associated with wikibase - looking at the changes and the error output on the console, it appears that the patches I submitted are unrelated to this error - see T231264

DannyS712 updated the task description. (Show Details)Tue, Aug 27, 7:26 AM
DannyS712 updated the task description. (Show Details)
kostajh moved this task from Inbox to External on the Growth-Team board.Tue, Aug 27, 7:28 AM
kostajh added a subscriber: kostajh.

I've merged the patches related to Growth-Team maintained extensions. Thanks @DannyS712

kostajh updated the task description. (Show Details)Tue, Aug 27, 7:28 AM
DannyS712 moved this task from Backlog to External on the Notifications board.

Nice work @DannyS712 !

Thanks. I see you have +2 for TimedMediaHandler - can you take a look at https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/TimedMediaHandler/+/532530/ ?

Change 532535 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] Use Special:MyLanguage in API help links

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

Change 532521 merged by jenkins-bot:
[mediawiki/extensions/Echo@master] Use Special:MyLanguage in API help links

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

Change 532524 merged by jenkins-bot:
[mediawiki/extensions/PageAssessments@master] Use Special:MyLanguage in API help links

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

DannyS712 updated the task description. (Show Details)Tue, Aug 27, 7:52 AM

Change 532526 merged by jenkins-bot:
[mediawiki/extensions/CheckUser@master] Use Special:MyLanguage in API help links

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

Change 532533 merged by jenkins-bot:
[mediawiki/extensions/BetaFeatures@master] Use Special:MyLanguage in API help links

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

Change 532530 merged by jenkins-bot:
[mediawiki/extensions/TimedMediaHandler@master] Use Special:MyLanguage in API help links

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

Change 532540 merged by jenkins-bot:
[mediawiki/extensions/TemplateData@master] Use Special:MyLanguage in API help links

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

DannyS712 updated the task description. (Show Details)Tue, Aug 27, 10:56 AM

Change 532532 merged by jenkins-bot:
[mediawiki/extensions/ApiFeatureUsage@master] Use Special:MyLanguage in API help links

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

Mholloway moved this task from Backlog to Tracking on the Machine vision board.Tue, Aug 27, 3:12 PM

Change 532528 merged by jenkins-bot:
[mediawiki/extensions/MachineVision@master] Use Special:MyLanguage in API help links

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

Change 532538 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Use Special:MyLanguage in API help links

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

Change 532539 merged by jenkins-bot:
[mediawiki/extensions/ORES@master] Use Special:MyLanguage in API help links

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

Change 532536 merged by jenkins-bot:
[mediawiki/extensions/Jade@master] Use Special:MyLanguage in API help links

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

Change 532541 merged by jenkins-bot:
[mediawiki/extensions/TextExtracts@master] Use Special:MyLanguage in API help links

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

Change 532525 merged by jenkins-bot:
[mediawiki/extensions/PageViewInfo@master] Use Special:MyLanguage in API help links

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

DannyS712 updated the task description. (Show Details)Tue, Aug 27, 7:43 PM

Change 532542 merged by jenkins-bot:
[mediawiki/extensions/UploadWizard@master] Use Special:MyLanguage in API help links

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

Change 532534 merged by jenkins-bot:
[mediawiki/extensions/Favorites@master] Use Special:MyLanguage in API help links

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

DannyS712 updated the task description. (Show Details)Tue, Aug 27, 8:07 PM

Change 532531 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Use Special:MyLanguage in API help links

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

DannyS712 triaged this task as Normal priority.Tue, Aug 27, 8:49 PM
DannyS712 updated the task description. (Show Details)Tue, Aug 27, 9:26 PM
DannyS712 moved this task from Patches in review to Closed on the CheckUser board.
DannyS712 moved this task from Untriaged to Tracking work by others on the Community-Tech board.
DannyS712 moved this task from needs triage to Geodata on the Discovery-Search board.
DannyS712 moved this task from Inbox to In Progress on the Jade board.
DannyS712 moved this task from Backlog to External on the StructuredDiscussions board.
DannyS712 moved this task from incoming to in progress on the Wikidata board.
DannyS712 moved this task from Backlog to Done on the TimedMediaHandler board.Tue, Aug 27, 9:28 PM

Change 532529 merged by jenkins-bot:
[mediawiki/extensions/RegexBlock@master] Use Special:MyLanguage in API help links

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

DannyS712 updated the task description. (Show Details)Tue, Aug 27, 11:15 PM
JTannerWMF added a subscriber: JTannerWMF.

It appears someone else is working on this. So the Editing-team is moving this to external.