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:
c0ce94c
)
Made uploadLinksBox() use quickUserCan() to avoid title blacklist queries
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 11 Sep 2015 00:57:29 +0000
(17:57 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 11 Sep 2015 00:57:29 +0000
(17:57 -0700)
Change-Id: I48347acfa70020313d6860d95bc9f286ced9400b
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 )