User:Bosco/MediaWiki:Gadget-MarkRights.js: Difference between revisions

From Test Wiki
Content deleted Content added
这是判断了个什么
mNo edit summary
Line 137: Line 137:
};
};
mw.hook('wikipage.content').add(function(e) {
mw.hook('wikipage.content').add(function(e) {
if (e.hasClass('mw-changeslist')) markUG();
if (e.attr('id') !== 'mw-content-text') return;
if (e.attr('id') !== 'mw-content-text') return;
markUG();
markUG();