User:Animum/monobook.js and User talk:Stephen.andrew.lynch: Difference between pages

From Wikipedia, the free encyclopedia
(Difference between pages)
Content deleted Content added
Animum (talk | contribs)
m slash
 
 
Line 1: Line 1:
//<pre><nowiki>
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// |—————————————————————————————————————————————————————————————————————————————————————————————————————————| //
// |-| I feel I am *relatively* good at JavaScript programming, so feel free to ask me questions about any |-| //
// |-| scripts on this page. Please note that all of these scripts are tested in and developed for Mozilla |-| //
// |-| Firefox ONLY! |-| //
// |—————————————————————————————————————————————————————————————————————————————————————————————————————————| //
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


==Notability of [[:Blectum from Blechdom]]==
//--------------------------------
[[Image:Information_icon.svg|left]]Hello, this is a message from [[User:Android Mouse Bot 2|an automated bot]]. A tag has been placed on [[:Blectum from Blechdom]], by {{#ifeq:1|1|[[User:Andyjsmith|Andyjsmith]]&nbsp;([[User talk:Andyjsmith|talk]]&nbsp;'''·''' [[Special:Contributions/Andyjsmith|contribs]]),}} another Wikipedia user, requesting that it be [[Wikipedia:Speedy deletions|speedily deleted]] from Wikipedia. The tag claims that it should be speedily deleted because [[:Blectum from Blechdom]] seems to be about a person, group of people, band, club, company, or web content, but it does not indicate how or why the subject is notable: that is, why an article about that subject should be included in an encyclopedia. Under the [[WP:CSD#Articles|criteria for speedy deletion]], articles that do not assert the subject's importance or significance may be deleted at any time. Please [[Wikipedia:Notability|see the guidelines for what is generally accepted as notable]]. <br><br>To contest the tagging and request that administrators wait before possibly deleting [[:Blectum from Blechdom]], please affix the template <nowiki>{{hangon}}</nowiki> to the page, and put a note on its talk page. If the article has already been deleted, see the advice and instructions at [[WP:WMD]]. Feel free to contact the [[User:Android Mouse Bot 2|bot operator]] if you have any questions about this or any problems with this bot, bearing in mind that '''this bot is only informing you of the nomination for speedy deletion; it does not perform any nominations or deletions itself.''' --[[User:Android Mouse Bot 2|Android Mouse Bot 2]] 23:55, 8 August 2007 (UTC)
// Stuff for everyone
//---------------------------------


== adoption ==
//Alphabetized
importScript('User:Ais523/votesymbols.js');
importScript('User:Animum/ais523editcount.js');
importScript('User:Animum/count.js');
importScript('User:Animum/headers.js');
importScript('User:Animum/liveclock.js');
importScript('User:Animum/moveRV.js');
importScript('User:Animum/reset.js');
importScript('User:Animum/rfavote.js'); //Joke script for laughs. Don't take it seriously.
importScript('User:Animum/twinklespeedy.js'); //Same as AzaToth's real version, but with modified summaries.
importScript('User:Animum/usergroups.js');
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklefluff.js');
importScript('User:AzaToth/twinklewarn.js');
importScript('User:AzaToth/twinklexfd.js');
TwinkleConfig = {
deletionSummaryAd : "",
protectionSummaryAd : "",
summaryAd : "",
showSharedIPNotice : false,
orphanBacklinksOnSpeedyDelete : false,
};
importScript('User:Gracenotes/amelvand.js');
importScript('User:Lupin/popups.js');
//[[User:Lupin/popups.js]]
popupHideDelay=0.1;
popupDelay=1;
popupAdminLinks=true;
popupsFixDabs=true;
{{subst:js|User:Lupin/recent2.js}}
importScript('User:Steel359/protection.js');
importScript('User:Tra/sidebartranslate.js');
importScript('User:Voice of All/Addtabs/monobook.js');
importScript('User:Voice of All/replacetxt.js');
importScript('User:Voice of All/Google/monobook.js');
importScript('User:Voice of All/History/monobook.js');
importScript('User:Voice of All/Adminwarnings/monobook.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importScript('Wikipedia:WikiProject User scripts/Scripts/Add tab');
importScript('Wikipedia:WikiProject User scripts/Scripts/Add toolbox link');
importScript('Wikipedia:WikiProject User scripts/Scripts/Fix lowercase first letter problem');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');


Hi, what kind of adopter are you looking for? And how committed are you to being a moderately long-term Wikipedia editor? [[User:Ling.Nut|Ling.Nut]] <sup>([[User talk:Ling.Nut|talk]]&mdash;[[User:Ling.Nut/3IAR|WP:3IAR]])</sup>
addOnloadHook(function() {
:I replied on my talk page. Later [[User:Ling.Nut|Ling.Nut]] <sup>([[User talk:Ling.Nut|talk]]&mdash;[[User:Ling.Nut/3IAR|WP:3IAR]])</sup> 23:31, 26 September 2008 (UTC)
if(wgAction=="edit") document.forms["editform"].wpWatchthis.checked = false;
::How often will you be around? I live in Taiwan; my time zone is probably very different than yours... why don't we pick an article or a process (such as one of the content review processes; [[WP:GAN]] would probably be better at this stage) to work together on? Later [[User:Ling.Nut|Ling.Nut]] <sup>([[User talk:Ling.Nut|talk]]&mdash;[[User:Ling.Nut/3IAR|WP:3IAR]])</sup> 03:04, 8 October 2008 (UTC)
});
:::Don't forget to log in. :-) As for looking at [[WP:GAN]] together or separately, one of the most important lessons of Wikipedia is [[WP:BOLD|Be Bold]] (but not a rude [[WP:DICK|dick]]). So be bold. Go on out there over to [[WP:GAN]]. Look through the long list of nominees and pick one that looks interesting. Read [[WP:WIAGA]] carefully, then start to review it. Let me know when you start, I'll watch. Ask if you have questions. :-) [[User:Ling.Nut|Ling.Nut]] <sup>([[User talk:Ling.Nut|talk]]&mdash;[[User:Ling.Nut/3IAR|WP:3IAR]])</sup> 02:08, 11 October 2008 (UTC)
// STATUS CHANGER
addOnloadHook(function (){
var subpage = "/Status";
var scheme = "/StatusTemplate";
var subpagelink = wgServer + "/wiki/User:" + wgUserName + subpage;
var logout = document.getElementById( 'pt-logout' );
//Add the links
addPortletLink("p-personal", subpagelink + "?action=edit&newstatus=in", "in", "pt-status-in", "I'm in!", "", logout);
addPortletLink("p-personal", subpagelink + "?action=edit&newstatus=busy", "busy", "pt-status-busy", "I'm busy!", "", logout);
addPortletLink("p-personal", subpagelink + "?action=edit&newstatus=out", "out", "pt-status-out", "I'm out!", "", logout);
if (location.href.indexOf("?action=edit&newstatus=") == -1) return; //Are we here to auto-edit the status?
//Get new status
var statusRegExp = /\?action=edit&newstatus=(.*)/;
var status = statusRegExp.exec(location.href)[1];
//Modify the form
document.getElementById('wpTextbox1').value = "{{User:"+wgUserName+scheme+"|"+status+"}}";
document.getElementById('wpSummary').value = "Status: "+status;
document.getElementById('wpMinoredit').checked = 'checked';
//Submit it!
document.getElementById('editform').submit();
});
//
addOnloadHook(function() {
if( wgCanonicalNamespace == "Template" && document.getElementById("doc_editlinks") ) {
var editsection = document.getElementById("doc_editlinks");
editsection.innerHTML = '[<a href="' + wgServer + '/wiki/' + wgPageName + '/doc">view</a>]' + "&nbsp;" + '[<a href="'+ wgServer + wgScript + '?title=' + wgPageName + '/doc&action=edit" title="Edit the template documentation for this page">edit</a>]';
}
});

var subpagename = wgPageName.split( '/' )[1];
addOnloadHook(function() {
addToolboxLink('http://en.wikipedia.org/w/index.php?title=' + wgPageName + '&action=purge', "Purge this page", '', '', '', "Purge the cache for this page.");
});
addOnloadHook(function() {
if(wgNamespaceNumber != 0 && !subpagename) {
addToolboxLink(wgServer + wgScript + "?title=Special:Prefixindex/" + wgPageName + "/", "Subpages", '', '', '', 'View the <a href="http://en.wikipedia.org/wiki/Wikipedia:Subpages">subpages</a> of this page'); }
});
addOnloadHook(function() {
if((wgNamespaceNumber == "3" || wgNamespaceNumber == "2") && !subpagename) {
addToolboxLink("http://en.wikipedia.org/w/index.php?title=Special:DeletedContributions&target=" + wgTitle, 'Deleted Contributions', '', '', ''); }
});
addOnloadHook(function() {
var tb = document.getElementById('p-tb').getElementsByTagName('ul')[0];
addlilink(tb, '/wiki/Special:Newpages', 'New pages', 'newpages-ln');
addlilink(tb, '/wiki/Wikipedia:Usernames_for_administrator_attention', 'Usernames', 'uaa-ln');
addlilink(tb, '/wiki/Wikipedia:List_of_protected pages', 'Protected pages', 'pp-ln');
addlilink(tb, '/wiki/Wikipedia:Administrator_intervention_against_vandalism','Vandalism','aiv-ln');
addlilink(tb, '/wiki/Category:Candidates_for_speedy_deletion','Speedy deletions','speedy-ln');
addlilink(tb, '/wiki/Wikipedia:Requests for page protection','Protection requests','rfpp-ln');
addlilink(tb, '/wiki/Wikipedia:Administrators%27_noticeboard','Noticeboard','AN-ln');
});

function PortletMenu( id ) // Taken from [[User:KnowledgeOfSelf/monobook.js]]
{
this.menu = document.getElementById( id );
this.list = this.menu.getElementsByTagName( 'ul' )[ 0 ]; // bypass "<h5>Views</h5>", etc.
var LIs = this.list.getElementsByTagName( 'li' );
for ( var i = 0; i < LIs.length; i++ )
{
this[ LIs[ i ].id ] = LIs[ i ];
}
this.newItem = function( id, txt, url )
{ var li = document.createElement( 'li' ); li.id = id;
var a = document.createElement( 'a' ); a.href = url;
a.appendChild( document.createTextNode( txt ) );
li.appendChild( a );
this[ id ] = li; // watch this!!!
return li;
}
this.append = function( id, txt, url )
{ this.list.appendChild( this.newItem( id, txt, url ) );
}
this.insertBefore = function( old, id, txt, url )
{ this.list.insertBefore( this.newItem( id, txt, url ), this[ old ] );
}
this.getText = function( id ) { return this[ id ].getElementsByTagName( 'a' )[ 0 ].firstChild.data }
this.setText = function( id, txt ) { this[ id ].getElementsByTagName( 'a' )[ 0 ].firstChild.data = txt }
this.getHref = function( id ) { return this[ id ].getElementsByTagName( 'a' )[ 0 ].href }
this.setHref = function( id, url ) { this[ id ].getElementsByTagName( 'a' )[ 0 ].href = url }
}
addOnloadHook(function() {
usermenu = new PortletMenu('p-personal');
document.getElementById('p-personal').getElementsByTagName('ul')[0].style.textTransform = 'none';
usermenu.setText('pt-mytalk', 'talk');
usermenu.setText('pt-preferences', 'preferences');
usermenu.setText('pt-watchlist', 'watchlist');
usermenu.setText('pt-mycontris', 'contribs');
usermenu.setText('pt-logout', 'logout');
if(document.getElementById('ca-edit')) document.getElementById('ca-edit').firstChild.innerHTML = 'edit';
if(document.getElementById('ca-talk')) document.getElementById('ca-talk').firstChild.innerHTML = 'talk';
if(wgPageName == "Main_Page") document.getElementById("ca-nstab-main").firstChild.innerHTML = "Main Page";
});

//--------------------------------
// Sysop-only stuff
//--------------------------------

if(wgUserGroups.indexOf("sysop") != -1) {
importScript('User:Animum/easyblock.js'); // [[User:Animum/easyblock.js]]
importScript('User:Animum/twinkledelimages.js');
if(wgNamespaceNumber == 14) importScript('User:AzaToth/twinklebatchdelete.js');
importScript('User:Voice of All/Deletion/monobook.js');
importScript('User:Voice of All/Protection/monobook.js');
importScript('User:Voice of All/Sleeper/monobook.js');
importScript('User:Voice of All/Specialadmin/monobook.js');
Mvaluejs_class = '';
Rvaluejs_class = '';
Uvaluejs_class = '';
importScript('Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js');
}


//--------------------------------
// Section for experimentation
//--------------------------------

//This script gives the Autoblock ID of the block of the specified user. No guarantee of its flawlessness is asserted.
function autoblockID() {
var user = prompt("Autoblock resulted from a block of:");
if(!user) return;
document.getElementById("contentSub").innerHTML += "<br /><b>Retrieving block data...</b>";
var req = sajax_init_object();
req.open("GET", "http://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=block&letitle=User:" + user + "&format=json", false);
req.send(null);
var info = eval("(" + req.responseText + ")");
if(info.query.logevents[0]) {
var by = info.query.logevents[0].user;
var req = sajax_init_object();
req.open("GET", "http://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=block&leuser=" + by + "&lelimit=1&format=json", false);
req.send(null);
var info = eval("(" + req.responseText + ")").query.logevents[0];
if(info.title.search(/\#/) != -1) {
var id = parseInt(info.title.split("User:")[1])+1;
document.getElementById("contentSub").innerHTML += "<br /><b>Autoblock ID: " + id + " (</b><a href=\"/w/index.php?title=Special:IPBlockList&action=unblock&id=" + id + "><b>unblock</b></a><b>)</b>";
} else {
var req = sajax_init_object();
req.open("GET", "http://en.wikipedia.org/w/api.php?action=query&list=blocks&bkusers=" + user + "&format=json", false);
req.send(null);
var info = eval("(" + req.responseText + ")").query.blocks[0];
if(info) {
var id = parseInt(info.id)+1;
document.getElementById("contentSub").innerHTML += "<br /><b>Autoblock ID: " + id + " (</b><a href=\"/w/index.php?title=Special:IPBlockList&action=unblock&id=" + id + "><b>unblock</b></a><b>)</b>";
} else {
document.getElementById("contentSub").innerHTML += "<br /><b>Autoblock ID not found. Try checking <a href=\"/wiki/Special:IPBlockList\">Special:IPBlockList</a>.</b>";
}
}
}
}
addOnloadHook(function() {
if((wgNamespaceNumber == 2 || wgNamespaceNumber == 3) && !wgTitle.split("/")[1]) {
addPortletLink("p-cactions", "javascript:autoblockID()", "^", "ca-autoblockid")
}
});

//</nowiki></pre>

Revision as of 02:08, 11 October 2008

Notability of Blectum from Blechdom

Hello, this is a message from an automated bot. A tag has been placed on Blectum from Blechdom, by Andyjsmith (talk · contribs), another Wikipedia user, requesting that it be speedily deleted from Wikipedia. The tag claims that it should be speedily deleted because Blectum from Blechdom seems to be about a person, group of people, band, club, company, or web content, but it does not indicate how or why the subject is notable: that is, why an article about that subject should be included in an encyclopedia. Under the criteria for speedy deletion, articles that do not assert the subject's importance or significance may be deleted at any time. Please see the guidelines for what is generally accepted as notable.

To contest the tagging and request that administrators wait before possibly deleting Blectum from Blechdom, please affix the template {{hangon}} to the page, and put a note on its talk page. If the article has already been deleted, see the advice and instructions at WP:WMD. Feel free to contact the bot operator if you have any questions about this or any problems with this bot, bearing in mind that this bot is only informing you of the nomination for speedy deletion; it does not perform any nominations or deletions itself. --Android Mouse Bot 2 23:55, 8 August 2007 (UTC)

adoption

Hi, what kind of adopter are you looking for? And how committed are you to being a moderately long-term Wikipedia editor? Ling.Nut (talkWP:3IAR)

I replied on my talk page. Later Ling.Nut (talkWP:3IAR) 23:31, 26 September 2008 (UTC)
How often will you be around? I live in Taiwan; my time zone is probably very different than yours... why don't we pick an article or a process (such as one of the content review processes; WP:GAN would probably be better at this stage) to work together on? Later Ling.Nut (talkWP:3IAR) 03:04, 8 October 2008 (UTC)
Don't forget to log in. :-) As for looking at WP:GAN together or separately, one of the most important lessons of Wikipedia is Be Bold (but not a rude dick). So be bold. Go on out there over to WP:GAN. Look through the long list of nominees and pick one that looks interesting. Read WP:WIAGA carefully, then start to review it. Let me know when you start, I'll watch. Ask if you have questions. :-) Ling.Nut (talkWP:3IAR) 02:08, 11 October 2008 (UTC)