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

Content deleted Content added
No edit summary
No edit summary
Line 19:
if(mw.config.get("wgAction") == "history"
|| mw.config.get("wgAction") == "view"
|| mw.config.get("wgAction") == "edit"
|| mw.config.get("wgCanonicalNamespace") == "Special")
{
Line 36 ⟶ 37:
});
}
else if(mw.config.get("wgAction") == "edit")
{
if($("div").hasClass("mw-warning-with-logexcerpt mw-content-ltr"))
{
var html = $(".mw-logline-delete").html();
 
var time = html.substr(1, 5);