Content deleted Content added
No edit summary |
No edit summary |
||
Line 43:
var html = $(".mw-logline-delete").html();
$(".mw-logline-delete").html(regexpReplace(html));▼
var time = html.substr(1, 5);▼
html = html.replace(/(\d\d\:\d\d)/g, convert(time));▼
▲ $(".mw-logline-delete").html(html);
}
}
Line 57 ⟶ 53:
var text = $(this).text();
// Will convert anything in a table matching the pattern "nn:nn," where n is a digit.▼
var index = text.indexOf(":");
if(index > -1)
{
{
text = partition(text);
Line 91 ⟶ 84:
$("ul").first().children().each(function()
{
var
$(this).html(regexpReplace(html));▼
//$(this).text(time[0] + time[1] + time[2]);
});
}
// Modify time in user rights page.
else if(mw.config.get("wgCanonicalSpecialPageName") == "Userrights")
{
Line 102 ⟶ 100:
var html = $(this).html();
$(this).html(regexpReplace(html));
▲ var time = html.substr(1, 5);
▲ $(this).html(html);
})▼
}
}
Line 148 ⟶ 142:
return new Array(front, time, end);
}
function regexpReplace(text)
{
}
|