Spage added a comment.

In https://phabricator.wikimedia.org/T359#1019615, @Spage wrote:

> I'll revive the May 2014 revision.


I did so, generalizing some of the comments, mentioning new modules, and 
improving the links.

In https://phabricator.wikimedia.org/T359#1020253, @Lydia_Pintscher wrote:

> I did not like that page being filled again as it is confusing now and bound 
> to get out of date again as it is.
>  So to your question if we keep it if there is something better: hell no :D


Yes, developers should definitely improve the generated API help.

It would be nice to get the best of both worlds with T89318: Replace on-wiki 
API documentation with Special:ApiHelp transclusion 
<https://phabricator.wikimedia.org/T89318>. Except... the wikibase API modules 
don't run on mw.org, nor does Wikibase client, and the transclusion will work 
across wikis. And there are issues with localization 
(https://phabricator.wikimedia.org/T89768). Anyway after someone reviews the 
doc of wb//xxx// modules on that page for anything missing from the generated 
API help, we can kill it.

Any on-wiki examples that aren't in the generated API help should use 
Template:Api ex <https://www.mediawiki.org/wiki/Template:ApiEx>, e.g. `{{Api ex 
| site=www.wikidata.org | p1=action=wbeditentity | p2=new=item | p3=data={} }}`

Is there a good developer-level overview of claims, entities, Q-ids, and snaks 
somewhere?


TASK DETAIL
  https://phabricator.wikimedia.org/T359

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Spage
Cc: Christopher, Addshore, Lucie, Spage, daniel, aude, Lydia_Pintscher, Qgil, 
Wikidata-bugs, Jdouglas



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to