Content deleted Content added
change user setting setup |
Fix issue reported by User talk:Markhurd/hidetopcontrib.js#Bug Lenore. Add userHideAllSubsequent documentation. |
||
Line 5:
// 090615 MEH Cater for new <span class="mw-uctop">
// Add userHideAllSubsequent user setting.
// Fix issue reported by [[User talk:Markhurd/hidetopcontrib.js#Bug Lenore]].
// This script hides lines according to who has the top contribution for a page.
// If userHideAllSubsequent=true, all subsequent contributions are hidden too, more like watchlists.
if (typeof userHideAllSubsequent=='undefined')
Line 22 ⟶ 24:
while(++i<li.length)
{
var s,t,links;
links=li[i].getElementsByTagName("a");
if (
if(li[i].getElementsByTagName("strong").length>0||li[i].innerHTML.match(/\<span +class\="mw\-uctop"\>/)!=undefined)
|