Wikipedia:Tools: Difference between revisions - Wikipedia


Article Images

Content deleted Content added

Flacus

(talk | contribs)

18 edits

m

ABCD

(talk | contribs)

11,256 edits

Line 279:

wpvfdhide hides VfD discussions which are already closed on demand. This is useful both for finding unclosed entries in the logs and for finding things which weren't speedied in the current VfD day pages. The latest link to it is at [[User:R3m0t]] and it requires Firefox and Greasemonkey. [[User:R3m0t|r3m0t]] <sup>[[User talk:R3m0t|talk]]</sup> July 3, 2005 13:56 (UTC)

=== Another VfD tool ===

Add the following to your &#91;&#91;User:''UserName''/monobook.js&#93;&#93;:

<pre>

function hidevfd(){

var divs = document.getElementsByTagName("div");

for(var x = 0; x < divs.length; ++x)

if(divs[x].className.indexOf("vfd") != -1)

divs[x].style.display = "none";

document.getElementById('footer').style.display = 'none';

}

function showvfd(){

var divs = document.getElementsByTagName("div");

for(var x = 0; x < divs.length; ++x)

if(divs[x].className.indexOf("vfd") != -1)

divs[x].style.display = "";

document.getElementById('footer').style.display = '';

}

function addlilink(tabs, url, name){

var na = document.createElement('a');

na.href = url;

na.appendChild(document.createTextNode(name));

var li = document.createElement('li');

li.appendChild(na);

tabs.appendChild(li);

return li;

}

function vfdlinks(){

var tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0];

if(document.title.indexOf("Wikipedia:Votes for deletion") == 0){

addlilink(tabs, 'javascript:hidevfd()', 'Hide');

addlilink(tabs, 'javascript:showvfd()', 'Show');

}

}

if (window.addEventListener) window.addEventListener("load",vfdlinks,false);

else if (window.attachEvent) window.attachEvent("onload",vfdlinks);

</pre>

==History animation==