Content deleted Content added
absolutify vars |
maintenance: more info TypeError: Cannot read property '0' of undefined |
||
(One intermediate revision by one other user not shown) | |||
Line 15:
if(typeof(window.LastModMonths)=='undefined') window.LastModMonths=['January','February','March','April','May','June','July','August','September','October','November','December'];
if(mw.config.get('wgNamespaceNumber')>=0) mw.loader.using('
$(document).ready(function(){
var ins=document.getElementById('siteSub');
Line 33:
},
success:function(r, sts, xhr){
try {
} catch (e) {
return; // unexpected response e.g. TypeError: Cannot read property '0' of undefined
}
if(typeof(ts)=='undefined') return;
m=r.query.pages[articleId].revisions[0].timestamp.match(/^(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)Z$/);
var dt;
|