Privacy Policy Cookie Policy Terms and Conditions Usuário:Xandi/monobook.js - Wikipédia

Usuário:Xandi/monobook.js

Origem: Wikipédia, a enciclopédia livre.

Nota: Após salvar, terá de limpar a cache do seu navegador para ver as alterações: Mozilla: clique Reload (ou Ctrl-R), IE / Opera: Ctrl-F5, Safari: Cmd-R, Konqueror Ctrl-R.

// [[en:User:Lupin/popups.js]]

document.write('<script type="text/javascript" src="'+'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'+'&action=raw&ctype=text/javascript&dontcountme=s"></script>');

popupImages='false';
popupAdminLinks=true;
popupRevertSummary='Revertido para a edição %s';
popupQueriedRevertSummary='Revertido para a edição $1, feita em $2 por $3'
popupQueriedRevertToPreviousSummary='Revertido para a edição $1, feita em $2 por $3'
popupFixRedirs = true;
popupRedirAutoClick = 'wpSave';
popupFixDabs='true';
popupFixDabsSummary='Substituindo desambiguação (%s) por %s';
popupStructure = 'menus';
popupHistoricalLinks = true;
popupDiffDates = true;
popupEditCounterTool = 'interiot';

//Interiot's javascript edit counter
if (document.title.indexOf('User:Xandi/code.js') != -1) {
  document.write('<script type="text/javascript" src="' 
    + 'http://pt.wikipedia.org/w/index.php?title=User:Xandi/code.js' 
    + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); }

//  Add a "Kate" link to your monobook "personal menu" list at the very
  //  top of the page.
  //
  //  Indicate where you would like "Kate" to appear:
  //    pt-userpage, pt-mytalk, pt-preferences,
  //    pt-watchlist, pt-mycontris, pt-logout
  //
gsKateInsertBefore = 'pt-mycontris'; // leave blank to append after "logout"
  //
function KateLink()
{
  var user = document.getElementById( 'pt-userpage' ).firstChild.firstChild.data;

  var li = document.createElement( 'li' );
    li.id = 'pt-kate';

    var a = document.createElement( 'a' );
      a.appendChild( document.createTextNode( 'Kate' ) ); // eh, the css makes the text lowercase
      a.href = 'http://tools.wikimedia.de/~interiot/cgi-bin/count_edits?dbname=ptwiki&user=' + user;

    li.appendChild( a );

  if ( ! gsKateInsertBefore ) // append to end (right) of list
  {  document.getElementById( 'pt-logout' ).parentNode.appendChild( li );
  }
  else
  {  var before = document.getElementById( gsKateInsertBefore );
      before.appendChild( li, before );
  }
}
   if ( window.addEventListener ) window.addEventListener( 'load', KateLink, false );
else if ( window.attachEvent      ) window.attachEvent   ( 'onload', KateLink );


//Botões
//var div=document.getElementById('editpage-specialchars');
//if ( div ) {
//  
//}

 window.AddMyOwnButton=function(tbar, caption, href, imgsrc) {
   var ba = document.createElement('a');
   ba.href = href;
   var img = document.createElement('img');
   img.src = imgsrc;
   img.alt = caption;
   ba.appendChild(img);
   tbar.appendChild(ba);
 }

window.myOwnEditButtons=function() {
  var tbdiv=document.getElementById('toolbar');
  if ( tbdiv ) {
    tbdiv.appendChild(document.createTextNode(' '));

// Botao:{Bem vindo}
    caption = 'Bem vindo';
    var babv  = document.createElement('a');
    babv.href = 'javascript:document.editform.wpSummary.value=\'\{\{bem vindo\}\}\';insertTags(\'\{\{bv}} \~\~\~\~\',\'\',\'\');document.editform.submit();';
    var imgbv = document.createElement('img');
    imgbv.src = 'http://upload.wikimedia.org/wikipedia/commons/3/30/Bv_icon.png';
    imgbv.alt = caption;
    babv.appendChild(imgbv);
    tbdiv.appendChild(babv);

// Botao:{lixo}
    caption = 'Lixo';
    var baer  = document.createElement('a');
    baer.href = 'javascript:document.editform.wpSummary.value=\'\{\{lixo\}\}\';insertTags(\'\{\{lixo|\[\[user:Xandi]\]}}\',\'\',\'\');document.editform.submit();';
    var imger = document.createElement('img');
    imger.src = 'http://republico.estv.ipv.pt/~nmct/wikipedia/icons/button_lixo.png';
    imger.alt = caption;
    baer.appendChild(imger);
    tbdiv.appendChild(baer);

// Botao:{Bem vindo ip}
    caption = 'Bem vindo IP';
    var babv  = document.createElement('a');
    babv.href = 'javascript:document.editform.wpSummary.value=\'\{\{bem vindo ip\}\}\';insertTags(\'\{\{bem vindo ip}} \~\~\~\~\',\'\',\'\');document.editform.submit();';
    var imgbv = document.createElement('img');
    imgbv.src = 'http://republico.estv.ipv.pt/~nmct/wikipedia/icons/button_bvip.png';
    imgbv.alt = caption;
    babv.appendChild(imgbv);
    tbdiv.appendChild(babv);

// Botao:{impróprio}
    caption = 'Impróprio';
    var baer  = document.createElement('a');
    baer.href = 'javascript:document.editform.wpSummary.value=\'\{\{impróprio\}\}\';insertTags(\'\{\{impróprio|\[\[user:Xandi]\]}}\',\'\',\'\');document.editform.submit();';
    var imger = document.createElement('img');
    imger.src = 'http://republico.estv.ipv.pt/~nmct/wikipedia/icons/button_lixo.png';
    imger.alt = caption;
    baer.appendChild(imger);
    tbdiv.appendChild(baer);

    tbdiv.appendChild(baer);

// Botao:{Aviso}
    caption = 'Aviso';
    var baer  = document.createElement('a');
    baer.href = 'javascript:document.editform.wpSummary.value=\'\{\{Aviso\}\}\';insertTags(\'\{\{Aviso}} \~\~\~\~\',\'\',\'\');document.editform.submit();';
    var imger = document.createElement('img');
    imger.src = 'http://upload.wikimedia.org/wikipedia/commons/e/ec/Button_aviso.png';
    imger.alt = caption;
    baer.appendChild(imger);
    tbdiv.appendChild(baer);

// Botao:<strike>
    caption = '<s></s>';
    var bas  = document.createElement('a');
    bas.href = 'javascript:insertTags(\'<s>\',\'</s>\',\'\');';
    var imgs = document.createElement('img');
    imgs.src = 'http://republico.estv.ipv.pt/~nmct/wikipedia/icons/button_strike.png';
    imgs.alt = caption;
    bas.appendChild(imgs);
    tbdiv.appendChild(bas);

// Botao:{{ }}
    var caption = 'txt2predef';
    var ba  = document.createElement('a');
    ba.href = 'javascript:insertTags(\'{{\',\'}}\',\'\');';
    var img = document.createElement('img');
    img.src = 'http://republico.estv.ipv.pt/~nmct/wikipedia/icons/button_topredef.png';
    img.alt = caption;
    ba.appendChild(img);
    tbdiv.appendChild(ba);

// Botao:<tt>
    caption = '<tt></tt>';
    var batt  = document.createElement('a');
    batt.href = 'javascript:insertTags(\'<tt>\',\'</tt>\',\'\');';
    var imgtt = document.createElement('img');
    imgtt.src = 'http://republico.estv.ipv.pt/~nmct/wikipedia/icons/button_tt.png';
    imgtt.alt = caption;
    batt.appendChild(imgtt);
    tbdiv.appendChild(batt);

// Botao:<small>
    caption = '<small></small>';
    var basm  = document.createElement('a');
    basm.href = 'javascript:insertTags(\'<small>\',\'</small>\',\'\');';
    var imgsm = document.createElement('img');
    imgsm.src = 'http://republico.estv.ipv.pt/~nmct/wikipedia/icons/button_small.png';
    imgsm.alt = caption;
    basm.appendChild(imgsm);
    tbdiv.appendChild(basm);

// Botao:autoDisambig
    caption = 'desambigtxt';
    var badis  = document.createElement('a');
    badis.href = 'javascript:document.editform.wpSummary.value=\'disambiguação\';insertTags(\'\{\{desambiguação\}\}\\n\\nPor \\\'\\\'\\\'\{\{subst:PAGENAME}}\\\'\\\'\\\' pode estar à procura de:\\n* \',\'\',\'\');';
    var imgdis = document.createElement('img');
    imgdis.src = 'http://republico.estv.ipv.pt/~nmct/wikipedia/icons/button_disambig.png';
    imgdis.alt = caption;
    badis.appendChild(imgdis);
    tbdiv.appendChild(badis);

// Botao:LicencaIncompleta
    AddMyOwnButton(tbdiv, '\{\{SemInfo\}\}', 'javascript:document.editform.wpSummary.value=\'Aviso: Licença Incompleta\';insertTags(\';Descrição\\n:(informar aqui, por favor)\\n;Fonte\\n:(informar aqui, por favor)\\n;Licença\\n:\{\{subst:\Cd2}} <\!-- troque esta predefinição pela tag do respectivo copyright -->\\n\[\[Categoria:Imagens de origem desconhecida\]\] <\!-- remova esta categoria após indicar a fonte -->\\n\',\'\',\'\');', 'http://upload.wikimedia.org/wikipedia/commons/d/de/Button_image.png');

// Botao:{av-img}
AddMyOwnButton(tbdiv, 'avimg', 'javascript:document.editform.wpSummary.value=\'\{\{subst:av-img\}\}\';insertTags(\'\{\{av-img|}}\[[user:Xandi]]\~\~\~\~\~\',\'\',\'\');', 'http://img468.imageshack.us/img468/489/aviso6bi.png');

// Botao:{DP}
AddMyOwnButton(tbdiv, 'dp', 'javascript:document.editform.wpSummary.value=\'\{\{DP\}\}\';insertTags(\'\{\{DP}}\',\'\',\'\');', 'http://img387.imageshack.us/img387/336/dp9ge.png');

// Botao:{GFDL}
AddMyOwnButton(tbdiv, 'gfdl', 'javascript:document.editform.wpSummary.value=\'\{\{GFDL\}\}\';insertTags(\'\{\{GFDL}}\',\'\',\'\');', 'http://img389.imageshack.us/img389/2791/gnu6ut.png');

// Botao:{NowCommonsThis}
AddMyOwnButton(tbdiv, 'NowCommonsThis', 'javascript:document.editform.wpSummary.value=\'\{\{NowCommonsThis\}\}\';insertTags(\'\{\{NowCommonsThis}}\',\'\',\'\');document.editform.submit();', 'http://img385.imageshack.us/img385/3005/commons8au.png');

// Botao:{redirect}
AddMyOwnButton(tbdiv, 'redirect', 'javascript:document.editform.wpSummary.value=\'\R\E\D\';insertTags(\'#\REDIRECT\\[\[\',\']]\',\'\');', 'http://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png');

// Botao:{Categoria}
AddMyOwnButton(tbdiv, 'categoria', 'javascript:document.editform.wpSummary.value=\'\+cat\';insertTags(\'[\[Categoria:\',\']]\',\'\');', 'http://upload.wikimedia.org/wikipedia/commons/1/11/Button_category.png');

// Botao:correlatos
AddMyOwnButton(tbdiv, 'correlatos', 'javascript:document.editform.wpSummary.value=\'\+correlato\';insertTags(\'{\{Começa correlatos}\}\\n\{\{Correlato\|\commons\|}\}\\n\{\{Correlato\|\wikiquote\|}\}\\n\{\{Correlato\|\wikcionário\|}\}\\n\{\{Correlato\|\wikilivros\|}\}\\n\{\{Correlato\|\wikinotícias\|}\}\\n\{\{Correlato\|\wikisource\|}\}\\n\{\{Correlato\|\wikispecies\|}\}\\n\{\{Correlato\|\meta\|}\}\\n\{\{Termina correlatos}\}\\n\',\'\',\'\');', 'http://img379.imageshack.us/img379/6558/wikimedia5wg.png');

// Botao:{revisão}
    AddMyOwnButton(tbdiv, '{{revisão}}', 'javascript:document.editform.wpSummary.value=\'\{\{revisão\}\}\';insertTags(\'\{\{revisão}}\',\'\',\'\');document.editform.submit();', 'http://upload.wikimedia.org/wikipedia/commons/0/04/Button_array.png');

// Botao:{Wikificar}
    AddMyOwnButton(tbdiv, '{{wkf}}', 'javascript:document.editform.wpSummary.value=\'\{\{wkf\}\}\';insertTags(\'\{\{wkf}}\',\'\',\'\');document.editform.submit();', 'http://upload.wikimedia.org/wikipedia/commons/8/8e/Button_stub.png');

// Botao:{Av1}
    AddMyOwnButton(tbdiv, '{{Av1}}', 'javascript:document.editform.wpSummary.value=\'\{\{Av1\}\}\';insertTags(\'\{\{Av1|\',\'}}\~\~\~\~\',\'\',\'\');', 'http://upload.wikimedia.org/wikipedia/commons/e/ec/Button_aviso.png');

// Botao:{Bv-av}
    AddMyOwnButton(tbdiv, '{{Bv-av}}', 'javascript:document.editform.wpSummary.value=\'\{\{Bv-av\}\}\';insertTags(\'\{\{Bv-av|\',\'}}\~\~\~\~\',\'\',\'\');', 'http://upload.wikimedia.org/wikipedia/commons/b/b6/Button_category_link.png');

// Botao:{av-test}
    AddMyOwnButton(tbdiv, '{{Av-test}}', 'javascript:document.editform.wpSummary.value=\'\{\{Av-test\}\}\';insertTags(\'\{\{Av-test|\',\'}}\~\~\~\~\',\'\',\'\');', 'http://upload.wikimedia.org/wikipedia/commons/b/b5/Button_mini_stub.png');

// Botao:{ort}
    AddMyOwnButton(tbdiv, '{{Ort}}', 'javascript:document.editform.wpSummary.value=\'\{\{Ort\}\}\';insertTags(\'\{\{Ort|\',\'}}\~\~\~\~\',\'\',\'\');', 'http://upload.wikimedia.org/wikipedia/commons/9/97/Template_button.png');


// Botao:Ver tambem
    AddMyOwnButton(tbdiv, '{{Ver também}}', 'javascript:document.editform.wpSummary.value=document.editform.wpSummary.value+\'+vt \';insertTags(\'=={{Ver também}}==\\n\',\'\',\'\');', 'http://upload.wikimedia.org/wikipedia/fr/0/04/Ver_tambem.png');

// Botao:Links externos
    AddMyOwnButton(tbdiv, '{{Links}}', 'javascript:document.editform.wpSummary.value=document.editform.wpSummary.value+\'+le \';insertTags(\'=={{Links}}==\\n\',\'\',\'\');', 'http://upload.wikimedia.org/wikipedia/fr/0/04/Links_externos.png');

  }
}

// Filter changes live
// [[en:User:Lupin/Anti-vandal tool]] - please include this line

document.write('<script type="text/javascript" src="'+'http://pt.wikipedia.org/w/index.php?title=Wikipedia:Software/antivandaltool.js'+'&action=raw&ctype=text/javascript&dontcountme=s"></script>');

window.myAddOnload=function(f) {
  if (window.addEventListener) window.addEventListener("load", f, false);
  else if (window.attachEvent) window.attachEvent("onload",f);
}
myAddOnload(myOwnEditButtons);
THIS WEB:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2007:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Static Wikipedia 2006:

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - be - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - closed_zh_tw - co - cr - cs - csb - cu - cv - cy - da - de - diq - dv - dz - ee - el - eml - en - eo - es - et - eu - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gd - gl - glk - gn - got - gu - gv - ha - haw - he - hi - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mg - mh - mi - mk - ml - mn - mo - mr - ms - mt - mus - my - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - rm - rmy - rn - ro - roa_rup - roa_tara - ru - ru_sib - rw - sa - sc - scn - sco - sd - se - searchcom - sg - sh - si - simple - sk - sl - sm - sn - so - sq - sr - ss - st - su - sv - sw - ta - te - test - tet - tg - th - ti - tk - tl - tlh - tn - to - tokipona - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu