nessun oggetto della modifica
Nessun oggetto della modifica |
MFH (rosica | curriculum) Nessun oggetto della modifica |
||
(7 versioni intermedie di un altro utente non mostrate) | |||
Riga 1:
//disableHideEdit = true;
disableaprilfish =
Riga 145:
if (["MediaWiki:Common.css", "MediaWiki:Monobook.css", "MediaWiki:Common.js", "MediaWiki:Monobook.js", "Utente:" + wgUserName + "/monobook.css", "Utente:" + wgUserName + "/monobook.js"].indexOf(wgPageName) == -1)
quickpreview_load();
$("#wpTextbox1").bind('mouseup keyup
var c = document.createElement('span');
Riga 189:
var temp = $("#quicksave_msgbox")[0];
if (!temp) {
temp =
▲ var msg_box_close = temp.appendChild(document.createElement('span'));
}
else {
Line 215 ⟶ 211:
var Watched = $("#wpWatchthis")[0].checked;
if ($("#ca-watch")[0] && Watched) {
$("#ca-watch a").text(wgAjaxWatch["watchingMsg"].toLowerCase());
param += "&watchlist=watch";
}
if ($("#ca-unwatch")[0] && !Watched) {
$("#ca-unwatch a").text(wgAjaxWatch["unwatchingMsg"].toLowerCase());
param += "&watchlist=unwatch";
}
Line 451 ⟶ 447:
function quickpreview (after_save) {
if (after_save == undefined) after_save = false;
$("#quickpreviewButton, #quickdiffButton").attr('disabled','disabled');
$('body').css('cursor','progress');
Line 548 ⟶ 545:
}
else templatesList.innerHTML = '';
R = o.responseXML.getElementsByTagName('
if (R.length > 0) {
var name;
Line 554 ⟶ 551:
for (i in R) {
name = R.item(i).firstChild.nodeValue;
if (R.item(i).getAttribute('exists') != undefined)
temp += "<li" + "><a title='" + name + "' href='/wiki/" + encodeURI(name) + "'>" + name + "</a> (<a href='/index.php?title=" + encodeURI(name) + "&action=edit&editintro=Mediawiki:Editintro'>modifica</a>)</li>";
else
Line 680 ⟶ 677:
$('body').css('cursor','progress');
if ($("#diff-css").length == 0)
$(document.createElement('link')).attr({'href': "h" + "ttp://images.wikia.com/common/__cb34808/skins/common/diff.css?34808", 'rel':'stylesheet', 'id':"diff-css"}).appendTo($('head'));
var $diffArea = $("#
if ($diffArea.length == 0) {
$diffArea = $(document.createElement('div')).attr('id', "
var $diffTable = $(document.createElement('table')).addClass("diff").appendTo($diffArea);
$diffTable.html("<colgroup><col class='diff-marker'><col class='diff-content'><col class='diff-marker'><col class='diff-content'></colgroup><tr valign='top'><td class='diff-otitle' colspan='2'>Versione attuale</td><td class='diff-ntitle' colspan='2'>Il tuo testo</td></tr>");
Line 697 ⟶ 694:
var section = $("[name=wpSection]").val();
if (section && section != "new") param += "&rvsection=" + section;
param += "&rvdifftotext=" + encodeURIComponent($("#wpTextbox1").val());
var httpRequest = createRequest();
var id = setTimeout(function() { httpRequest.abort(); alert("Errore: il server non risponde"); Finish(false); }, 15000);
|