Closed Nakilon closed 3 years ago
Category URL is not a property for that API action: https://www.mediawiki.org/w/api.php?action=help&modules=query%2Ballcategories
I didn't ask if it's a property of that API action. Seems like you just don't know the answer. Ok.
You can build the URL accurately using siteinfo queries (specifically get_server and get_article_path), but there isn't a way to return full URLs directly from query methods that return article names.
Thank you.
So I get categories as Strings like this:
Now how do I get the URL for a category? Instead of building the "https://..." string manually.