[Mediawiki-l] Problem upgrading from 1.4beta6 to rc1 and MediaWiki:XXX navigation

Rowan Collins rowan.collins at gmail.com
Sun Feb 27 19:22:47 UTC 2005


On Sat, 26 Feb 2005 15:52:58 -0500, Doug Fields
<dfields-mediawiki-200502 at pexicom.com> wrote:

> What is the reason for this? Would there be any problem if I simply put
> a "return;" at the beginning of that moveCustomMessages() method prior
> to upgrading again later? Is there a way I can tell the
> wgNavigationLinks to use the Template:XXX instead? I thought the
> Template:XXX was for use in {{Templates}}.

I presume this is a throwback to when, pre-1.3, the MediaWiki
namespace could be used for custom templates as well as the interface
messages (using {{msg:foo}}). In 1.3, the fully-featured template
system was implemented (with parameters, {{foo}} instead of
{{msg:foo}}, etc) and all these custom messages had to be moved into
the new Template: namespace.

What I don't know is why that method would be called when the version
upgraded from was already post-1.3 - possibly nobody got round to
taking it out (or making it conditional on version) and it just wasn't
a problem very often, because $wgNavigationLinks is probably the first
genuine purpose for custom MediaWiki: messages now templates are
seperate.

In short, yes, you should be able to just comment that out.

-- 
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list