Last modified: 2009-09-09 17:14:20 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 T22562, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20562 - Article template list is not always complete
Article template list is not always complete
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.16.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
https://sourceforge.net/tracker/?func...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-09 11:15 UTC by Kelson [Emmanuel Engelhart]
Modified: 2009-09-09 17:14 UTC (History)
2 users (show)

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


Attachments

Description Kelson [Emmanuel Engelhart] 2009-09-09 11:15:13 UTC
Take a look to the "San Francisco" article in the Wikipedia in Italian:
http://it.wikipedia.org/w/index.php?title=San_Francisco&action=edit

In the template list, you can see that this article needs the template "Template:Città/USA".
The parameter "stato=USA" in the "Template:Città" is responsible for this inclusion.

But if you change "USA" by "4242", the article will not show the "Template:Città/4242" in red... so it will not possible to detect that this specific template is missing. We will have in place a red link "Template:4242" which is totally wrong.

I think the correct result in the template list should be:
* without a red link "Template:4242"
* with a red link "Template:Città/4242"
Comment 1 Roan Kattouw 2009-09-09 12:05:57 UTC
The behavior is correct. Passing |stato=4242 does indeed try to transclude [[Template:4242]] (look at the red link in the infobox), because [[Template:Città]] uses an {{#ifexist: to determine that [[Template:Città/4242]] does not exist and does something different as a result.
Comment 2 Kelson [Emmanuel Engelhart] 2009-09-09 17:14:20 UTC
You are right, thank you for your help and sorry for the noise.

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


Navigation
Links