User:Guywan/Scripts/12HourFormat.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 22:
&& (document.title.indexOf("Difference between revisions") > -1)))
{
$(document).ready(function()
{
// Modify time when viewing page history.
Line 37:
});
}
/*else if(mw.config.get("wgCanonicalNamespace") == "Special")
{
if(mw.config.get("wgCanonicalSpecialPageName") == "Contributions")
Line 43:
if($("div").hasClass("mw-warning-with-logexcerpt mw-content-ltr"))
{
do_log(true);//
}
else
Line 49:
$("ul").first().children().each(function()
{
//
convertTo12HourTime($(this).children().first());
});
}
}
}*/
// Modify time when comparing two revisions.
else if(mw.config.get("wgAction") == "view")
Line 75:
$(".diff-currentversion-title").text(text[0] + text[1] + text[2]);
}
console.log("B");
// Modify the time that is in the footer of probably every page.
if($("#footer-info-lastmod").length > 0)
{
var footer = partition($("#footer-info-lastmod").text());