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 "mediawiki.special.upload: Don't fail when trying to thumbnail invalid file"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUpload.php
diff --git
a/includes/specials/SpecialUpload.php
b/includes/specials/SpecialUpload.php
index
2754b13
..
82e07fd
100644
(file)
--- a/
includes/specials/SpecialUpload.php
+++ b/
includes/specials/SpecialUpload.php
@@
-622,7
+622,8
@@
class SpecialUpload extends SpecialPage {
return false;
} else {
// New page should get watched if that's our option.
- return $this->getUser()->getOption( 'watchcreations' );
+ return $this->getUser()->getOption( 'watchcreations' ) ||
+ $this->getUser()->getOption( 'watchuploads' );
}
}