Use Special:MyLanguage in API help links

Bug: T231269
Change-Id: I76e1e257616d8e2a43bcbe9efadead71a09bb058
This commit is contained in:
DannyS712 2019-08-27 06:13:35 +00:00
parent c003ca5ecb
commit 0b237983b8
5 changed files with 5 additions and 5 deletions

View file

@ -107,6 +107,6 @@ class ApiEchoArticleReminder extends ApiBase {
} }
public function getHelpUrls() { public function getHelpUrls() {
return 'https://www.mediawiki.org/wiki/Echo_(Notifications)/API'; return 'https://www.mediawiki.org/wiki/Special:MyLanguage/Echo_(Notifications)/API';
} }
} }

View file

@ -123,6 +123,6 @@ class ApiEchoMarkRead extends ApiBase {
} }
public function getHelpUrls() { public function getHelpUrls() {
return 'https://www.mediawiki.org/wiki/Echo_(Notifications)/API'; return 'https://www.mediawiki.org/wiki/Special:MyLanguage/Echo_(Notifications)/API';
} }
} }

View file

@ -75,6 +75,6 @@ class ApiEchoMarkSeen extends ApiBase {
} }
public function getHelpUrls() { public function getHelpUrls() {
return 'https://www.mediawiki.org/wiki/Echo_(Notifications)/API'; return 'https://www.mediawiki.org/wiki/Special:MyLanguage/Echo_(Notifications)/API';
} }
} }

View file

@ -620,6 +620,6 @@ class ApiEchoNotifications extends ApiQueryBase {
} }
public function getHelpUrls() { public function getHelpUrls() {
return 'https://www.mediawiki.org/wiki/Echo_(Notifications)/API'; return 'https://www.mediawiki.org/wiki/Special:MyLanguage/Echo_(Notifications)/API';
} }
} }

View file

@ -210,6 +210,6 @@ class ApiEchoUnreadNotificationPages extends ApiQueryBase {
} }
public function getHelpUrls() { public function getHelpUrls() {
return 'https://www.mediawiki.org/wiki/Echo_(Notifications)/API'; return 'https://www.mediawiki.org/wiki/Special:MyLanguage/Echo_(Notifications)/API';
} }
} }