Index: trunk/phase3/includes/SpecialUpload.php |
— | — | @@ -1041,7 +1041,9 @@ |
1042 | 1042 | $val2 = $val; |
1043 | 1043 | } |
1044 | 1044 | $val2 = $wgAllowCopyUploads ? min( $wgMaxUploadSize, $val2 ) : $val2; |
1045 | | - $maxUploadSize = wfMsgExt( 'upload-maxfilesize', array( 'parseinline', 'escapenoentities' ), $wgLang->formatSize( $val2 ) ); |
| 1045 | + $maxUploadSize = Xml::tags( 'div', array( 'id' => 'mw-upload-maxfilesize' ), |
| 1046 | + wfMsgExt( 'upload-maxfilesize', array( 'parseinline', 'escapenoentities' ), |
| 1047 | + $wgLang->formatSize( $val2 ) ) )."\n"; |
1046 | 1048 | |
1047 | 1049 | $sourcefilename = wfMsgExt( 'sourcefilename', array( 'parseinline', 'escapenoentities' ) ); |
1048 | 1050 | $destfilename = wfMsgExt( 'destfilename', array( 'parseinline', 'escapenoentities' ) ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -358,6 +358,7 @@ |
359 | 359 | * (bug 14496) Fix regression with parseinline on Special:Upload. |
360 | 360 | * We no longer just give up on a missing upload base directory; it's now |
361 | 361 | created automatically if we have sufficient permissions! |
| 362 | +* (bug 14479) MediaWiki:upload-maxfilesize should have a div id wrapper |
362 | 363 | |
363 | 364 | |
364 | 365 | === API changes in 1.13 === |