Dmitriy Sintsov wrote: > Why this is being added only for redirects? In one of my wiki (old v > 1.11) there's no such method showRedirectedFromHeader() in Article > class. 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's the proper place for this code in MediaWiki > 1.11? > > Can't update that wiki (patched code and many exotic extensions) just > yet. > Dmitriy
The proper fix would be to move your patched code, and update your exotic extensions so you can get up to date from now on, instead of patching it still more. _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
