https://bugzilla.wikimedia.org/show_bug.cgi?id=29274
Web browser: --- Bug #: 29274 Summary: Message class ignores $wgForceUIMsgAsContentMsg Product: MediaWiki Version: 1.17 Platform: All OS/Version: All Status: NEW Severity: normal Priority: Unprioritized Component: Internationalization AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: platoni...@gmail.com Blocks: 26676 Classification: Unclassified wfMessage('mainpage')->inContentLanguage() always gives the content language, even if it is overrriden by $wgForceUIMsgAsContentMsg php maintenance/eval.php > $wgContLang = Language::factory('en'); > $wgLang = Language::factory('fr'); > $wgForceUIMsgAsContentMsg[] = 'mainpage'; > echo wfMsgForContent('mainpage'); Accueil > echo wfMessage('mainpage')->inContentLanguage()->text(); Main Page -- 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