Talk:API listing template

From Meta, a Wikimedia project coordination wiki
Tracked in Phabricator:
Task T107086

This template provides the API listing at /api/ in various projects, for example:

The /api/ path is a server-side rewrite rule to <https://meta.wikimedia.org/w/extract2.php?template=API_listing_template>.

Updating this listing[edit]

To propose a new version of this index page, please edit API listing template/temp. Meta-Wiki admins: because this template is used as raw HTML, make sure that no dangerous resources (JavaScript, CSS, etc.) are in the page source before syncing.

Names[edit]

  • "Wikimedia APIs" is confusing and needless, I suggest "APIs" instead.
  • There should rather be something like "MediaWiki API" somewhere, otherwise how are people supposed to understand that the "action API" is not Wikimedia-specific and is documented on mediawiki.org?
  • "PHP action API" is confusing, people may think that it can only be used in PHP. If devs want to use the new name "action API", this can be done without prefixing it with "PHP".

--Nemo 08:25, 7 August 2015 (UTC)[reply]

Nemo, I just added a new version that uses just "APIs", as you suggested. I also removed the "PHP" prefix to leave just "Action API", and added a short sentence giving a hint on what each API is focused on. -- GWicke (talk) 03:37, 11 August 2015 (UTC)[reply]

mul[edit]

This text doesn't seem multilingual to me. --Nemo 08:26, 7 August 2015 (UTC)[reply]

Yeah, removed that too. -- GWicke (talk) 03:37, 11 August 2015 (UTC)[reply]

Request for Assistance[edit]

If possible, could someone help add a link to the app guidelines on this page https://meta.wikimedia.org/api/ (as it was to the dumps page). It would be great if a header was called "Legal" on the very bottom - and the sentence could say:

App Guidelines: [[1]] for developers on how to properly reuse Wikimedia data, API, trademarks, and other content.

Any help posting this would be greatly appreciated. If you have any questions, please feel free to email me at vbaranetsky@wikimedia.org —The preceding unsigned comment was added by VBaranetsky (WMF) (talk) 19:49, 3 September 2015

@VBaranetsky (WMF): Done: [2] Let me know if you want it tweaked. :) --Varnent (talk)(COI) 19:05, 9 November 2015 (UTC)[reply]

Update required to paths to the styles[edit]

Please sync the new version from https://meta.wikimedia.org/w/index.php?title=API_listing_template/temp&oldid=15832004 After https://phabricator.wikimedia.org/T141402 the paths to CSS served by RESTBase have changed, the ?doc query parameter is not needed any more. —The preceding unsigned comment was added by Pchelolo (talk) 21:03, 9 August 2016

Done by Krinkle in Special:Diff/16115361. PiRSquared17 (talk) 16:54, 9 August 2018 (UTC)[reply]

Category[edit]

Just asking if categories cannot be added after having found it at Special:UncategorizedPages.--Jusjih (talk) 19:14, 2 June 2019 (UTC)[reply]