Last modified: 2008-09-26 08:43:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 15731 - Categorylinks table not populating correctly
Categorylinks table not populating correctly
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-26 07:48 UTC by MZMcBride
Modified: 2008-09-26 08:43 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MZMcBride 2008-09-26 07:48:01 UTC
http://en.wikipedia.org/w/api.php?action=query&prop=links&titles=10.5%20(TV%20miniseries)&pllimit=500&plnamespace=14

That query is listing links to category pages for this page: http://en.wikipedia.org/w/index.php?title=10.5_(TV_miniseries)&oldid=240036162

However, after running the page through ExpandTemplates, it is somewhat apparent that the categorylinks table isn't being properly used. The output looks like: [[Category:All articles with unsourced statements]][[Category:Articles with unsourced statements since March 2007]]

Those links indicate that the links would go in the categorylinks table, however, oddly, the second category seems to be being put in the pagelinks table. This is a fairly common quirk on the English Wikipedia.
Comment 1 Tim Starling 2008-09-26 08:01:55 UTC
The API output is:

<?xml version="1.0" encoding="utf-8"?>
<api>
  <query>
    <pages>
      <page pageid="640040" ns="0" title="10.5 (TV miniseries)">
        <links>
          <pl ns="14" title="Category:Articles with unsourced statements since March 2007" />
          <pl ns="14" title="Category:Film articles needing expert attention" />
        </links>
      </page>
    </pages>
  </query>
</api>

The article text is said to not contain any initial-colon category links.
Comment 2 Tim Starling 2008-09-26 08:43:25 UTC
The links in question are added by #ifexist. This is expected.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links