dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "API: Allow to pass whitespaces in MultiValue"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiWatch.php
diff --git
a/includes/api/ApiWatch.php
b/includes/api/ApiWatch.php
index
88aff41
..
38be178
100644
(file)
--- a/
includes/api/ApiWatch.php
+++ b/
includes/api/ApiWatch.php
@@
-1,9
+1,5
@@
<?php
/**
<?php
/**
- *
- *
- * Created on Jan 4, 2008
- *
* Copyright © 2008 Yuri Astrakhan "<Firstname><Lastname>@gmail.com",
*
* This program is free software; you can redistribute it and/or modify
* Copyright © 2008 Yuri Astrakhan "<Firstname><Lastname>@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 );
foreach ( $pageSet->getMissingTitles() as $title ) {
$r = $this->watchTitle( $title, $user, $params );
- $r['missing'] =
1
;
+ $r['missing'] =
true
;
$res[] = $r;
}
$res[] = $r;
}
@@
-183,6
+179,6
@@
class ApiWatch extends ApiBase {
}
public function getHelpUrls() {
}
public function getHelpUrls() {
- return 'https://www.mediawiki.org/wiki/API:Watch';
+ return 'https://www.mediawiki.org/wiki/
Special:MyLanguage/
API:Watch';
}
}
}
}