MediaWiki discusión:Gadget-WikiProject.js

Último comentario: hace 11 días por Isaac (WMF) en el tema Nueva recommendation API

Nueva recommendation API

editar

Hola @Sophivorus: we are deprecating the recommend.wmflabs endpoint (MediaWiki:Gadget-WikiProject.js#L-194) in favor of a new one hosted on the API Gateway. This will likely happen by July 15th (details: https://phabricator.wikimedia.org/T367549). It should be a simple fix that's just a new URL and param names but otherwise the same response schema/logic. You can see a code example here: https://en.wikipedia.org/wiki/User:Isaac_(WMF)/wp_testing.js. Let me know if you run into any issues migrating or have other questions.

En español (Google Translate con algunos cambios):

Estamos desaprobando el API recommend.wmflabs (MediaWiki:Gadget-WikiProject.js#L-194) en favor de uno nuevo en API Gateway. Es probable que esto suceda antes del 15 de julio (detalles: https://phabricator.wikimedia.org/T367549). Debería ser una solución simple que sea solo una nueva URL y nombres de parámetros, pero por lo demás el mismo esquema/lógica de respuesta. Puede ver un ejemplo de código aquí: https://en.wikipedia.org/wiki/User:Isaac_(WMF)/wp_testing.js. Avíseme si tiene algún problema al migrar o si tiene otras preguntas. Isaac (WMF) (discusión) 14:26 18 jun 2024 (UTC)Responder

@Isaac (WMF) Hi! I just updated the endpoint and param names in WikiProject.js and everything seems to be working fine. Thanks for the heads up!! Sophivorus (discusión) 14:56 18 jun 2024 (UTC)Responder
Thanks for the quick fix and confirmation! Glad it was indeed simple :) Isaac (WMF) (discusión) 15:07 18 jun 2024 (UTC)Responder
Volver a la página «Gadget-WikiProject.js».