On Tue, Aug 25, 2009 at 4:24 AM, Dmitriy Sintsov<questpc(a)rambler.ru> wrote:
Why this is being added only for redirects?
What else should it be added for?
I've tried to add the canonical link with
$WgOut->addLink() to
Article::view(), then the canonical link is not being displayed for
action=edit, for example. Then, placed it to Article::outputWikiText(),
the same behavior.
What purpose would a canonical link serve on action=edit?
What's the proper place for this code in
MediaWiki
1.11?
It's unlikely anyone else is going to spend time hunting through
nearly two-year-old code for you. Two-year-old code which, by the
way, very possibly has known, unpatched security vulnerabilities,
since it hasn't been supported in a year or so. If you're not willing
to upgrade for whatever reason, you'll probably have to figure this
kind of thing out yourself.