* @param User $user
* @param string $password
* @since 1.27
+ * @deprecated since 1.33
* @return Status
* @see $wgPopularPasswordFile
*/
global $wgPopularPasswordFile, $wgSitename;
$status = Status::newGood();
if ( $policyVal > 0 ) {
+ wfDeprecated( __METHOD__, '1.33' );
+
$langEn = Language::factory( 'en' );
$passwordKey = $langEn->lc( trim( $password ) );