https://bugzilla.wikimedia.org/show_bug.cgi?id=63926
Bug ID: 63926
Summary: PHP shims for JSON i18n files are unnecessarily loaded
Product: MediaWiki
Version: 1.23-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Internationalization
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
From Adrian Lang's email to wikitech-l
<http://www.gossamer-threads.com/lists/wiki/wikitech/452196>:
> * The shims for $wgExtensionMessagesFiles as generated by
> maintenance/generateJsonI18n.php register a handler for the hook
> LocalisationCacheRecache when included
That is true even in 1.23; LocalisationCache still includes the shims to get
non-message data "For backwards compatibility [...] Variables other than
$messages still need to be supported though.".
However, in practice, non-message data are contained in separate files; it is
unnecessary to load the shims.
--
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