Last modified: 2008-03-18 07:29:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12519 - Template parameters ignored during transclusion in special pages
Template parameters ignored during transclusion in special pages
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.11.x
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ksh.wikipedia.org/wiki/Schablo...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-05 18:19 UTC by Purodha Blissenbach
Modified: 2008-03-18 07:29 UTC (History)
2 users (show)

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


Attachments

Description Purodha Blissenbach 2008-01-05 18:19:57 UTC
Templates can be used in content in the MediWiki name space.
When MediaWiki pages are shown, templates work as usual.

But when e.g. MediaWiki:Allpages-summary is being used to be transcluded in Special:Allpages, a template being used inside is transcluded, but all its parameters are ignored.
The same seems to happen with all other such instances I tried so far.

This is of very limited usability.

For the goal I was trying to reach, at least one template parameter should be passed in order for the template approach to be useful.

Current behaviour may be simply an error, or a somewhat odd feature motivated by some sort of idea of saving processing time.

I agree that, transcluding a template with "{{subs:...}}" would be less ressource intensive, and indeed was almost fine for what I intend to do. Only when the template is updated, should MediaWiki messages be altered, that use it. E.g. the sample one http://ksh.wikipedia.org/wiki/Schablon:Navvi_Wikkipedijas_Allwould have to be changed whenever a new Wikipedia is created or removed. Maybe templates could be used inside the MediaWiki name space with full parameter substitution, but with some rigid caching that only updates the cache per job queue after a template was changed?
Comment 1 Niklas Laxström 2008-03-16 09:37:28 UTC
Has this been fixed already? I tried to look where that template is used and it seemed to work fine.
Comment 2 Brion Vibber 2008-03-17 22:20:17 UTC
This was mostly fixed with various exciting changes in 1.12 and use of new handy functions. Going to mark it as fixed; for specific issues still found, raise new bugs.
Comment 3 Purodha Blissenbach 2008-03-18 07:29:45 UTC
I made few quick lookups. Template use with parameter substitution seemed to work as intended in 2 cases of the 4 that I tried. I am going to more thoroughly inspect results, and file (a) new bug(s) for the cases not working.

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


Navigation
Links