Last modified: 2010-05-15 15:29:40 UTC
secureAndSplit() assume that a given link with an initial colon is part of the MAIN namespace. This might be false in some occasion, for example one might want to create a link to a template: {{:mytemplate}} This will render as a link to [[mytemplate]] instead of [[template:mytemplate]]. I am coding a patch for this.
I don't understand what the bug is supposed to be. {{:mytemplate}} will indeed import [[Mytemplate]] rather than [[Template:Mytemplate]], so the link is correct. (You can import a template from any namespace by specifying it explicitly; Template is just the default, there to separate the common cases of templates in a sensible fashion.)
Forget me. For the last 3 hours I made the assumption that we could only import articles from the template namespace ... Additionaly I made an error in my testing page that I just figured out. Closing things.