X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiWatch.php;h=38be178bddaa4dedcf138ede56f8c57590403513;hb=3fedcc76716b2fd15e8b992d5c72b848d891b5f7;hp=88aff4154ec191d285e7d7c90188ea1dc5aab841;hpb=3a2853e218acb586a00f2e59638de4176aee287f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiWatch.php b/includes/api/ApiWatch.php index 88aff4154e..38be178bdd 100644 --- a/includes/api/ApiWatch.php +++ b/includes/api/ApiWatch.php @@ -1,9 +1,5 @@ @gmail.com", * * This program is free software; you can redistribute it and/or modify @@ -60,7 +56,7 @@ class ApiWatch extends ApiBase { foreach ( $pageSet->getMissingTitles() as $title ) { $r = $this->watchTitle( $title, $user, $params ); - $r['missing'] = 1; + $r['missing'] = true; $res[] = $r; } @@ -183,6 +179,6 @@ class ApiWatch extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Watch'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Watch'; } }