https://bugzilla.wikimedia.org/show_bug.cgi?id=26138
Summary: Replace {{SITENAME}} with $1 and appropriate call to $wgSiteName Product: MediaWiki Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: Internationalization AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: theevilipaddr...@hotmail.de In the software, some system messages use the magic word {{SITENAME}}, though in cases of widely used messages, like for example [[MediaWiki:Tagline]] or [[MediaWiki:Tooltip-search]], it is generally recommended to replace the magic word locally with the actual sitename because the parsing is quite difficult. Now I'm wondering, since {{SITENAME}} generally always displays the value of global $wgSiteName, if it might not be easier to directly give the $wgSiteName variable to the wfMsg() functions in the software, instead of having to get the message through the parser, where the call to $wgSiteName will have to happen anyway. So, for example, a message like "From {{SITENAME}}" would b changed to "From $1", looking in the software like that (correct me if I'm wrong): wfMsgExt( 'tagline', 'parse') -> wfMsg('tagline', $wgSiteName). -- 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