Page MenuHomePhabricator

Action API module GeoSearch documentation is not available for transclusion via Special:ApiHelp on MediaWiki
Open, Needs TriagePublic

Description

GeoSearch module documentation is available for transclusion via Special: ApiHelp on Wikipedia:
https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bgeosearch

But, the same is not true for MediaWiki (
https://www.mediawiki.org/w/api.php?action=help&modules=query%2Bgeosearch results in badmodule error)

Not sure why, but I'm wondering if it has something to do with the fact that GeoData extension is not installed on MediaWiki..

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 15 2018, 12:10 AM
srishakatux updated the task description. (Show Details)Aug 15 2018, 12:10 AM
srishakatux updated the task description. (Show Details)
Reedy added a subscriber: Reedy.EditedAug 15 2018, 12:13 AM

Not sure why, but I'm wondering if it has something to do with the fact that GeoData extension is not installed on MediaWiki..

Exactly the reason :)

https://www.mediawiki.org/wiki/Special:Version

What're you trying to do?

@Reedy Okay, make sense :)

In the process of improving API docs as part of T198916 and using Special:ApiHelp to embed API docs on module pages.

Anomie moved this task from Unsorted to Non-Code on the MediaWiki-API board.Aug 15 2018, 12:46 AM
Reedy added a comment.Aug 15 2018, 1:45 PM

You'll probably have the same problem with other extensions, eventually. Though, if they're enabled on WMF wikis, we can probably enable it elsewhere (such as mediawiki.org) if necessary