Last modified: 2008-03-18 07:29:45 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?
Has this been fixed already? I tried to look where that template is used and it seemed to work fine.
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.
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.