On 25 August 2011 10:47, Andre Engels andreengels@gmail.com wrote:
But the problem is more difficult than that. MediaWiki has no chance of knowing which templates are “necessary for it to work properly”, it can only detect those that are _actually used_ in a specific use case (as you say, those which are shown on the edit page), which is just a subset of those required in general.
No, but it does at least mean that exporting and importing any single template should be possible in a very short time indeed.
Well… no, generally not. Check for instance {{flagicon}}. There is no way Special:Export could recognize it is required to export all 2556 (!) templates in [[Special:Prefixindex/Template:Country data]].
Of course, this does help for “simpler” template systems.
-- Petr Kadlec / Mormegil