Kullanıcı:Srhat/vector.js: Revizyonlar arasındaki fark
İçerik silindi İçerik eklendi
Sayfa oluşturdu, içeriği: '// see Wikinews:Commentary pages on news events. // This script has some crappy hacks in it // ==================================================================...' |
Değişiklik özeti yok |
||
16. satır:
}
// Interface strings,
tab_view_comment_on_article = '
// Switch for people that don't want the extra tabs.
63. satır:
title = title.replace(/^[^:]*:/, "");
case 0:
if (title === '
return;
title = encodeURIComponent(title).replace(/%2F/g, "/");
if (skin == "vector") {
//crappy temp hack. probably will break
addPortletLink('p-namespaces', wgArticlePath.replace("$1", "
} else {
global_append_tab(wgArticlePath.replace("$1", "
}
try {
checkCommentaryPageExist("
}
catch (e) {
107. satır:
document.getElementById('ca-comments').className = 'new';
document.getElementById('ca-comments').firstChild.setAttribute('href',
wgServer+wgScript+ "?title=" + pageName + '&action=edit
'&editintro=
}
}
|