On 25 August 2011 08:28, Andre Engels andreengels@gmail.com wrote:
On Sat, Aug 20, 2011 at 11:31 PM, go moko gomoko@yahoo.com wrote:
So, if I can express some simple opinion, perhaps what would be useful is a mean to easily export/import a template and all those which are necessary for it to work properly. I don't know if such a tool exist, but could it bea (partial) solution?
This should not be too hard to program - what is needed is that one exports/imports not only the template but also all templates included in it. There is already functionality to get this list - they are shown on the edit page. Thus, all that is needed is some kind of interface to "export this page and all templates directly or indirectly included in it".
You mean like… checking the “Include templates” box on Special:Export?
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.
-- [[cs:User:Mormegil | Petr Kadlec]]