Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1684,7 +1684,7 @@ |
1685 | 1685 | * to ensure that client-side caches do not keep obsolete copies of global |
1686 | 1686 | * styles. |
1687 | 1687 | */ |
1688 | | -$wgStyleVersion = '269'; |
| 1688 | +$wgStyleVersion = '270'; |
1689 | 1689 | |
1690 | 1690 | |
1691 | 1691 | # Server-side caching: |
Index: trunk/phase3/skins/common/upload.js |
— | — | @@ -43,17 +43,20 @@ |
44 | 44 | |
45 | 45 | // AJAX wpDestFile warnings |
46 | 46 | if ( wgAjaxUploadDestCheck ) { |
| 47 | + // Insert an event handler that fetches upload warnings when wpDestFile |
| 48 | + // has been changed |
47 | 49 | document.getElementById( 'wpDestFile' ).onchange = function ( e ) { |
48 | 50 | wgUploadWarningObj.checkNow(this.value); |
49 | 51 | }; |
| 52 | + // Insert a row where the warnings will be displayed just below the |
| 53 | + // wpDestFile row |
50 | 54 | var optionsTable = document.getElementById( 'mw-htmlform-description' ).tBodies[0]; |
51 | | - var row = document.createElement( 'tr' ); |
| 55 | + var row = optionsTable.insertRow( 1 ); |
52 | 56 | var td = document.createElement( 'td' ); |
53 | 57 | td.id = 'wpDestFile-warning'; |
54 | 58 | td.colSpan = 2; |
55 | 59 | |
56 | 60 | row.appendChild( td ); |
57 | | - optionsTable.insertBefore( row, optionsTable.children[1] ); |
58 | 61 | } |
59 | 62 | |
60 | 63 | if ( wgAjaxLicensePreview ) { |