Content deleted Content added
Amorymeltzer (talk | contribs) Allow for compatibility with User:Writ Keeper/Scripts/commonHistory.js |
Amorymeltzer (talk | contribs) Add changes by User:Suffusion of Yellow: use the new mw-contributions-title to make things much easier (Discussed here) |
||
Line 19:
// 170608 Fixed dependency declaration for mediawiki.util
// 180413 User:Amorymeltzer allow for compatibility with a couple other scripts present on contributions page
// 200107 User:Suffusion_of_Yellow use mw-contributions-title class instead of guessing which link is to the title
// This script hides lines according to who has the top contribution for a page.
Line 45 ⟶ 46:
while ( ++i < li.length )
{
var s,t,links
links = li[i].
▲ if ( typeof links == 'undefined' || links.length<( b + 1 ) )
continue;
t = links[
if ( /* li[i].getElementsByTagName("strong").length>0|| */ li[i].innerHTML.match(/mw\-uctop/i) != undefined )
|