Page MenuHomePhabricator

query returns just one langlink for "Health"
Closed, ResolvedPublic

Description

Author: aaron

Description:
as of today this query does not get a complete set of langlinks back, only the chinese one.

http://en.wikipedia.org/w/api.php?action=query&redirects&prop=langlinks&titles=Health

<?xml version="1.0"?>
<api>

<query>
  <pages>
    <page pageid="80381" ns="0" title="Health">
      <langlinks>
        <ll lang="zh" xml:space="preserve">健康</ll>
      </langlinks>
    </page>
  </pages>
</query>

</api>


Version: unspecified
Severity: enhancement

Details

Reference
bz23336

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:02 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz23336.

Something's going wrong in the parser or LinksUpdate here. There's clearly a complete set of langlinks on the page, but only the Chinese one shows up in the database. Purging the page did not change this.

Possibly somehow related to the recent vandalism to that page that removed all but the zh interwiki - http://en.wikipedia.org/w/index.php?title=Health&action=historysubmit&diff=358374743&oldid=358374741

see bug 17154 or only the api rollback does not restore the pagelinks/interwiki links

Works after a [[:en:Wikipedia:Null edit]]

Seems to be working now. Most likely caused by bug 17154, duping to that.

  • This bug has been marked as a duplicate of bug 17154 ***