Bugs item #3579646, was opened at 2012-10-23 21:53 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3579646...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: AleXXw () Assigned to: Nobody/Anonymous (nobody) Summary: Reading Templates within Templates
Initial Comment: Hi!
Pywikipedia is used to harvest the in-wiki monument lists to the monuments database. I noticed the Error https://bugzilla.wikimedia.org/show_bug.cgi?id=39973, the following lines are a copy of the existing bug:
Some values provided by headertemplates (ie 'Gemeinde' in Austrian lists) are not filled if there is a template part of any row parameter. Specific example:
http://de.wikipedia.org/wiki/Liste_der_denkmalgesch%C3%BCtzten_Objekte_in_Pf...
In article: {{Denkmalliste Österreich Tabellenkopf |Gemeinde = Pfons |Bezirk = Bezirk Innsbruck Land <...> }} {{Denkmalliste Österreich Tabellenzeile |Name = Friedhof mit Kapellen und Kleindenkmalen |Beschreibung = |ObjektID = 110694 <...> }} {{Denkmalliste Österreich Tabellenzeile |Name = Kath. Pfarrkirche Mariä Himmelfahrt |Beschreibung = {{Hauptartikel|Mariä-Himmelfahrt-Kirche (Pfons)}} |ObjektID = 64604 <...> }}
and in database: SELECT `objektid`, `name`, `gemeinde`, `bezirk` FROM `p_erfgoed_p`.`monuments_at_(de)` WHERE `objektid` = 110694 or `objektid` = 64604;
| objektid | name | gemeinde | bezirk | 110694 | Friedhof mit Kapellen<...> | Pfons | Bezirk Innsbruck Land | 64604 | Kath. Pfarrkirche Mar<...> | |
many other examples can be found by SELECT * FROM `p_erfgoed_p`.`monuments_at_(de)` WHERE `gemeinde` = '';
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3579646...
pywikipedia-bugs@lists.wikimedia.org