No geo coordinates for articles of Armenian Wikipedia through Wiki API խմբագրել

Hi all, sorry for writing in English, but i am still in beginner state with Armenian.

Currently I am working on a ticket related to Armenian Wikipedia https://phabricator.wikimedia.org/T89703. It seems that Armenian Wiki does no return geo coordiantes even if they are included in the related article, e. g. for Yerevan https://hy.wikipedia.org/w/api.php?action=query&prop=coordinates&format=xml&colimit=10&titles=Երևան while e. g. https://en.wikipedia.org/w/api.php?action=query&prop=coordinates&format=xml&colimit=10&titles=Yerevan works. I assume that this is due to the missing use of the GeoData parser function ''{{#coordinates:}}''.Could some please fix that because it breakes all applications that use geo-coded article such as Wikipedia app for mobile phones. Thanks for your cooperation. --Arnd (քննարկում) 06:14, 23 Օգոստոսի 2015 (UTC)Պատասխանել

Կարծում եմ, եթե կաղապարը ձևափոխենք Ռուսերեն Վիքիպեդիայի օրինակով, խնդիրը կլուծվի:
<includeonly>{{#invoke:Coordinates|coord}}<!-- см. mw:Extension:GeoData →
-->{{#coordinates:{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}
|{{#switch:{{{display|}}}
 |inline,title
 |title,inline
 |title={{#if:{{NAMESPACE}}||primary}}
 |#default=
 }}
|name={{{name|}}}
}}</includeonly><noinclude>{{doc}}</noinclude>

--ԱշոտՏՆՂ (քննարկում) 22:15, 7 Սեպտեմբերի 2015 (UTC)Պատասխանել

Return to "Coord" page.