Index: trunk/phase3/skins/common/ajaxwatch.js |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | // * ajax.js: |
4 | 4 | /*extern sajax_init_object, sajax_do_call */ |
5 | 5 | // * wikibits.js: |
6 | | - /*extern changeText, akeytt, hookEvent, jsMsg */ |
| 6 | + /*extern changeText, hookEvent, jsMsg */ |
7 | 7 | |
8 | 8 | // These should have been initialized in the generated js |
9 | 9 | /*extern wgAjaxWatch, wgPageName */ |
— | — | @@ -44,7 +44,6 @@ |
45 | 45 | wgAjaxWatch.setLinkID = function( newId ) { |
46 | 46 | // We can only set the first one |
47 | 47 | wgAjaxWatch.watchLinks[0].parentNode.setAttribute( 'id', newId ); |
48 | | - akeytt(newId); // update tooltips for Monobook |
49 | 48 | }; |
50 | 49 | |
51 | 50 | wgAjaxWatch.setHref = function( string ) { |
Index: trunk/phase3/skins/common/wikibits.js |
— | — | @@ -350,63 +350,8 @@ |
351 | 351 | return str; |
352 | 352 | } |
353 | 353 | |
354 | | - |
355 | | -/** |
356 | | - * Set up accesskeys/tooltips from the deprecated ta array. If doId |
357 | | - * is specified, only set up for that id. Note that this function is |
358 | | - * deprecated and will not be supported indefinitely -- use |
359 | | - * updateTooltipAccessKey() instead. |
360 | | - * |
361 | | - * @param mixed doId string or null |
362 | | - */ |
| 354 | +/* Dummy for deprecated function */ |
363 | 355 | function akeytt( doId ) { |
364 | | - // A lot of user scripts (and some of the code below) break if |
365 | | - // ta isn't defined, so we make sure it is. Explictly using |
366 | | - // window.ta avoids a "ta is not defined" error. |
367 | | - if (!window.ta) window.ta = new Array; |
368 | | - |
369 | | - // Make a local, possibly restricted, copy to avoid clobbering |
370 | | - // the original. |
371 | | - var ta; |
372 | | - if ( doId ) { |
373 | | - ta = [doId]; |
374 | | - } else { |
375 | | - ta = window.ta; |
376 | | - } |
377 | | - |
378 | | - // Now deal with evil deprecated ta |
379 | | - var watchCheckboxExists = document.getElementById( 'wpWatchthis' ) ? true : false; |
380 | | - for (var id in ta) { |
381 | | - var n = document.getElementById(id); |
382 | | - if (n) { |
383 | | - var a = null; |
384 | | - var ak = ''; |
385 | | - // Are we putting accesskey in it |
386 | | - if (ta[id][0].length > 0) { |
387 | | - // Is this object a object? If not assume it's the next child. |
388 | | - |
389 | | - if (n.nodeName.toLowerCase() == "a") { |
390 | | - a = n; |
391 | | - } else { |
392 | | - a = n.childNodes[0]; |
393 | | - } |
394 | | - // Don't add an accesskey for the watch tab if the watch |
395 | | - // checkbox is also available. |
396 | | - if (a && ((id != 'ca-watch' && id != 'ca-unwatch') || !watchCheckboxExists)) { |
397 | | - a.accessKey = ta[id][0]; |
398 | | - ak = ' ['+tooltipAccessKeyPrefix+ta[id][0]+']'; |
399 | | - } |
400 | | - } else { |
401 | | - // We don't care what type the object is when assigning tooltip |
402 | | - a = n; |
403 | | - ak = ''; |
404 | | - } |
405 | | - |
406 | | - if (a) { |
407 | | - a.title = ta[id][1]+ak; |
408 | | - } |
409 | | - } |
410 | | - } |
411 | 356 | } |
412 | 357 | |
413 | 358 | var checkboxes; |
— | — | @@ -967,7 +912,6 @@ |
968 | 913 | doneOnloadHook = true; |
969 | 914 | |
970 | 915 | updateTooltipAccessKeys( null ); |
971 | | - akeytt( null ); |
972 | 916 | setupCheckboxShiftClick(); |
973 | 917 | sortables_init(); |
974 | 918 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -564,16 +564,21 @@ |
565 | 565 | false on non-special pages |
566 | 566 | * (bug 21113) "Other statistics" header on Special:Statistics is no more |
567 | 567 | displayed when there isn't any entry in it |
568 | | -* (bug 21114) Special:Contributions no longer shows diff links for new revisions |
| 568 | +* (bug 21114) Special:Contributions no longer shows diff links for new |
| 569 | + revisions |
569 | 570 | * (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and |
570 | 571 | MediaWiki:Templatesusedsection now support plural |
571 | | -* (bug 21079) There is no more line wrapping between label and field in Special:Log |
572 | | -* (bug 20256) Fixed SQL errors on Special:Recentchanges and Special:Recentchangeslinked |
573 | | - on SQLite backend |
| 572 | +* (bug 21079) There is no more line wrapping between label and field in |
| 573 | + Special:Log |
| 574 | +* (bug 20256) Fixed SQL errors on Special:Recentchanges and |
| 575 | + Special:Recentchangeslinked on SQLite backend |
574 | 576 | * (bug 20880) Fixed updater failure on SQLite backend |
575 | 577 | * (bug 21182) Fixed invalid HTML in Special:Listgrouprights |
576 | | -* (bug 20242) Installer no longer promts for user credentials for SQLite databases |
| 578 | +* (bug 20242) Installer no longer promts for user credentials for SQLite |
| 579 | + databases |
577 | 580 | * (bug 20911) Installer failed to create a SQLite database |
| 581 | +* (bug 20847) Deprecated deprecated akeytt() removed in wikibits.js leaving |
| 582 | + dummy |
578 | 583 | |
579 | 584 | == API changes in 1.16 == |
580 | 585 | |