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

           Summary: pagelinks database table contains interwiki links
           Product: MediaWiki
           Version: 1.15-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Database
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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>


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to