* (bug 44740) jQuery upgraded from 1.8.3 to 1.11.1.
=== Bug fixes in 1.24 ===
+* (bug 49116) Footer copyright notice is now always displayed in user language
+ rather than content language (same as copyright notice for editing interface).
* (bug 62258) A bug was fixed in File::getUnscaledThumb when a height
restriction was present in the parameters. Images with both the "frame"
option and a size specification set will now always ignore the provided
message must be in HTML format, not wikitext!
&$link: overridable HTML link to be passed into the message as $1
&$forContent: overridable flag if copyright footer is shown in content language.
+ This parameter is deprecated.
'SkinGetPoweredBy': TODO
&$text: additional 'powered by' icons in HTML. Note: Modern skin does not use
}
// Allow for site and per-namespace customization of copyright notice.
+ // @todo Remove deprecated $forContent param from hook handlers and then remove here.
$forContent = true;
wfRunHooks(
array( $this->getTitle(), $type, &$msg, &$link, &$forContent )
);
- $msgObj = $this->msg( $msg )->rawParams( $link );
- if ( $forContent ) {
- $msg = $msgObj->inContentLanguage()->text();
- if ( $this->getLanguage()->getCode() !== $wgContLang->getCode() ) {
- $msg = Html::rawElement( 'span', array(
- 'lang' => $wgContLang->getHtmlCode(),
- 'dir' => $wgContLang->getDir()
- ), $msg );
- }
-
- return $msg;
- } else {
- return $msgObj->text();
- }
+ return $this->msg( $msg )->rawParams( $link )->text();
}
/**