Page MenuHomePhabricator

update examples in action=help&modules=templatedata
Closed, ResolvedPublic

Description

The two examples on https://www.mediawiki.org/w/api.php?action=help&modules=templatedata both lack &format=json and do not return meaningful output any longer, at least not demonstrating behaviour on missing or redirected pages comprehensively.

A valid example on any existing mediawiki.org template may be added.

Event Timeline

Umherirrender renamed this task from Linkupdate in action=help&modules=templatedata to update examples in action=help&modules=templatedata.Jan 2 2021, 4:46 PM
Umherirrender edited projects, added MediaWiki-Action-API; removed MediaWiki-REST-API.

@Uditdesai2206: Hi! This task has been assigned to you a while ago. Could you maybe share an update? Do you still plan to work on this task, or do you need any help?

Aklapper added a subscriber: Uditdesai2206.

@Uditdesai2206: I am resetting the assignee of this task because there has not been progress lately (please correct me if I am wrong!). Resetting the assignee avoids the impression that somebody is already working on this task. It also allows others to potentially work towards fixing this task. Please claim this task again when you plan to work on it (via Add Action...Assign / Claim in the dropdown menu) - it would be welcome. Thanks for your understanding!

Change 879805 had a related patch set uploaded (by EpicPupper; author: EpicPupper):

[mediawiki/extensions/TemplateData@master] Improve API examples

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

Frostly triaged this task as High priority.
Frostly added a project: User-Frostly.
Frostly moved this task from Unsorted to Needs Review on the MediaWiki-Action-API board.
Frostly moved this task from Backlog to For review on the User-Frostly board.
Frostly subscribed.

I would create a patch demo, but it requires V+2 from Jenkins, and that doesn't seem to be happening. If a "trusted user" as defined by patch demo could create one, that would be much appreciated.

@EpicPupper For both Jenkins V+2 testing and for Patch demo, you need to add yourself to this big list of emails: https://gerrit.wikimedia.org/g/integration/config/+/df4f76faa7f066c5784798e394d266cf384c9e17/zuul/layout.yaml#106

Just submit a patch in the integration/config repository and wait for someone to approve you. Recent example: https://gerrit.wikimedia.org/r/c/integration/config/+/867734

Thanks for your interest!

Test wiki created on Patch demo by Matma Rex using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/d9165c1b68/w

Change 879805 merged by jenkins-bot:

[mediawiki/extensions/TemplateData@master] Improve API examples

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

Test wiki on Patch demo by Matma Rex using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/d9165c1b68/w/