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

           Summary: Messages do not work in 1.15.1 <= MediaWiki < 1.16
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: code-update-regression, easy, i18n
          Severity: normal
          Priority: Normal
         Component: Maps
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created attachment 8097
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8097
Fix for version check

In the latest version of the Maps extension, none of the messages work properly
in MediaWiki 1.15.x -- instead, only "<string-id>" is inserted into the page
(e.g. "<maps-error-invalid-layerdef>".)

After spending a decent chunk of time tearing my hair out, I tracked down the
problem to the version check in Maps.php that checks for version 1.16 -- it
incorrectly excludes MediaWiki 1.15.x where x > 0.  The attached patch fixes
the logic.

-- 
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