User:Markhurd/hidetopcontrib.js: Difference between revisions

Content deleted Content added
Markhurd (talk | contribs)
m Use mw_main for modern, even though bodyContent or article currently works on en
Markhurd (talk | contribs)
Cater for WP:AORC by removing support for top not using the mw-uctop class.
Line 14:
// 120206 MEH Cater for IE renderer differences.
// 120207 MEH Cater for all skins.
// 120321 MEH Cater for [[Wikipedia:Added or removed characters|WP:AORC]] by removing support for top not using the mw-uctop class.
 
// This script hides lines according to who has the top contribution for a page.
Line 48 ⟶ 49:
t=links[b].innerHTML;
if( /* li[i].getElementsByTagName("strong").length>0|| */ li[i].innerHTML.match(/mw\-uctop/i)!=undefined)
s="none";
else