Jintaku / Jintaku-Cogs-V3

V3 Cogs made by the Jintaku community
GNU Affero General Public License v3.0
39 stars 38 forks source link

[Wikia] ALERT! Fandom subdomains migrating to UCP #44

Open owocado opened 3 years ago

owocado commented 3 years ago

Announcement Blog Post: https://community.fandom.com/wiki/User_blog:MisterWoodhouse/Unified_Community_Platform:_The_Vision,_Purpose,_and_Process Help info article: https://dev.fandom.com/wiki/Help:UCP

It is estimated that all Fandom wiki subdomains will be migrated over to UCP in few weeks or upcoming months slowly. When that happens, the wikia cog will stop working properly because new UCP uses newer version of Media Wiki engine (v1.33.3) which uses different API endpoints. The wikia cog will, hence, require a rewrite to fetch info about wiki articles from new API endpoints. In any case, I thought I would open an issue for general awareness.

lionirdeadman commented 3 years ago

Ah... that is a problem, yeah. If you could link the valid API docs, that'd be useful to future me.

owocado commented 3 years ago

The API docs are kinda sparse because you can basically use/apply the latest MediaWiki API methods with new Fandom API since the UCP based wikias will utilise the same. The endpoint is https://{wikia_subdomain_name}.fandom.com/api.php

You can go to any wikia which has been migrated to UCP (MediaWiki v1.33.3) by using above endpoint URL and poke with the parameters/actions it shows you. For example, https://towerofgod.fandom.com/api.php