Merge "User: Avoid deprecated Linker::link()"
[lhc/web/wiklou.git] / includes / api / ApiResetPassword.php
index b5fa8ed..7783826 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Copyright © 2016 Brad Jorsch <bjorsch@wikimedia.org>
+ * Copyright © 2016 Wikimedia Foundation and contributors
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -43,11 +43,11 @@ class ApiResetPassword extends ApiBase {
                return $this->hasAnyRoutes;
        }
 
-       protected function getDescriptionMessage() {
+       protected function getExtendedDescription() {
                if ( !$this->hasAnyRoutes() ) {
-                       return 'apihelp-resetpassword-description-noroutes';
+                       return 'apihelp-resetpassword-extended-description-noroutes';
                }
-               return parent::getDescriptionMessage();
+               return parent::getExtendedDescription();
        }
 
        public function execute() {
@@ -134,6 +134,6 @@ class ApiResetPassword extends ApiBase {
        }
 
        public function getHelpUrls() {
-               return 'https://www.mediawiki.org/wiki/API:Manage_authentication_data';
+               return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Manage_authentication_data';
        }
 }