https://bugzilla.wikimedia.org/show_bug.cgi?id=69916
Bug ID: 69916 Summary: Namespacing templates Product: MediaWiki extensions Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Mantle Assignee: wikibugs-l@lists.wikimedia.org Reporter: jrob...@wikimedia.org CC: jrob...@wikimedia.org, sp...@wikimedia.org Web browser: --- Mobile Platform: --- Currently two extensions could register the following RL modules 'ext.foo' => array( 'templates' => 'common.template' ); 'ext.bar' => array( 'templates' => 'common.template' ); Both would be registered as common.template, e.g name of template would be registered based on filename, and cause the throwing of an exception. ( On the JavaScript side we call mw.mantle.template.get( 'common.template' ) - this would not know which template to use.) We should namespace these templates better e.g. mw.mantle.template.get( 'ext.foo/common.template' ) mw.mantle.template.get( 'ext.bar/common.template' ) -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l