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
Fix inconsistent capitalization of different method calls
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiTag.php
diff --git
a/includes/api/ApiTag.php
b/includes/api/ApiTag.php
index
7470ff3
..
c9f6db3
100644
(file)
--- a/
includes/api/ApiTag.php
+++ b/
includes/api/ApiTag.php
@@
-37,9
+37,9
@@
class ApiTag extends ApiBase {
}
// Check if user can add tags
}
// Check if user can add tags
- if (
count( $params['tags'] )
) {
+ if (
$params['tags']
) {
$ableToTag = ChangeTags::canAddTagsAccompanyingChange( $params['tags'], $user );
$ableToTag = ChangeTags::canAddTagsAccompanyingChange( $params['tags'], $user );
- if ( !$ableToTag->isO
k
() ) {
+ if ( !$ableToTag->isO
K
() ) {
$this->dieStatus( $ableToTag );
}
}
$this->dieStatus( $ableToTag );
}
}
@@
-187,6
+187,6
@@
class ApiTag extends ApiBase {
}
public function getHelpUrls() {
}
public function getHelpUrls() {
- return 'https://www.mediawiki.org/wiki/API:Tag';
+ return 'https://www.mediawiki.org/wiki/
Special:MyLanguage/
API:Tag';
}
}
}
}