return $round ? round( $ret, $acc ) . '%' : "$ret%";
}
-/**
- * Encrypt a username/password.
- *
- * @param $userid Integer: ID of the user
- * @param $password String: password of the user
- * @return String: hashed password
- * @deprecated since 1.13 Use User::crypt() or User::oldCrypt() instead
- */
-function wfEncryptPassword( $userid, $password ) {
- wfDeprecated(__FUNCTION__);
- # Just wrap around User::oldCrypt()
- return User::oldCrypt( $password, $userid );
-}
-
/**
* Appends to second array if $value differs from that in $default
*
return self::makeKnownLinkObj( $nt, $text, $query, $trail, $prefix, '', $style );
}
- /** Obsolete alias */
- static function makeImage( $url, $alt = '' ) {
- wfDeprecated( __METHOD__ );
- return self::makeExternalImage( $url, $alt );
- }
-
/**
* Creates the HTML source for images
* @deprecated since 1.16 use makeImageLink2