File tree 6 files changed +29
-5
lines changed
6 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " SimpleBatchUpload" ,
3
- "version" : " 1.0.1-alpha " ,
3
+ "version" : " 1.0.1" ,
4
4
"author" : [
5
5
" [http://www.mediawiki.org/wiki/User:F.trott Stephan Gambke]"
6
6
],
Original file line number Diff line number Diff line change
1
+ {
2
+ "simplebatchupload-desc" : " Einfaches Hochladen mehrerer Dateien" ,
3
+ "batchupload" : " Mehrere Dateien hochladen" ,
4
+ "simplebatchupload-buttonlabel" : " Wähle Dateien (oder ziehe sie hierher)..."
5
+ }
Original file line number Diff line number Diff line change 1
1
{
2
- "simplebatchupload-desc" : " Simplified batch upload of files" ,
3
- "batchupload" : " Upload multiple files"
2
+ "simplebatchupload-desc" : " Simple batch upload of files" ,
3
+ "batchupload" : " Upload multiple files" ,
4
+ "simplebatchupload-buttonlabel" : " Select files (or drop them here)..."
4
5
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"simplebatchupload-desc" : " {{desc|name=SimpleBatchUpload|url=https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload}}" ,
3
- "batchupload" : " {{doc-special|BatchUpload}}"
3
+ "batchupload" : " {{doc-special|BatchUpload}}" ,
4
+ "simplebatchupload-buttonlabel" : " The label for the upload button"
4
5
}
Original file line number Diff line number Diff line change
1
+ ## Release Notes
2
+
3
+ ### SimpleBatchUpload 1.0.1
4
+
5
+ Released on 07-Jun-2016
6
+
7
+ Changes:
8
+ * Add documentration
9
+ * Fix error handling
10
+ * Fix minimum MW version to 1.26
11
+ * Fix i18n of upload button label
12
+
13
+ ### SimpleBatchUpload 1.0.0
14
+
15
+ Released on 06-Jun-2016
16
+
17
+ First version
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function execute( $par ) {
67
67
68
68
$ html = '<span id="fileupload-dropzone" class="fileinput-button">
69
69
<i class="glyphicon glyphicon-plus"></i>
70
- <span>Select files (or drop them here)... </span>
70
+ <span> ' . \Message:: newFromKey ( ' simplebatchupload-buttonlabel ' )-> escaped () . ' </span>
71
71
<!-- The file input field used as target for the file upload widget -->
72
72
<input id="fileupload" type="file" name="file" data-url=" ' . wfScript ( 'api ' ) . '" data-token=" ' . $ this ->getUser ()->getEditToken () . '" multiple>
73
73
</span><ul id="fileupload-results"></ul> ' ;
You can’t perform that action at this time.
0 commit comments