Page MenuHomePhabricator

dewiki: Wrong template inclusions listed on page creation, database fix needed
Closed, ResolvedPublic

Description

Hi,

there are some broken entries in the templatelink table:

mysql> SELECT * FROM templatelinks WHERE tl_from <= 0;
+---------+--------------+------------------------------------------+

tl_fromtl_namespacetl_title

+---------+--------------+------------------------------------------+

010Classis
010Familia
010Genus
010Gesprochen
010Navigationsleiste_GFM
010Navigationsleiste_ohne_Bild
010Ordo
010Phylum
010Seria
010Species
010Subclassis
010Subphylum
010Superfamilia
010Superordo
010Taxonomy
0100Lebewesen/Artikel_der_Woche
0100Lebewesen/Neue_Artikel
0100Lebewesen/Neue_Bilder
0100Lebewesen/Ungeschriebene_Artikel
0100Lebewesen/Vorschläge_exzellente_Artikel
0100Lebewesen/Vorschläge_exzellente_Bilder

+---------+--------------+------------------------------------------+
21 rows in set (0.00 sec)

Please delete them:

DELETE FROM templatelinks WHERE tl_from = 0;

Thanks
Hendrik


Version: unspecified
Severity: normal
URL: http://de.wikipedia.org/wiki/Wikipedia:Fragen_zur_Wikipedia#Folgende_Vorlagen_werden_von_diesem_Artikel_verwendet:

Details

Reference
bz5161

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:08 PM
bzimport set Reference to bz5161.
bzimport added a subscriber: Unknown Object (MLST).

Still don't know what causes such entries to show up in the db.

The display was a regression; it had previously been fixed for pagelinks use, as I
recall. Fixed now in CVS HEAD for Article::getUsedTemplates().