https://bugzilla.wikimedia.org/show_bug.cgi?id=46136

       Web browser: ---
            Bug ID: 46136
           Summary: Inconsistent results on prop=langlinks
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

When I try to use
https://en.wikipedia.org/w/api.php?action=query&prop=langlinks&lllang=pt&generator=categorymembers&generator=categorymembers&gcmtitle=Category%3ALua-based%20templates&gcmlimit=53
I get no "pt" link for [[Template:Str index]]:
      <page pageid="21696794" ns="10" title="Template:Str index" />
while if I use
http://en.wikipedia.org/w/api.php?action=query&prop=langlinks&lllang=pt&generator=categorymembers&generator=categorymembers&gcmtitle=Category%3ALua-based%20templates&gcmlimit=50&gcmcontinue=page|5354522046494e4430|31624801
I get the link I want:
      <page pageid="21696794" ns="10" title="Template:Str index">
        <langlinks>
          <ll lang="pt" xml:space="preserve">Predefinição:Str index</ll>
        </langlinks>
      </page>

Notice it is in the page since 2009:
https://en.wikipedia.org/w/index.php?title=Template:Str_index/doc&diff=332041495&oldid=319730220

I'm also able to get the link from
http://en.wikipedia.org/w/api.php?action=query&prop=langlinks&format=jsonfm&lllang=pt&titles=Template:Str%20index

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to