Last modified: 2009-07-25 20:26:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20680, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18680 - pagelinks database table contains interwiki links
pagelinks database table contains interwiki links
Status: RESOLVED DUPLICATE of bug 19814
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.15.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-04 16:02 UTC by Byrial Jensen
Modified: 2009-07-25 20:26 UTC (History)
2 users (show)

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


Attachments

Description Byrial Jensen 2009-05-04 16:02:22 UTC
When interwiki links are made with the [[FIle:{Filename}|link={linktext}]] syntax, it seems that they are included in the pagelinks table which only should contain internal links.

An example is the template [[Mal:Commons]] at the Norwegian (Bokmål) Wikipedia (http://no.wikipedia.org/w/index.php?title=Mal:Commons&oldid=5457845).

It contains the text: [[Fil:Commons-logo.svg|14px|Commons|link=commons:Hovedside]], and the pagelinks table contains a false entry for a link to "Hovedside" in namespace 0:

It looks like this on the toolserver:
mysql> use nowiki_p
Database changed
mysql> select pl_namespace, pl_title from pagelinks join page on pl_from = page_id where page_namespace = 10 and page_title = "Commons";
+--------------+----------------------------------+
| pl_namespace | pl_title                         |
+--------------+----------------------------------+
|            0 | Hovedside                        |
  ...
  ... Other entries removed ...
  ...
+--------------+----------------------------------+
44 rows in set (0.04 sec)

mysql>
Comment 1 Splarka 2009-05-04 16:10:58 UTC
Possibly related to the fixes for bug 16158 and bug 16162 ?
Comment 2 Alexandre Emsenhuber [IAlex] 2009-07-25 20:26:28 UTC

*** This bug has been marked as a duplicate of bug 19814 ***

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


Navigation
Links