r94389 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94388‎ | r94389 | r94390 >
Date:21:48, 12 August 2011
Author:krinkle
Status:ok
Tags:
Comment:
Applying whitespace conventions in core JS files.
* Mostly whitespace in callers: $('foo').bar(baz,quux) => $( 'foo' ).bar( baz, quux )
* Also several occurrences of mixes spaces and tabs in the indention in front of a line, converted to tabs.
* And double spaces -> single spaces at random.
Modified paths:
  • /trunk/phase3/resources/jquery/jquery.autoEllipsis.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.byteLimit.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.checkboxShiftClick.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.client.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.collapsibleTabs.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.color.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.makeCollapsible.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.messageBox.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.placeholder.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.tabIndex.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.tablesorter.js (modified) (history)
  • /trunk/phase3/resources/jquery/jquery.textSelection.js (modified) (history)
  • /trunk/phase3/resources/mediawiki.page/mediawiki.page.mwsuggest.js (modified) (history)
  • /trunk/phase3/resources/mediawiki.special/mediawiki.special.preferences.js (modified) (history)
  • /trunk/phase3/resources/mediawiki.special/mediawiki.special.recentchanges.js (modified) (history)
  • /trunk/phase3/resources/mediawiki.special/mediawiki.special.search.css (modified) (history)
  • /trunk/phase3/resources/mediawiki.special/mediawiki.special.upload.js (modified) (history)
  • /trunk/phase3/resources/mediawiki/mediawiki.htmlform.js (modified) (history)
  • /trunk/phase3/resources/mediawiki/mediawiki.title.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/jquery/jquery.byteLength.test.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/jquery/jquery.byteLimit.test.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/jquery/jquery.client.test.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/jquery/jquery.mwExtension.test.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/jquery/jquery.textSelection.test.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/mediawiki.special/mediawiki.special.recentchanges.test.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.test.js (modified) (history)
  • /trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/qunit/suites/resources/jquery/jquery.textSelection.test.js
@@ -6,7 +6,7 @@
77 } );
88
99 /**
10 - * Test factory for $.fn.textSelection('encapsulateText')
 10+ * Test factory for $.fn.textSelection( 'encapsulateText' )
1111 *
1212 * @param options {object} associative array containing:
1313 * description {string}
@@ -14,7 +14,7 @@
1515 * output {string}
1616 * start {int} starting char for selection
1717 * end {int} ending char for selection
18 - * params {object} add'l parameters for $().textSelection('encapsulateText')
 18+ * params {object} add'l parameters for $().textSelection( 'encapsulateText' )
1919 */
2020 var encapsulateTest = function( options ) {
2121 var opt = $.extend({
@@ -41,11 +41,11 @@
4242 }
4343 expect(tests);
4444
45 - var $fixture = $('<div id="qunit-fixture"></div>');
46 - var $textarea = $('<textarea>');
 45+ var $fixture = $( '<div id="qunit-fixture"></div>' );
 46+ var $textarea = $( '<textarea>' );
4747
4848 $fixture.append($textarea);
49 - $('body').append($fixture);
 49+ $( 'body' ).append($fixture);
5050
5151 //$textarea.textSelection( 'setContents', opt.before.text); // this method is actually missing atm...
5252 $textarea.val( opt.before.text ); // won't work with the WikiEditor iframe?
Index: trunk/phase3/tests/qunit/suites/resources/jquery/jquery.client.test.js
@@ -70,7 +70,7 @@
7171 "version": "4.0.1",
7272 "versionBase": "4",
7373 "versionNumber": 4
74 - }
 74+ }
7575 },
7676 // Firefox 5
7777 // Safari 3
@@ -86,7 +86,7 @@
8787 "version": "4.0.5",
8888 "versionBase": "4",
8989 "versionNumber": 4
90 - }
 90+ }
9191 },
9292 'Mozilla/5.0 (Windows; U; Windows NT 6.0; cs-CZ) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7': {
9393 title: 'Safari 4',
Index: trunk/phase3/tests/qunit/suites/resources/jquery/jquery.mwExtension.test.js
@@ -4,7 +4,7 @@
55
66 equal( $.trimLeft( ' foo bar ' ), 'foo bar ', 'trimLeft' );
77 equal( $.trimRight( ' foo bar ' ), ' foo bar', 'trimRight' );
8 - equal( $.ucFirst( 'foo'), 'Foo', 'ucFirst' );
 8+ equal( $.ucFirst( 'foo' ), 'Foo', 'ucFirst' );
99
1010 equal( $.escapeRE( '<!-- ([{+mW+}]) $^|?>' ),
1111 '<!\\-\\- \\(\\[\\{\\+mW\\+\\}\\]\\) \\$\\^\\|\\?>', 'escapeRE - Escape specials' );
Index: trunk/phase3/tests/qunit/suites/resources/jquery/jquery.byteLimit.test.js
@@ -82,9 +82,7 @@
8383 byteLimitTest({
8484 description: 'Plain text input',
8585 $input: $( '<input>' )
86 - .attr( {
87 - 'type': 'text'
88 - }),
 86+ .attr( 'type', 'text' ),
8987 sample: simpleSample,
9088 hasLimit: false,
9189 expected: simpleSample
@@ -105,9 +103,7 @@
106104 byteLimitTest({
107105 description: 'Limit using a custom value',
108106 $input: $( '<input>' )
109 - .attr( {
110 - 'type': 'text'
111 - })
 107+ .attr( 'type', 'text' )
112108 .byteLimit( 10 ),
113109 sample: simpleSample,
114110 hasLimit: true,
@@ -130,9 +126,7 @@
131127 byteLimitTest({
132128 description: 'Limit using a custom value (multibyte)',
133129 $input: $( '<input>' )
134 - .attr( {
135 - 'type': 'text'
136 - })
 130+ .attr( 'type', 'text' )
137131 .byteLimit( 14 ),
138132 sample: mbSample,
139133 hasLimit: true,
@@ -143,9 +137,7 @@
144138 byteLimitTest({
145139 description: 'Limit using a custom value (multibyte) overlapping a byte',
146140 $input: $( '<input>' )
147 - .attr( {
148 - 'type': 'text'
149 - })
 141+ .attr( 'type', 'text' )
150142 .byteLimit( 12 ),
151143 sample: mbSample,
152144 hasLimit: true,
@@ -156,9 +148,7 @@
157149 byteLimitTest({
158150 description: 'Pass the limit and a callback as input filter',
159151 $input: $( '<input>' )
160 - .attr( {
161 - 'type': 'text'
162 - })
 152+ .attr( 'type', 'text' )
163153 .byteLimit( 6, function( val ) {
164154 _titleConfig();
165155
Index: trunk/phase3/tests/qunit/suites/resources/jquery/jquery.byteLength.test.js
@@ -25,7 +25,7 @@
2626 test( 'Special text', window.foo = function() {
2727 expect(5);
2828
29 - // http://en.wikipedia.org/wiki/UTF-8
 29+ // http://en.wikipedia.org/wiki/UTF-8
3030 var U_0024 = '\u0024',
3131 U_00A2 = '\u00A2',
3232 U_20AC = '\u20AC',
Index: trunk/phase3/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js
@@ -3,9 +3,9 @@
44 module( 'jquery.tablesorter' );
55
66 // setup hack
7 -mw.config.set('wgMonthNames', window.wgMonthNames = ['', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']);
8 -mw.config.set('wgMonthNamesShort', window.wgMonthNamesShort = ['', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']);
9 -mw.config.set('wgDefaultDateFormat', window.wgDefaultDateFormat = 'dmy');
 7+mw.config.set( 'wgMonthNames', window.wgMonthNames = ['', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']);
 8+mw.config.set( 'wgMonthNamesShort', window.wgMonthNamesShort = ['', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']);
 9+mw.config.set( 'wgDefaultDateFormat', window.wgDefaultDateFormat = 'dmy' );
1010
1111 test( '-- Initial check', function() {
1212 expect(1);
@@ -21,23 +21,23 @@
2222 * @return jQuery
2323 */
2424 var tableCreate = function( header, data ) {
25 - var $table = $('<table class="sortable"><thead></thead><tbody></tbody></table>'),
26 - $thead = $table.find('thead'),
27 - $tbody = $table.find('tbody');
28 - var $tr = $('<tr>');
29 - $.each(header, function(i, str) {
30 - var $th = $('<th>');
31 - $th.text(str).appendTo($tr);
 25+ var $table = $( '<table class="sortable"><thead></thead><tbody></tbody></table>' ),
 26+ $thead = $table.find( 'thead' ),
 27+ $tbody = $table.find( 'tbody' );
 28+ var $tr = $( '<tr>' );
 29+ $.each( header, function( i, str ) {
 30+ var $th = $( '<th>' );
 31+ $th.text( str ).appendTo( $tr );
3232 });
33 - $tr.appendTo($thead);
 33+ $tr.appendTo( $thead );
3434
3535 for (var i = 0; i < data.length; i++) {
36 - $tr = $('<tr>');
37 - $.each(data[i], function(j, str) {
38 - var $td = $('<td>');
39 - $td.text(str).appendTo($tr);
 36+ $tr = $( '<tr>' );
 37+ $.each( data[i], function( j, str ) {
 38+ var $td = $( '<td>' );
 39+ $td.text( str ).appendTo( $tr );
4040 });
41 - $tr.appendTo($tbody);
 41+ $tr.appendTo( $tbody );
4242 }
4343 return $table;
4444 };
@@ -50,12 +50,12 @@
5151 */
5252 var tableExtract = function( $table ) {
5353 var data = [];
54 - $table.find('tbody').find('tr').each(function(i, tr) {
 54+ $table.find( 'tbody' ).find( 'tr' ).each( function( i, tr ) {
5555 var row = [];
56 - $(tr).find('td,th').each(function(i, td) {
57 - row.push($(td).text());
 56+ $( tr ).find( 'td,th' ).each( function( i, td ) {
 57+ row.push( $( td ).text() );
5858 });
59 - data.push(row);
 59+ data.push( row );
6060 });
6161 return data;
6262 };
@@ -75,7 +75,7 @@
7676 expect(1);
7777
7878 var $table = tableCreate( header, data );
79 - //$('body').append($table);
 79+ //$( 'body' ).append($table);
8080
8181 // Give caller a chance to set up sorting and manipulate the table.
8282 callback( $table );
@@ -114,7 +114,7 @@
115115 ascendingName,
116116 function( $table ) {
117117 $table.tablesorter();
118 - $table.find('.headerSort:eq(0)').click();
 118+ $table.find( '.headerSort:eq(0)' ).click();
119119 }
120120 );
121121 tableTest(
@@ -124,7 +124,7 @@
125125 ascendingName,
126126 function( $table ) {
127127 $table.tablesorter();
128 - $table.find('.headerSort:eq(0)').click();
 128+ $table.find( '.headerSort:eq(0)' ).click();
129129 }
130130 );
131131 tableTest(
@@ -134,7 +134,7 @@
135135 reversed(ascendingName),
136136 function( $table ) {
137137 $table.tablesorter();
138 - $table.find('.headerSort:eq(0)').click().click();
 138+ $table.find( '.headerSort:eq(0)' ).click().click();
139139 }
140140 );
141141 tableTest(
@@ -144,7 +144,7 @@
145145 ascendingRadius,
146146 function( $table ) {
147147 $table.tablesorter();
148 - $table.find('.headerSort:eq(1)').click();
 148+ $table.find( '.headerSort:eq(1)' ).click();
149149 }
150150 );
151151 tableTest(
@@ -154,7 +154,7 @@
155155 reversed(ascendingRadius),
156156 function( $table ) {
157157 $table.tablesorter();
158 - $table.find('.headerSort:eq(1)').click().click();
 158+ $table.find( '.headerSort:eq(1)' ).click().click();
159159 }
160160 );
161161
@@ -181,9 +181,9 @@
182182 ],
183183 function( $table ) {
184184 // @fixme reset it at end or change module to allow us to override it
185 - mw.config.set('wgDefaultDateFormat', window.wgDefaultDateFormat = 'dmy');
 185+ mw.config.set( 'wgDefaultDateFormat', window.wgDefaultDateFormat = 'dmy' );
186186 $table.tablesorter();
187 - $table.find('.headerSort:eq(0)').click();
 187+ $table.find( '.headerSort:eq(0)' ).click();
188188 }
189189 );
190190 tableTest(
@@ -207,9 +207,9 @@
208208 ],
209209 function( $table ) {
210210 // @fixme reset it at end or change module to allow us to override it
211 - mw.config.set('wgDefaultDateFormat', window.wgDefaultDateFormat = 'mdy');
 211+ mw.config.set( 'wgDefaultDateFormat', window.wgDefaultDateFormat = 'mdy' );
212212 $table.tablesorter();
213 - $table.find('.headerSort:eq(0)').click();
 213+ $table.find( '.headerSort:eq(0)' ).click();
214214 }
215215 );
216216
@@ -242,7 +242,7 @@
243243 ipv4Sorted,
244244 function( $table ) {
245245 $table.tablesorter();
246 - $table.find('.headerSort:eq(0)').click();
 246+ $table.find( '.headerSort:eq(0)' ).click();
247247 }
248248 );
249249 tableTest(
@@ -252,7 +252,7 @@
253253 reversed(ipv4Sorted),
254254 function( $table ) {
255255 $table.tablesorter();
256 - $table.find('.headerSort:eq(0)').click().click();
 256+ $table.find( '.headerSort:eq(0)' ).click().click();
257257 }
258258 );
259259
@@ -286,10 +286,10 @@
287287 umlautWords,
288288 umlautWordsSorted,
289289 function( $table ) {
290 - mw.config.set('tableSorterCollation', {'ä':'ae', 'ö' : 'oe', 'ß': 'ss', 'ü':'ue'});
 290+ mw.config.set( 'tableSorterCollation', {'ä':'ae', 'ö' : 'oe', 'ß': 'ss', 'ü':'ue'});
291291 $table.tablesorter();
292 - $table.find('.headerSort:eq(0)').click();
293 - mw.config.set('tableSorterCollation', {});
 292+ $table.find( '.headerSort:eq(0)' ).click();
 293+ mw.config.set( 'tableSorterCollation', {} );
294294 }
295295 );
296296
@@ -303,10 +303,10 @@
304304 planetsRowspan,
305305 function( $table ) {
306306 //Quick&Dirty mod
307 - $table.find('tr:eq(3) td:eq(1), tr:eq(4) td:eq(1)').remove();
308 - $table.find('tr:eq(2) td:eq(1)').prop('rowspan', '3');
 307+ $table.find( 'tr:eq(3) td:eq(1), tr:eq(4) td:eq(1)' ).remove();
 308+ $table.find( 'tr:eq(2) td:eq(1)' ).prop( 'rowspan', '3' );
309309 $table.tablesorter();
310 - $table.find('.headerSort:eq(0)').click();
 310+ $table.find( '.headerSort:eq(0)' ).click();
311311 }
312312 );
313313 tableTest(
@@ -316,10 +316,10 @@
317317 planetsRowspanII,
318318 function( $table ) {
319319 //Quick&Dirty mod
320 - $table.find('tr:eq(3) td:eq(0), tr:eq(4) td:eq(0)').remove();
321 - $table.find('tr:eq(2) td:eq(0)').prop('rowspan', '3');
 320+ $table.find( 'tr:eq(3) td:eq(0), tr:eq(4) td:eq(0)' ).remove();
 321+ $table.find( 'tr:eq(2) td:eq(0)' ).prop( 'rowspan', '3' );
322322 $table.tablesorter();
323 - $table.find('.headerSort:eq(0)').click();
 323+ $table.find( '.headerSort:eq(0)' ).click();
324324 }
325325 );
326326
@@ -346,9 +346,9 @@
347347 complexMDYDates,
348348 complexMDYSorted,
349349 function( $table ) {
350 - mw.config.set('wgDefaultDateFormat', window.wgDefaultDateFormat = 'mdy');
 350+ mw.config.set( 'wgDefaultDateFormat', window.wgDefaultDateFormat = 'mdy' );
351351 $table.tablesorter();
352 - $table.find('.headerSort:eq(0)').click();
 352+ $table.find( '.headerSort:eq(0)' ).click();
353353 }
354354 );
355355
@@ -362,9 +362,9 @@
363363 planets,
364364 ascendingNameLegacy,
365365 function( $table ) {
366 - $table.find('tr:last').addClass('sortbottom');
 366+ $table.find( 'tr:last' ).addClass( 'sortbottom' );
367367 $table.tablesorter();
368 - $table.find('.headerSort:eq(0)').click();
 368+ $table.find( '.headerSort:eq(0)' ).click();
369369 }
370370 );
371371
Index: trunk/phase3/tests/qunit/suites/resources/mediawiki.special/mediawiki.special.recentchanges.test.js
@@ -2,12 +2,8 @@
33
44 test( '-- Initial check', function() {
55 expect( 2 );
6 - ok( mw.special.recentchanges.init,
7 - 'mw.special.recentchanges.init defined'
8 - );
9 - ok( mw.special.recentchanges.updateCheckboxes,
10 - 'mw.special.recentchanges.updateCheckboxes defined'
11 - );
 6+ ok( mw.special.recentchanges.init, 'mw.special.recentchanges.init defined' );
 7+ ok( mw.special.recentchanges.updateCheckboxes, 'mw.special.recentchanges.updateCheckboxes defined' );
128 // TODO: verify checkboxes == [ 'nsassociated', 'nsinvert' ]
139 });
1410
@@ -61,7 +57,7 @@
6258 $options.eq(1).removeProp( 'selected' );
6359 $options.eq(0).prop( 'selected', true );
6460 $( '#namespace' ).change();
65 -
 61+
6662 // ... and checkboxes should now be disabled
6763 strictEqual( $( '#nsinvert' ).prop( 'disabled' ), true );
6864 strictEqual( $( '#nsassociated' ).prop( 'disabled' ), true );
Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js
@@ -157,8 +157,8 @@
158158 var tbMW = mw.util.addPortletLink( 'p-tb', 'http://mediawiki.org/',
159159 'MediaWiki.org', 't-mworg', 'Go to MediaWiki.org ', 'm', tbRL ),
160160 $tbMW = $( tbMW );
161 -
162161
 162+
163163 equal( $tbMW.attr( 'id' ), 't-mworg', 'Link has correct ID set' );
164164 equal( $tbMW.closest( '.portlet' ).attr( 'id' ), 'p-tb', 'Link was inserted within correct portlet' );
165165 equal( $tbMW.next().attr( 'id' ), 't-rl', 'Link is in the correct position (by passing nextnode)' );
@@ -172,7 +172,7 @@
173173
174174 strictEqual( $tbMW.find( 'span').length, 0, 'No <span> element should be added for porlets without vectorTabs class.' );
175175 strictEqual( $( caFoo ).find( 'span').length, 1, 'A <span> element should be added for porlets with vectorTabs class.' );
176 -
 176+
177177 // Clean up
178178 $( [tbRL, tbMW, tbRLDM, caFoo] )
179179 .add( $mwPanel )
Index: trunk/phase3/tests/qunit/suites/resources/mediawiki/mediawiki.test.js
@@ -159,7 +159,7 @@
160160 // Extract path
161161 var tests_path = rePath.exec( location.href );
162162
163 - mw.loader.implement( 'is.awesome', [QUnit.fixurl( tests_path + 'data/defineTestCallback.js')], {}, {} );
 163+ mw.loader.implement( 'is.awesome', [QUnit.fixurl( tests_path + 'data/defineTestCallback.js' )], {}, {} );
164164
165165 mw.loader.using( 'is.awesome', function() {
166166
Index: trunk/phase3/resources/jquery/jquery.makeCollapsible.js
@@ -44,7 +44,7 @@
4545 // After this $defaultToggle is either null or a valid jQuery instance.
4646 return;
4747 }
48 -
 48+
4949 var $containers = null;
5050
5151 if ( action == 'collapse' ) {
@@ -55,17 +55,17 @@
5656 // Slide doens't work with tables, but fade does as of jQuery 1.1.3
5757 // http://stackoverflow.com/questions/467336#920480
5858 $containers = $collapsible.find( '>tbody>tr' );
59 - if ( $defaultToggle ) {
 59+ if ( $defaultToggle ) {
6060 // Exclude tablerow containing togglelink
6161 $containers.not( $defaultToggle.closest( 'tr' ) ).stop(true, true).fadeOut();
6262 } else {
63 - if ( instantHide ) {
 63+ if ( instantHide ) {
6464 $containers.hide();
6565 } else {
6666 $containers.stop( true, true ).fadeOut();
6767 }
6868 }
69 -
 69+
7070 } else if ( $collapsible.is( 'ul' ) || $collapsible.is( 'ol' ) ) {
7171 $containers = $collapsible.find( '> li' );
7272 if ( $defaultToggle ) {
@@ -78,10 +78,10 @@
7979 $containers.stop( true, true ).slideUp();
8080 }
8181 }
82 -
 82+
8383 } else { // <div>, <p> etc.
8484 var $collapsibleContent = $collapsible.find( '> .mw-collapsible-content' );
85 -
 85+
8686 // If a collapsible-content is defined, collapse it
8787 if ( $collapsibleContent.length ) {
8888 if ( instantHide ) {
@@ -102,7 +102,7 @@
103103 }
104104
105105 } else {
106 -
 106+
107107 // Expand the element
108108 if ( $collapsible.is( 'table' ) ) {
109109 $containers = $collapsible.find( '>tbody>tr' );
@@ -112,7 +112,7 @@
113113 } else {
114114 $containers.stop(true, true).fadeIn();
115115 }
116 -
 116+
117117 } else if ( $collapsible.is( 'ul' ) || $collapsible.is( 'ol' ) ) {
118118 $containers = $collapsible.find( '> li' );
119119 if ( $defaultToggle ) {
@@ -121,10 +121,10 @@
122122 } else {
123123 $containers.stop( true, true ).slideDown();
124124 }
125 -
 125+
126126 } else { // <div>, <p> etc.
127127 var $collapsibleContent = $collapsible.find( '> .mw-collapsible-content' );
128 -
 128+
129129 // If a collapsible-content is defined, collapse it
130130 if ( $collapsibleContent.length ) {
131131 $collapsibleContent.slideDown();
@@ -147,7 +147,7 @@
148148 $collapsible = $that.closest( '.mw-collapsible.mw-made-collapsible' ).toggleClass( 'mw-collapsed' );
149149 e.preventDefault();
150150 e.stopPropagation();
151 -
 151+
152152 // It's expanded right now
153153 if ( !$that.hasClass( 'mw-collapsible-toggle-collapsed' ) ) {
154154 // Change link to "Show"
@@ -182,7 +182,7 @@
183183 }
184184 e.preventDefault();
185185 e.stopPropagation();
186 -
 186+
187187 // It's expanded right now
188188 if ( !$that.hasClass( 'mw-collapsible-toggle-collapsed' ) ) {
189189 // Change toggle to collapsed
@@ -210,7 +210,7 @@
211211 var action = $collapsible.hasClass( 'mw-collapsed' ) ? 'expand' : 'collapse';
212212 $collapsible.toggleClass( 'mw-collapsed' );
213213 toggleElement( $collapsible, action, $that );
214 -
 214+
215215 };
216216
217217 // Use custom text or default ?
@@ -239,7 +239,7 @@
240240 } else {
241241 $that.addClass( 'mw-made-collapsible' );
242242 }
243 -
 243+
244244 // Check if this element has a custom position for the toggle link
245245 // (ie. outside the container or deeper inside the tree)
246246 // Then: Locate the custom toggle link(s) and bind them
@@ -248,7 +248,7 @@
249249 var thatId = $that.attr( 'id' ),
250250 $customTogglers = $( '.' + thatId.replace( 'mw-customcollapsible', 'mw-customtoggle' ) );
251251 mw.log( _fn + 'Found custom collapsible: #' + thatId );
252 -
 252+
253253 // Double check that there is actually a customtoggle link
254254 if ( $customTogglers.length ) {
255255 $customTogglers.bind( 'click.mw-collapse', function( e ) {
@@ -257,7 +257,7 @@
258258 } else {
259259 mw.log( _fn + '#' + thatId + ': Missing toggler!' );
260260 }
261 -
 261+
262262 // Initial state
263263 if ( $that.hasClass( 'mw-collapsed' ) ) {
264264 $that.removeClass( 'mw-collapsed' );
@@ -265,7 +265,7 @@
266266 }
267267
268268 // If this is not a custom case, do the default:
269 - // Wrap the contents add the toggle link
 269+ // Wrap the contents add the toggle link
270270 } else {
271271
272272 // Elements are treated differently
@@ -273,7 +273,7 @@
274274 // The toggle-link will be in one the the cells (td or th) of the first row
275275 var $firstRowCells = $( 'tr:first th, tr:first td', that ),
276276 $toggle = $firstRowCells.find( '> .mw-collapsible-toggle' );
277 -
 277+
278278 // If theres no toggle link, add it to the last cell
279279 if ( !$toggle.length ) {
280280 $firstRowCells.eq(-1).prepend( $toggleLink );
@@ -282,19 +282,19 @@
283283 toggleLinkPremade( $toggle, e );
284284 } );
285285 }
286 -
 286+
287287 } else if ( $that.is( 'ul' ) || $that.is( 'ol' ) ) {
288288 // The toggle-link will be in the first list-item
289289 var $firstItem = $( 'li:first', $that),
290290 $toggle = $firstItem.find( '> .mw-collapsible-toggle' );
291 -
 291+
292292 // If theres no toggle link, add it
293293 if ( !$toggle.length ) {
294294 // Make sure the numeral order doesn't get messed up, force the first (soon to be second) item
295295 // to be "1". Except if the value-attribute is already used.
296296 // If no value was set WebKit returns "", Mozilla returns '-1', others return null or undefined.
297297 var firstval = $firstItem.attr( 'value' );
298 - if ( firstval === undefined || !firstval || firstval == '-1' ) {
 298+ if ( firstval === undefined || !firstval || firstval == '-1' ) {
299299 $firstItem.attr( 'value', '1' );
300300 }
301301 $that.prepend( $toggleLink.wrap( '<li class="mw-collapsible-toggle-li"></li>' ).parent() );
@@ -303,9 +303,9 @@
304304 toggleLinkPremade( $toggle, e );
305305 } );
306306 }
307 -
 307+
308308 } else { // <div>, <p> etc.
309 -
 309+
310310 // The toggle-link will be the first child of the element
311311 var $toggle = $that.find( '> .mw-collapsible-toggle' );
312312
@@ -313,7 +313,7 @@
314314 if ( !$that.find( '> .mw-collapsible-content' ).length ) {
315315 $that.wrapInner( '<div class="mw-collapsible-content"></div>' );
316316 }
317 -
 317+
318318 // If theres no toggle link, add it
319319 if ( !$toggle.length ) {
320320 $that.prepend( $toggleLink );
Index: trunk/phase3/resources/jquery/jquery.textSelection.js
@@ -54,7 +54,7 @@
5555 encapsulateSelection: function( options ) {
5656 return this.each( function() {
5757 var pre = options.pre, post = options.post;
58 -
 58+
5959 /**
6060 * Check if the selected text is the same as the insert text
6161 */
@@ -77,10 +77,10 @@
7878 }
7979 }
8080 }
81 -
 81+
8282 /**
8383 * Do the splitlines stuff.
84 - *
 84+ *
8585 * Wrap each line of the selected text with pre and post
8686 */
8787 function doSplitLines( selText, pre, post ) {
@@ -94,7 +94,7 @@
9595 }
9696 return insertText;
9797 }
98 -
 98+
9999 var isSample = false;
100100 if ( this.style.display == 'none' ) {
101101 // Do nothing
@@ -106,8 +106,8 @@
107107 var endPos = this.selectionEnd;
108108 var scrollTop = this.scrollTop;
109109 checkSelectedText();
110 -
111 - var insertText = pre + selText + post;
 110+
 111+ var insertText = pre + selText + post;
112112 if ( options.splitlines ) {
113113 insertText = doSplitLines( selText, pre, post );
114114 }
@@ -146,9 +146,9 @@
147147 var selText = $(this).textSelection( 'getSelection' );
148148 var scrollTop = this.scrollTop;
149149 var range = document.selection.createRange();
150 -
 150+
151151 checkSelectedText();
152 - var insertText = pre + selText + post;
 152+ var insertText = pre + selText + post;
153153 if ( options.splitlines ) {
154154 insertText = doSplitLines( selText, pre, post );
155155 }
@@ -169,7 +169,7 @@
170170 post += "\n";
171171 }
172172 }
173 -
 173+
174174 range.text = insertText;
175175 if ( isSample && options.selectPeri && range.moveStart ) {
176176 range.moveStart( 'character', - post.length - selText.length );
@@ -298,7 +298,7 @@
299299 if ( newLines ) length = length - newLines.length;
300300 selection.moveStart( 'character', options.start );
301301 selection.moveEnd( 'character', -length + options.end );
302 -
 302+
303303 // This line can cause an error under certain circumstances (textarea empty, no selection)
304304 // Silence that error
305305 try {
@@ -447,7 +447,7 @@
448448 }
449449 var context = $(this).data( 'wikiEditor-context' );
450450 var hasIframe = typeof context !== 'undefined' && context && typeof context.$iframe !== 'undefined';
451 -
 451+
452452 // IE selection restore voodoo
453453 var needSave = false;
454454 if ( hasIframe && context.savedSelection !== null ) {
Index: trunk/phase3/resources/jquery/jquery.byteLimit.js
@@ -61,11 +61,11 @@
6262 // Based on key-event info from http://unixpapa.com/js/key.html
6363 // jQuery should also normalize e.which to be consistent cross-browser,
6464 // however the same check is still needed regardless of jQuery.
65 -
 65+
6666 // Note: At the moment, for some older opera versions (~< 10.5)
6767 // some special keys won't be recognized (aka left arrow key).
6868 // Backspace will be, so not big issue.
69 -
 69+
7070 if ( e.which === 0 || e.charCode === 0 || e.which === 8 ||
7171 e.ctrlKey || e.altKey || e.metaKey )
7272 {
Index: trunk/phase3/resources/jquery/jquery.collapsibleTabs.js
@@ -7,7 +7,7 @@
88 if( !this.length ) return this;
99 //merge options into the defaults
1010 var $settings = $.extend( {}, $.collapsibleTabs.defaults, options );
11 -
 11+
1212 this.each( function() {
1313 var $this = $( this );
1414 // add the element to our array of collapsible managers
@@ -20,7 +20,7 @@
2121 $.collapsibleTabs.addData( $( this ) );
2222 } );
2323 } );
24 -
 24+
2525 // if we haven't already bound our resize hanlder, bind it now
2626 if( !$.collapsibleTabs.boundEvent ) {
2727 $( window )
@@ -70,15 +70,15 @@
7171 $.collapsibleTabs.instances.each( function() {
7272 var $this = $( this ), data = $.collapsibleTabs.getSettings( $this );
7373 if( data.shifting ) return;
74 -
 74+
7575 // if the two navigations are colliding
7676 if( $this.children( data.collapsible ).length > 0 && data.collapseCondition() ) {
77 -
 77+
7878 $this.trigger( "beforeTabCollapse" );
7979 // move the element to the dropdown menu
8080 $.collapsibleTabs.moveToCollapsed( $this.children( data.collapsible + ':last' ) );
8181 }
82 -
 82+
8383 // if there are still moveable items in the dropdown menu,
8484 // and there is sufficient space to place them in the tab container
8585 if( $( data.collapsedContainer + ' ' + data.collapsible ).length > 0
Index: trunk/phase3/resources/jquery/jquery.autoEllipsis.js
@@ -25,7 +25,7 @@
2626 $el.text( $el.data( 'autoEllipsis.originalText' ) );
2727 }
2828 }
29 -
 29+
3030 // container element - used for measuring against
3131 var $container = $el;
3232 // trimmable text element - only the text within this element will be trimmed
@@ -43,7 +43,7 @@
4444 .empty()
4545 .append( $trimmableText );
4646 }
47 -
 47+
4848 var text = $container.text();
4949 var trimmableText = $trimmableText.text();
5050 var w = $container.width();
@@ -81,7 +81,7 @@
8282 return;
8383 }
8484 }
85 -
 85+
8686 if ( $trimmableText.width() + pw > w ) {
8787 switch ( options.position ) {
8888 case 'right':
@@ -136,7 +136,7 @@
137137 } else {
138138 cache[text][w][options.position] = $container.html();
139139 }
140 -
 140+
141141 } );
142142 };
143143
Index: trunk/phase3/resources/jquery/jquery.client.js
@@ -14,7 +14,7 @@
1515 /* Public Methods */
1616
1717 $.client = {
18 -
 18+
1919 /**
2020 * Get an object containing information about the client.
2121 *
@@ -37,18 +37,18 @@
3838 }
3939 // Use the cached version if possible
4040 if ( profileCache[nav.userAgent] === undefined ) {
41 -
 41+
4242 /* Configuration */
43 -
 43+
4444 // Name of browsers or layout engines we don't recognize
4545 var uk = 'unknown';
4646 // Generic version digit
4747 var x = 'x';
4848 // Strings found in user agent strings that need to be conformed
49 - var wildUserAgents = [ 'Opera', 'Navigator', 'Minefield', 'KHTML', 'Chrome', 'PLAYSTATION 3'];
 49+ var wildUserAgents = ['Opera', 'Navigator', 'Minefield', 'KHTML', 'Chrome', 'PLAYSTATION 3'];
5050 // Translations for conforming user agent strings
5151 var userAgentTranslations = [
52 - // Tons of browsers lie about being something they are not
 52+ // Tons of browsers lie about being something they are not
5353 [/(Firefox|MSIE|KHTML,\slike\sGecko|Konqueror)/, ''],
5454 // Chrome lives in the shadow of Safari still
5555 ['Chrome Safari', 'Chrome'],
@@ -86,9 +86,9 @@
8787 var platforms = ['win', 'mac', 'linux', 'sunos', 'solaris', 'iphone'];
8888 // Translations for conforming operating system names
8989 var platformTranslations = [['sunos', 'solaris']];
90 -
 90+
9191 /* Methods */
92 -
 92+
9393 // Performs multiple replacements on a string
9494 var translate = function( source, translations ) {
9595 for ( var i = 0; i < translations.length; i++ ) {
@@ -96,9 +96,9 @@
9797 }
9898 return source;
9999 };
100 -
101 - /* Pre-processing */
102 -
 100+
 101+ /* Pre-processing */
 102+
103103 var ua = nav.userAgent,
104104 match,
105105 name = uk,
@@ -113,9 +113,9 @@
114114 }
115115 // Everything will be in lowercase from now on
116116 ua = ua.toLowerCase();
117 -
 117+
118118 /* Extraction */
119 -
 119+
120120 if ( match = new RegExp( '(' + names.join( '|' ) + ')' ).exec( ua ) ) {
121121 name = translate( match[1], nameTranslations );
122122 }
@@ -131,9 +131,9 @@
132132 if ( match = new RegExp( '(' + versionPrefixes.join( '|' ) + ')' + versionSuffix ).exec( ua ) ) {
133133 version = match[3];
134134 }
135 -
 135+
136136 /* Edge Cases -- did I mention about how user agent string lie? */
137 -
 137+
138138 // Decode Safari's crazy 400+ version numbers
139139 if ( name.match( /safari/ ) && version > 400 ) {
140140 version = '2.0';
@@ -143,9 +143,9 @@
144144 version = ua.match( /version\/([0-9\.]*)/i )[1] || 10;
145145 }
146146 var versionNumber = parseFloat( version, 10 ) || 0.0;
147 -
 147+
148148 /* Caching */
149 -
 149+
150150 profileCache[nav.userAgent] = {
151151 'name': name,
152152 'layout': layout,
@@ -158,7 +158,7 @@
159159 }
160160 return profileCache[nav.userAgent];
161161 },
162 -
 162+
163163 /**
164164 * Checks the current browser against a support map object to determine if the browser has been black-listed or
165165 * not. If the browser was not configured specifically it is assumed to work. It is assumed that the body
Index: trunk/phase3/resources/jquery/jquery.placeholder.js
@@ -46,7 +46,7 @@
4747 // text somewhere in the middle of the placeholder string,
4848 // we want to set the contents of the search box to the
4949 // dropped text.
50 -
 50+
5151 // IE wants getData( 'text' ) but Firefox wants getData( 'text/plain' )
5252 // Firefox fails gracefully with an empty string, IE barfs with an error
5353 try {
@@ -56,7 +56,7 @@
5757 // Got an exception, so use the IE way
5858 this.value = e.originalEvent.dataTransfer.getData( 'text' );
5959 }
60 -
 60+
6161 // On Firefox, drop fires after the dropped text has been inserted,
6262 // but on IE it fires before. If we don't prevent the default action,
6363 // IE will insert the dropped text twice.
Index: trunk/phase3/resources/jquery/jquery.tablesorter.js
@@ -539,13 +539,13 @@
540540
541541 if ( firstTime ) {
542542 firstTime = false;
543 -
 543+
544544 // Legacy fix of .sortbottoms
545545 // Wrap them inside inside a tfoot (because that's what they actually want to be) &
546546 // Move them up one level in the DOM
547547 var sortbottoms = $table.find('tr.sortbottom').wrap('<tfoot>');
548548 sortbottoms.parents('table').append(sortbottoms.parent());
549 -
 549+
550550 explodeRowspans( $table );
551551 // try to auto detect column type, and store in tables config
552552 table.config.parsers = buildParserCache( table, $headers );
Index: trunk/phase3/resources/jquery/jquery.checkboxShiftClick.js
@@ -16,9 +16,9 @@
1717 if ( prevCheckbox !== null && e.shiftKey ) {
1818 // Check or uncheck this one and all in-between checkboxes
1919 $box.slice(
20 - Math.min( $box.index( prevCheckbox ), $box.index( e.target ) ),
21 - Math.max( $box.index( prevCheckbox ), $box.index( e.target ) ) + 1
22 - ).prop( {checked: e.target.checked ? true : false} );
 20+ Math.min( $box.index( prevCheckbox ), $box.index( e.target ) ),
 21+ Math.max( $box.index( prevCheckbox ), $box.index( e.target ) ) + 1
 22+ ).prop( 'checked', e.target.checked ? true : false );
2323 }
2424 // Either way, update the prevCheckbox variable to the one clicked now
2525 prevCheckbox = e.target;
Index: trunk/phase3/resources/jquery/jquery.messageBox.js
@@ -58,7 +58,7 @@
5959 'group': 'default',
6060 'replace': false, // if true replaces any previous message in this group
6161 'target': 'js-messagebox'
62 - }, options );
 62+ }, options );
6363 var $target = $.messageBoxNew( { id: options.target } );
6464 var groupID = options.target + '-' + options.group;
6565 var $group = $( '#' + groupID );
Index: trunk/phase3/resources/jquery/jquery.tabIndex.js
@@ -4,7 +4,7 @@
55 ( function( $ ) {
66 /**
77 * Finds the lowerst tabindex in use within a selection
8 - *
 8+ *
99 * @return number Lowest tabindex on the page
1010 */
1111 $.fn.firstTabIndex = function() {
@@ -29,7 +29,7 @@
3030
3131 /**
3232 * Finds the highest tabindex in use within a selection
33 - *
 33+ *
3434 * @return number Highest tabindex on the page
3535 */
3636 $.fn.lastTabIndex = function() {
Index: trunk/phase3/resources/jquery/jquery.color.js
@@ -15,7 +15,7 @@
1616 fx.start = getColor( fx.elem, attr );
1717 fx.end = $.colorUtil.getRGB( fx.end );
1818 }
19 -
 19+
2020 fx.elem.style[attr] = 'rgb(' + [
2121 Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0),
2222 Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0),
@@ -24,7 +24,7 @@
2525 }
2626 }
2727 );
28 -
 28+
2929 function getColor(elem, attr) {
3030 var color;
3131
@@ -33,12 +33,12 @@
3434
3535 // Keep going until we find an element that has color, or we hit the body
3636 if ( color != '' && color != 'transparent' || $.nodeName(elem, 'body') )
37 - break;
 37+ break;
3838
3939 attr = 'backgroundColor';
4040 } while ( elem = elem.parentNode );
4141
4242 return $.colorUtil.getRGB(color);
4343 };
44 -
 44+
4545 } )( jQuery );
Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.upload.js
@@ -51,12 +51,12 @@
5252 '</div>' );
5353 thumb.find( '.filename' ).text( file.name ).end()
5454 .find( '.fileinfo' ).text( prettySize( file.size ) ).end();
55 -
 55+
5656 var ctx = thumb.find( 'canvas' )[0].getContext( '2d' ),
5757 spinner = new Image();
58 - spinner.onload = function() {
59 - ctx.drawImage( spinner, (previewSize - spinner.width) / 2,
60 - (previewSize - spinner.height) / 2 );
 58+ spinner.onload = function() {
 59+ ctx.drawImage( spinner, (previewSize - spinner.width) / 2,
 60+ (previewSize - spinner.height) / 2 );
6161 };
6262 spinner.src = mw.config.get( 'wgScriptPath' ) + '/skins/common/images/spinner.gif';
6363 $( '#mw-htmlform-source' ).parent().prepend( thumb );
@@ -65,7 +65,7 @@
6666 fetchPreview( file, function( dataURL ) {
6767 var img = new Image(),
6868 rotation = 0;
69 -
 69+
7070 if ( meta && meta.tiff && meta.tiff.Orientation ) {
7171 rotation = (360 - function () {
7272 // See includes/media/Bitmap.php
@@ -81,7 +81,7 @@
8282 }
8383 }() ) % 360;
8484 }
85 -
 85+
8686 img.onload = function() {
8787 var width, height, x, y, dx, dy;
8888 // Fit the image within the previewSizexpreviewSize box
@@ -97,7 +97,7 @@
9898 dy = (180 - height) / 2;
9999 switch ( rotation ) {
100100 // If a rotation is applied, the direction of the axis
101 - // changes as well. You can derive the values below by
 101+ // changes as well. You can derive the values below by
102102 // drawing on paper an axis system, rotate it and see
103103 // where the positive axis direction is
104104 case 0:
@@ -105,7 +105,7 @@
106106 y = dy;
107107 break;
108108 case 90:
109 -
 109+
110110 x = dx;
111111 y = dy - previewSize;
112112 break;
@@ -118,11 +118,11 @@
119119 y = dy;
120120 break;
121121 }
122 -
 122+
123123 ctx.clearRect( 0, 0, 180, 180 );
124124 ctx.rotate( rotation / 180 * Math.PI );
125125 ctx.drawImage( img, x, y, width, height );
126 -
 126+
127127 // Image size
128128 var info = mw.msg( 'widthheight', img.width, img.height ) +
129129 ', ' + prettySize( file.size );
@@ -191,7 +191,7 @@
192192 function clearPreview() {
193193 $( '#mw-upload-thumbnail' ).remove();
194194 }
195 -
 195+
196196 /**
197197 * Check if the file does not exceed the maximum size
198198 */
@@ -204,18 +204,18 @@
205205 return sizes['*'];
206206 }
207207 $( '.mw-upload-source-error' ).remove();
208 -
209 - var maxSize = getMaxUploadSize( 'file' );
 208+
 209+ var maxSize = getMaxUploadSize( 'file' );
210210 if ( file.size > maxSize ) {
211 - var error = $( '<p class="error mw-upload-source-error" id="wpSourceTypeFile-error">' +
 211+ var error = $( '<p class="error mw-upload-source-error" id="wpSourceTypeFile-error">' +
212212 mw.message( 'largefileserver', file.size, maxSize ).escaped() + '</p>' );
213213 $( '#wpUploadFile' ).after( error );
214214 return false;
215215 }
216216 return true;
217217 }
218 -
219 -
 218+
 219+
220220 /**
221221 * Initialization
222222 */
@@ -226,11 +226,11 @@
227227 if ( this.files && this.files.length ) {
228228 // Note: would need to be updated to handle multiple files.
229229 var file = this.files[0];
230 -
 230+
231231 if ( !checkMaxUploadSize( file ) ) {
232232 return;
233233 }
234 -
 234+
235235 if ( fileIsPreviewable( file ) ) {
236236 showPreview( file );
237237 }
Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.recentchanges.js
@@ -9,12 +9,12 @@
1010 var $select = null;
1111
1212 var rc = mw.special.recentchanges = {
13 -
 13+
1414 /**
1515 * Handler to disable/enable the namespace selector checkboxes when the
1616 * special 'all' namespace is selected/unselected respectively.
1717 */
18 - updateCheckboxes: function() {
 18+ updateCheckboxes: function() {
1919 // The option element for the 'all' namespace has an empty value
2020 var isAllNS = ('' === $select.find('option:selected').val() );
2121
@@ -26,7 +26,7 @@
2727
2828 init: function() {
2929 // Populate
30 - $select = $( '#namespace' );
 30+ $select = $( '#namespace' );
3131
3232 // Bind to change event, and trigger once to set the initial state of the checkboxes.
3333 $select.change( rc.updateCheckboxes ).change();
Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.preferences.js
@@ -22,13 +22,13 @@
2323 $legend.parent().show();
2424 }
2525 var ident = $legend.parent().attr( 'id' );
26 -
 26+
2727 var $li = $( '<li/>', {
2828 'class' : ( i === 0 ) ? 'selected' : null
2929 });
3030 var $a = $( '<a/>', {
3131 text : $legend.text(),
32 - id : ident.replace('prefsection', 'preftab'),
 32+ id : ident.replace('prefsection', 'preftab'),
3333 href : '#' + ident
3434 }).click( function( e ) {
3535 e.preventDefault();
@@ -37,7 +37,7 @@
3838 var scrollTop = $(window).scrollTop();
3939 window.location.hash = $(this).attr('href');
4040 $(window).scrollTop(scrollTop);
41 -
 41+
4242 $preftoc.find( 'li' ).removeClass( 'selected' );
4343 $(this).parent().addClass( 'selected' );
4444 $( '#preferences > fieldset' ).hide();
@@ -145,7 +145,7 @@
146146 $tzTextbox.val( minutesToHours( minuteDiff ) );
147147 $tzSelect.val( 'other' );
148148 $tzTextbox.get( 0 ).disabled = false;
149 - } else if ( type == 'other' ) {
 149+ } else if ( type == 'other' ) {
150150 // Grab data from the textbox, parse it.
151151 minuteDiff = hoursToMinutes( $tzTextbox.val() );
152152 } else {
Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.search.css
@@ -1,10 +1,10 @@
22 /**
3 - * Fixes sister projects box moving down the extract
 3+ * Fixes sister projects box moving down the extract
44 * of the first result (bug #16886).
5 - * It only happens when the window is small and
6 - * This changes slightly the layout for big screens
7 - * where there was space for the extracts and the
8 - * sister projects and thus it showed like in any
 5+ * It only happens when the window is small and
 6+ * This changes slightly the layout for big screens
 7+ * where there was space for the extracts and the
 8+ * sister projects and thus it showed like in any
99 * other browser.
1010 *
1111 * This will only affect IE 7 and lower
Index: trunk/phase3/resources/mediawiki/mediawiki.htmlform.js
@@ -1,7 +1,7 @@
22 /**
33 * Utility functions for jazzing up HTMLForm elements
44 */
5 -( function( $ ) {
 5+( function( $ ) {
66
77 /**
88 * jQuery plugin to fade or snap to visible state.
Index: trunk/phase3/resources/mediawiki/mediawiki.title.js
@@ -163,8 +163,8 @@
164164 }
165165 return title;
166166 };
167 -
168167
 168+
169169 /* Static space */
170170
171171 /**
Index: trunk/phase3/resources/mediawiki.page/mediawiki.page.mwsuggest.js
@@ -4,7 +4,7 @@
55 $suggestionList,
66 url = mw.util.wikiScript( 'api' ),
77 maxRowWindow;
8 -
 8+
99 //Append the container which will hold the menu to the body
1010 $( 'body' ).append( $container );
1111

Status & tagging log