dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d69d4a9
)
Fix typo in ApiQueryRevisions
author
Kunal Mehta
<legoktm@gmail.com>
Thu, 30 Jan 2014 19:36:53 +0000
(11:36 -0800)
committer
Reedy
<reedy@wikimedia.org>
Thu, 30 Jan 2014 19:38:55 +0000
(19:38 +0000)
Bug: 60635
Change-Id: Icd04ad8e5faaa4cb49a84e2002c953ef9f436cc7
includes/api/ApiQueryRevisions.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryRevisions.php
b/includes/api/ApiQueryRevisions.php
index
bd5c512
..
65cb16d
100644
(file)
--- a/
includes/api/ApiQueryRevisions.php
+++ b/
includes/api/ApiQueryRevisions.php
@@
-147,7
+147,7
@@
class ApiQueryRevisions extends ApiQueryBase {
if ( !$difftoRev ) {
$this->dieUsageMsg( array( 'nosuchrevid', $params['diffto'] ) );
}
- if ( !$diff
T
oRev->userCan( Revision::DELETED_TEXT, $this->getUser() ) ) {
+ if ( !$diff
t
oRev->userCan( Revision::DELETED_TEXT, $this->getUser() ) ) {
$this->setWarning( "Couldn't diff to r{$difftoRev->getID()}: content is hidden" );
$params['diffto'] = null;
}