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

       Web browser: ---
            Bug ID: 51455
           Summary: Add <link rel="canonical"> to $wgCanonicalServer when
                    the accessed server is not canonical
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Skin and page rendering
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Maybe in Article.php:

$outputPage->setCanonicalUrl( $this->getTitle()->getLocalURL() );

should be replaced with:

$outputPage->setCanonicalUrl( $this->getTitle()->getCanonicalURL() );

at the same time.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to