dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6931ce4
)
Merge "Made uploadLinksBox() use quickUserCan() to avoid title blacklist queries"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Fri, 11 Sep 2015 01:14:49 +0000
(
01:14
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 11 Sep 2015 01:14:49 +0000
(
01:14
+0000)
includes/page/ImagePage.php
patch
|
blob
|
history
diff --git
a/includes/page/ImagePage.php
b/includes/page/ImagePage.php
index
62dd1e3
..
43b12b2
100644
(file)
--- a/
includes/page/ImagePage.php
+++ b/
includes/page/ImagePage.php
@@
-709,7
+709,7
@@
EOT
$out->addHTML( "<ul>\n" );
# "Upload a new version of this file" link
- $canUpload = $this->getTitle()->
u
serCan( 'upload', $this->getContext()->getUser() );
+ $canUpload = $this->getTitle()->
quickU
serCan( 'upload', $this->getContext()->getUser() );
if ( $canUpload && UploadBase::userCanReUpload(
$this->getContext()->getUser(),
$this->mPage->getFile()->name )