User:APaskulin (WMF)/Sandbox

Last updated: -- by User:

Example of a wikifeeds API call with today's date
 https://en.wikipedia.org/api/rest_v1/feed/featured/2024/August/ https://fa.wikipedia.org/api/rest_v1/feed/featured/2024/August/ https://bn.wikipedia.org/api/rest_v1/feed/featured/2024/August/ https://ja.wikipedia.org/api/rest_v1/feed/featured/2024/August/ https://de.wikipedia.org/api/rest_v1/feed/featured/2024/August/
 * 1) Get today's featured content on English Wikipedia
 * 1) Get today's featured content on Persian Wikipedia
 * 1) Get today's featured content on Bengali Wikipedia
 * 1) Get today's featured content on Japanese Wikipedia
 * 1) Get today's featured content on German Wikipedia

Feed endpoints language support
https://wikimedia.org/api/rest_v1/feed/availability

Language support for on this day content
= Label testing =

 Abc Label

= Category tree testing =

= Extension testing =

The WikimediaApiPortalOAuth extension is designed to connect the API Portal with the OAuth server on Wikimedia Meta-Wiki. It provides a user interface to create and manage OAuth 2.0 clients.

Configuration
On the API Portal wiki, set  to the URL for rest.php on Meta-Wiki.

To allow WikimediaApiPortalOAuth to make requests to the OAuth server, set  to true on Meta-Wiki.

Usage
To create and manage OAuth 2.0 clients, use the Special:AppManagement page. The extension provides a limited set of options for new clients:


 * owner-only clients
 * clients with authorization code, client credentials, and refresh token grant types

And a limited set of scopes:


 * Read-only: basic
 * Read/write: basic, createeditmovepage, editprotected