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 "FeedbackDialog: Improve alignment"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUpload.php
diff --git
a/includes/specials/SpecialUpload.php
b/includes/specials/SpecialUpload.php
index
073e58d
..
b98fad1
100644
(file)
--- a/
includes/specials/SpecialUpload.php
+++ b/
includes/specials/SpecialUpload.php
@@
-33,7
+33,6
@@
use MediaWiki\MediaWikiServices;
*/
class SpecialUpload extends SpecialPage {
/**
*/
class SpecialUpload extends SpecialPage {
/**
- * Constructor : initialise object
* Get data POSTed through the form and assign them to the object
* @param WebRequest $request Data posted.
*/
* Get data POSTed through the form and assign them to the object
* @param WebRequest $request Data posted.
*/
@@
-840,6
+839,7
@@
class SpecialUpload extends SpecialPage {
* This controls js: mw.config.get( 'wgFileCanRotate' )
*
* @todo What about non-BitmapHandler handled files?
* This controls js: mw.config.get( 'wgFileCanRotate' )
*
* @todo What about non-BitmapHandler handled files?
+ * @return bool
*/
public static function rotationEnabled() {
$bitmapHandler = new BitmapHandler();
*/
public static function rotationEnabled() {
$bitmapHandler = new BitmapHandler();
@@
-1257,7
+1257,6
@@
class UploadForm extends HTMLForm {
$out->addJsConfigVars( $scriptVars );
$out->addModules( [
$out->addJsConfigVars( $scriptVars );
$out->addModules( [
- 'mediawiki.action.edit', // For <charinsert> support
'mediawiki.special.upload', // Extras for thumbnail and license preview.
] );
}
'mediawiki.special.upload', // Extras for thumbnail and license preview.
] );
}