MediaWiki:Mobile.js
注意:儲存之後,你可能要兜過你嘅瀏覽器快取至睇到更改。Internet Explorer: 撳住Ctrl掣再撳重新整理掣。 Firefox: 撳住Shift掣再撳重新載入(又或者撳Ctrl-Shift-R)。 Google Chrome同埋Safari用戶就噉撳個重載掣。
/* Any JavaScript here will be loaded for users using the mobile site */
window.mobilejsversion="938837";
(function ($, mw) { $(function() {
mw.loader.using('mediawiki.util').then(function () {
if(!mw.util.$content) return;
$('.ilh-all', mw.util.$content).each(function() {
var exta = $('.ilh-link a', this);
if (exta.length == 0) return;
$('.ilh-page a', this).removeClass('new').addClass('extiw')
.attr('href', exta.attr('href'))
.attr('title', exta.attr('title'));
});
});
}); })(jQuery, mediaWiki);