Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
/*
* This script was originally authored by User:Bility, [[User:Bility/convert24hourtime.js]].
* Considerable contributions by User:DannyS712, [[User:DannyS712/12Hours.js]], whose version I have forked.
Line 31 ⟶ 26:
case "Log":
case "Userrights":
case "AbuseLog":
$("ul").children().each(function()
{
$(this).html(regexpReplace($(this).html()
});
break;
Line 67 ⟶ 56:
$("td > a").each(function()
{
});
break;
Line 108 ⟶ 85:
if(document.title.indexOf("Difference between revisions") > -1)
{
$("#mw-diff-otitle1 > strong > a").html(regexpReplace($("#mw-diff-otitle1 > strong > a").html()));
$(".diff-currentversion-title").text(partition($(".diff-currentversion-title").text()));
}
Line 125 ⟶ 93:
if($("div").hasClass("mw-revision"))
{
$("#mw-revision-date").html(regexpReplace($("#mw-revision-date").html()
}
// Modify user signatures.
$("#mw-content-text").html
break;
Line 166 ⟶ 114:
$(".mw-warning-with-logexcerpt.mw-content-ltr > ul").children().each(function()
{
$(this).html(regexpReplace($(this).html()
});
}
Line 186 ⟶ 134:
}
function regexpReplace(html
{
return html.replace(/(\d\d:\d\d)/g, convert
}
|