echo $this->getMsg( $str )->escaped();
}
+ /**
+ * @param string $str
+ * @warning You should never use this method. I18n messages should be escaped
+ * @deprecated 1.32 Use ->msg() or ->msgWiki() instead.
+ * @suppress SecurityCheck-XSS
+ * @return-taint exec_html
+ */
function msgHtml( $str ) {
+ wfDeprecated( __METHOD__, '1.32' );
echo $this->getMsg( $str )->text();
}
* If you pass "flat" as an option then the returned array will be a flat array
* of footer icons instead of a key/value array of footerlinks arrays broken
* up into categories.
- * @param string $option
+ * @param string|null $option
* @return array|mixed
*/
function getFooterLinks( $option = null ) {
* in the list of footer icons. This is mostly useful for skins which only
* display the text from footericons instead of the images and don't want a
* duplicate copyright statement because footerlinks already rendered one.
- * @param string $option
+ * @param string|null $option
* @return array
*/
function getFooterIcons( $option = null ) {