https://bugzilla.wikimedia.org/show_bug.cgi?id=21173

           Summary: The CanonicalHref extension does not work with mediawiki
                    1.16svn
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: Normal
         Component: [other]
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: b...@exotica.org.uk


The CanonicalHref extension

http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/CanonicalHref/CanonicalHref.php

does not work with the 1.16svn skins. Attached is a patch that makes it work on
my system. Changed the hook and used wgOut->addLink instead of

$template->set('headlinks', $template->data['headlinks'] . "\n" . $link .
"\n");

Not sure if this is the correct way, but seems to be more compatible than
adding \n$link\n to the end of a template section.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to