Discussion MediaWiki:Common.js/IEFixes.js
Ajouter un sujetApparence
Dernier commentaire : il y a 7 ans par Nemo bis dans le sujet Broken JavaScript
Needs update
[modifier]Per MSDN, please change...
document.attachEvent( 'onreadystatechange', fixIEScroll );
document.attachEvent( 'onresize', fixIEScroll );
... to (I’m pretty sure) should be this ...
if ( document.addEventListener ) { // For all major browsers, except IE 8 and earlier
document.addEventListener( 'readystatechange', fixIEScroll );
} else if ( document.attachEvent ) { // For IE 8 and earlier versions
document.attachEvent( 'onreadystatechange', fixIEScroll );
}
if ( document.addEventListener ) { // For all major browsers, except IE 8 and earlier
document.addEventListener( 'resize', fixIEScroll );
} else if ( document.attachEvent ) { // For IE 8 and earlier versions
document.attachEvent( 'onresize', fixIEScroll );
}
… or something along those lines of differentiation. Thanks in advance. -- George Orwell III (d) 31 août 2014 à 10:18 (UTC)
- Sheesh.. still? Tpt et Phe : Please help. Thanks in advance. -- George Orwell III (d) 10 juillet 2015 à 21:32 (UTC)
Broken JavaScript
[modifier]MediaWiki developers found that this page probably breaks JavaScript for users (example: not seeing the buttons when editing a page). You probably need to edit this .js page and/or MediaWiki:Gadgets-definition as in the examples at phabricator:T122755. List more pages to check.
If you have questions or need help, please ask at phabricator:T164242. You can login with your wiki account. Best wishes, Nemo 14 mai 2017 à 09:49 (UTC)