r65683 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65682‎ | r65683 | r65684 >
Date:05:56, 30 April 2010
Author:tstarling
Status:deferred
Tags:
Comment:
MFT r64948, bug 22970: fix JS error in FF<3.5 in upload destination check
Modified paths:
  • /branches/REL1_16/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_16/phase3/includes (modified) (history)
  • /branches/REL1_16/phase3/includes/Article.php (modified) (history)
  • /branches/REL1_16/phase3/includes/ChangesList.php (modified) (history)
  • /branches/REL1_16/phase3/includes/ConfEditor.php (modified) (history)
  • /branches/REL1_16/phase3/includes/DefaultSettings.php (modified) (history)
  • /branches/REL1_16/phase3/includes/HistoryPage.php (modified) (history)
  • /branches/REL1_16/phase3/includes/LocalisationCache.php (modified) (history)
  • /branches/REL1_16/phase3/includes/OutputPage.php (modified) (history)
  • /branches/REL1_16/phase3/includes/api (modified) (history)
  • /branches/REL1_16/phase3/includes/diff (modified) (history)
  • /branches/REL1_16/phase3/includes/json/Services_JSON.php (modified) (history)
  • /branches/REL1_16/phase3/includes/media (modified) (history)
  • /branches/REL1_16/phase3/includes/media/Bitmap.php (modified) (history)
  • /branches/REL1_16/phase3/includes/specials (modified) (history)
  • /branches/REL1_16/phase3/skins/common (modified) (history)
  • /branches/REL1_16/phase3/skins/common/jquery.js (modified) (history)
  • /branches/REL1_16/phase3/skins/common/jquery.min.js (modified) (history)
  • /branches/REL1_16/phase3/skins/common/upload.js (modified) (history)

Diff [purge]

Property changes on: branches/REL1_16/phase3/skins/common/jquery.js
___________________________________________________________________
Name: svn:mergeinfo
11 - /trunk/phase3/skins/common/jquery.js:63549,63764,63897-63901
22 + /trunk/phase3/skins/common/jquery.js:63549,63764,63897-63901,64948
Property changes on: branches/REL1_16/phase3/skins/common/jquery.min.js
___________________________________________________________________
Name: svn:mergeinfo
33 - /trunk/phase3/skins/common/jquery.min.js:63549,63764,63897-63901
44 + /trunk/phase3/skins/common/jquery.min.js:63549,63764,63897-63901,64948
Index: branches/REL1_16/phase3/skins/common/upload.js
@@ -43,17 +43,20 @@
4444
4545 // AJAX wpDestFile warnings
4646 if ( wgAjaxUploadDestCheck ) {
 47+ // Insert an event handler that fetches upload warnings when wpDestFile
 48+ // has been changed
4749 document.getElementById( 'wpDestFile' ).onchange = function ( e ) {
4850 wgUploadWarningObj.checkNow(this.value);
4951 };
 52+ // Insert a row where the warnings will be displayed just below the
 53+ // wpDestFile row
5054 var optionsTable = document.getElementById( 'mw-htmlform-description' ).tBodies[0];
51 - var row = document.createElement( 'tr' );
 55+ var row = optionsTable.insertRow( 1 );
5256 var td = document.createElement( 'td' );
5357 td.id = 'wpDestFile-warning';
5458 td.colSpan = 2;
5559
5660 row.appendChild( td );
57 - optionsTable.insertBefore( row, optionsTable.children[1] );
5861 }
5962
6063 if ( wgAjaxLicensePreview ) {
Property changes on: branches/REL1_16/phase3/skins/common
___________________________________________________________________
Name: svn:mergeinfo
6164 + /trunk/phase3/skins/common:63545-63546,63549,63643,63764,63897-63901,64876,64948
Property changes on: branches/REL1_16/phase3/includes/diff
___________________________________________________________________
Name: svn:mergeinfo
6265 - /branches/REL1_15/phase3/includes/diff:51646
/branches/sqlite/includes/diff:58211-58321
/branches/wmf-deployment/includes/diff:53381
/trunk/phase3/includes/diff:63549,63764,63897-63901,64802,64881
6366 + /branches/REL1_15/phase3/includes/diff:51646
/branches/sqlite/includes/diff:58211-58321
/branches/wmf-deployment/includes/diff:53381
/trunk/phase3/includes/diff:63549,63764,63897-63901,64802,64881,64948
Property changes on: branches/REL1_16/phase3/includes/json/Services_JSON.php
___________________________________________________________________
Name: svn:mergeinfo
6467 - /branches/REL1_15/phase3/includes/api/ApiFormatJson_json.php:51646
/branches/wmf-deployment/includes/api/ApiFormatJson_json.php:53381
/trunk/phase3/includes/json/Services_JSON.php:63549,63764,63897-63901,64881
6568 + /branches/REL1_15/phase3/includes/api/ApiFormatJson_json.php:51646
/branches/wmf-deployment/includes/api/ApiFormatJson_json.php:53381
/trunk/phase3/includes/json/Services_JSON.php:63549,63764,63897-63901,64881,64948
Property changes on: branches/REL1_16/phase3/includes/Article.php
___________________________________________________________________
Name: svn:mergeinfo
6669 - /branches/REL1_15/phase3/includes/Article.php:51646
/branches/sqlite/includes/Article.php:58211-58321
/branches/wmf-deployment/includes/Article.php:53381
/trunk/phase3/includes/Article.php:63549,63764,63897-63901,64918,64934
6770 + /branches/REL1_15/phase3/includes/Article.php:51646
/branches/sqlite/includes/Article.php:58211-58321
/branches/wmf-deployment/includes/Article.php:53381
/trunk/phase3/includes/Article.php:63549,63764,63897-63901,64918,64934,64948
Property changes on: branches/REL1_16/phase3/includes/LocalisationCache.php
___________________________________________________________________
Name: svn:mergeinfo
6871 - /branches/REL1_15/phase3/includes/LocalisationCache.php:51646
/branches/sqlite/includes/LocalisationCache.php:58211-58321
/branches/wmf-deployment/includes/LocalisationCache.php:53381
/trunk/phase3/includes/LocalisationCache.php:63394,63549,63764,63897-63901,64881
6972 + /branches/REL1_15/phase3/includes/LocalisationCache.php:51646
/branches/sqlite/includes/LocalisationCache.php:58211-58321
/branches/wmf-deployment/includes/LocalisationCache.php:53381
/trunk/phase3/includes/LocalisationCache.php:63394,63549,63764,63897-63901,64881,64948
Property changes on: branches/REL1_16/phase3/includes/OutputPage.php
___________________________________________________________________
Name: svn:mergeinfo
7073 - /branches/REL1_15/phase3/includes/OutputPage.php:51646
/branches/wmf-deployment/includes/OutputPage.php:53381,57468
/trunk/phase3/includes/OutputPage.php:63549,63764,63897-63901,64881,64892,64918
7174 + /branches/REL1_15/phase3/includes/OutputPage.php:51646
/branches/wmf-deployment/includes/OutputPage.php:53381,57468
/trunk/phase3/includes/OutputPage.php:63549,63764,63897-63901,64881,64892,64918,64948
Property changes on: branches/REL1_16/phase3/includes/HistoryPage.php
___________________________________________________________________
Name: svn:mergeinfo
7275 - /branches/REL1_15/phase3/includes/PageHistory.php:51646
/trunk/phase3/includes/HistoryPage.php:63549,63764,63897-63901,64881
7376 + /branches/REL1_15/phase3/includes/PageHistory.php:51646
/trunk/phase3/includes/HistoryPage.php:63549,63764,63897-63901,64881,64948
Property changes on: branches/REL1_16/phase3/includes/api
___________________________________________________________________
Name: svn:mergeinfo
7477 - /branches/REL1_15/phase3/includes/api:51646
/branches/sqlite/includes/api:58211-58321
/branches/wmf-deployment/includes/api:53381,59952
/trunk/phase3/includes/api:63549,63764,63897-63901,64454,64881
7578 + /branches/REL1_15/phase3/includes/api:51646
/branches/sqlite/includes/api:58211-58321
/branches/wmf-deployment/includes/api:53381,59952
/trunk/phase3/includes/api:63549,63764,63897-63901,64454,64881,64948
Property changes on: branches/REL1_16/phase3/includes/media/Bitmap.php
___________________________________________________________________
Name: svn:mergeinfo
7679 - /branches/REL1_15/phase3/includes/media/Bitmap.php:51646
/branches/sqlite/includes/media/Bitmap.php:58211-58321
/branches/wmf-deployment/includes/media/Bitmap.php:53381
/trunk/phase3/includes/media/Bitmap.php:63549,63764,63897-63901,64876,64881,64932,64935-64936,64947,65467
7780 + /branches/REL1_15/phase3/includes/media/Bitmap.php:51646
/branches/sqlite/includes/media/Bitmap.php:58211-58321
/branches/wmf-deployment/includes/media/Bitmap.php:53381
/trunk/phase3/includes/media/Bitmap.php:63549,63764,63897-63901,64876,64881,64932,64935-64936,64947-64948,65467
Property changes on: branches/REL1_16/phase3/includes/media
___________________________________________________________________
Name: svn:mergeinfo
7881 - /branches/REL1_15/phase3/includes/media:51646
/branches/sqlite/includes/media:58211-58321
/branches/wmf-deployment/includes/media:53381
/trunk/phase3/includes/media:63549,63764,63897-63901,64876,64881,64935-64936,64947,65467
7982 + /branches/REL1_15/phase3/includes/media:51646
/branches/sqlite/includes/media:58211-58321
/branches/wmf-deployment/includes/media:53381
/trunk/phase3/includes/media:63549,63764,63897-63901,64876,64881,64935-64936,64947-64948,65467
Property changes on: branches/REL1_16/phase3/includes/ChangesList.php
___________________________________________________________________
Name: svn:mergeinfo
8083 - /branches/REL1_15/phase3/includes/ChangesList.php:51646
/branches/wmf-deployment/includes/ChangesList.php:53381,57589
/trunk/phase3/includes/ChangesList.php:63549,63764,63897-63901,64881
8184 + /branches/REL1_15/phase3/includes/ChangesList.php:51646
/branches/wmf-deployment/includes/ChangesList.php:53381,57589
/trunk/phase3/includes/ChangesList.php:63549,63764,63897-63901,64881,64948
Property changes on: branches/REL1_16/phase3/includes/ConfEditor.php
___________________________________________________________________
Name: svn:mergeinfo
8285 - /trunk/phase3/includes/ConfEditor.php:63549,63764,63897-63901,64881
8386 + /trunk/phase3/includes/ConfEditor.php:63549,63764,63897-63901,64881,64948
Index: branches/REL1_16/phase3/includes/DefaultSettings.php
@@ -1686,7 +1686,7 @@
16871687 * to ensure that client-side caches do not keep obsolete copies of global
16881688 * styles.
16891689 */
1690 -$wgStyleVersion = '268';
 1690+$wgStyleVersion = '269';
16911691
16921692
16931693 # Server-side caching:
Property changes on: branches/REL1_16/phase3/includes/specials
___________________________________________________________________
Name: svn:mergeinfo
16941694 - /branches/REL1_15/phase3/includes/specials:51646
/branches/sqlite/includes/specials:58211-58321
/branches/wmf-deployment/includes/specials:53381,56967
/trunk/phase3/includes/specials:63045,63047,63490,63549,63764,63897-63901,64180,64837,64846,64860,64862,64881
16951695 + /branches/REL1_15/phase3/includes/specials:51646
/branches/sqlite/includes/specials:58211-58321
/branches/wmf-deployment/includes/specials:53381,56967
/trunk/phase3/includes/specials:63045,63047,63490,63549,63764,63897-63901,64180,64837,64846,64860,64862,64881,64948
Property changes on: branches/REL1_16/phase3/includes
___________________________________________________________________
Name: svn:mergeinfo
16961696 - /branches/REL1_15/phase3/includes:51646
/branches/sqlite/includes:58211-58321
/branches/wmf-deployment/includes:53381
/trunk/phase3/includes:63549,63764,63897-63901,64876,64881
16971697 + /branches/REL1_15/phase3/includes:51646
/branches/sqlite/includes:58211-58321
/branches/wmf-deployment/includes:53381
/trunk/phase3/includes:63549,63764,63897-63901,64876,64881,64948
Index: branches/REL1_16/phase3/RELEASE-NOTES
@@ -56,6 +56,8 @@
5757 * (bug 23148) Fixed a local path disclosure vulnerability in ImageMagick image
5858 scaling, which was introduced in 1.16 beta 1.
5959 * Improved error checking on installer.
 60+* (bug 22970) Fixed a JavaScript error in the upload destination conflict
 61+ check.
6062
6163 === Changes since 1.16 beta 1 ===
6264

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64948(bug 22970) Made upload.js compatible with FF<3.5.btongminh21:01, 11 April 2010

Status & tagging log