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

       Web browser: ---
             Bug #: 41493
           Summary: Title::getPageViewLanguage bypasses
                    PageContentLanguage hook.
           Product: MediaWiki
           Version: 1.21-git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentHandler
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Title::getPageViewLanguage() now calls Content::getPageViewLanguage(), which in
turn calls Content::getPageLanguage(). Title::getPageLanguage() is not called,
and thus the PageContentLanguage hooks is bypassed.

The proposed solution is to move the PageContentLanguage from
Title::getPageLanguage() to Content::getPageLanguage().

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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