![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 | Archive 4 | Archive 5 |
Something like this:
Templates
Cleanup |
Software Taxobox Book |
Choosing "Software", could add to edit box:
{{Infobox Software | name = | logo = | screenshot = | caption = | author = | developer = | released = | latest release version = | latest release date = | latest preview version = | latest preview date = | operating system = | platform = | language = | status = | genre = | license = | website = }}
It's just an example. Is this possible? Mosca2 09:15, 12 May 2007 (UTC)
If it's possible, it would be cool is someone could add another search bar below the normal one via a portlet modification to create a Wikipedia Suggest. I found this site and was wondering if anyone could write a script to incorporate it. Also, this site has some screenshots of script that perhaps (?) would be helpful. Thanks, — thesublime514 • talk • 00:14, July 10, 2007 (UTC)
I have looked through available scripts and can't find anything quite like what I would like. It it exists already, a pointer would be great.
I would like to have added to popups a facility to construct useful templates. This might even be customizable; not sure. The idea is that when you mouse over a link, you have the option to create some standard templates that would be instantly placed into the clipboard. You could then paste them into comments or pages that you are editing. Here are examples.
I'm sure other useful possibilities could be given.
Once in the clip board, these could be pasted as required into whatever text you are writing at the time. -- Duae Quartunciae ( t| c) 00:20, 21 July 2007 (UTC)
Please make a script that will add a "Undo" button at the top when viewing articles. The button will undo the current edit, with out having to go though the edit screen. This would be very good for undoing vandalism... thanks! EvilHom3r 02:21, 7 August 2007 (UTC)
Hi, there. I was wondering if it is possible to create a user script (to be located on monobook.js) that enables a user to be alerted when a specific WP page gets edited (this would be the talk page of WikProject Olympics). A script that would work in the same way that when a user gets a "new message" alert whenever his/her talk page gets edited by other users. Can anyone help? Thank you. Parutakupiu 17:45, 8 August 2007 (UTC)
I suppose I'm not the first one to request this, but I would appreciate it greatly if a script that sorts entries in Special:Whatlinkshere is written or suggested. The required feature is bringing redirects to the top of the page, that is pages from the main namespace automatically tagged "(redirect)". The same goes for "(transclusion)" entries for templates. Additionally, entries can be also grouped by namespace at the end of the list. (I'm aware of scripts that add selection tabs, but as far as I know they do not provide sorting redirects and transclusions.) Súrendil 20:49, 12 August 2007 (UTC)
i am just wondering if a warning script that uses uw tags that will work on IE will be created or if there is one already where i can find it-- AF US CO 22:20, 20 September 2007 (UTC)
I'd like to be able to see a user's permission status, such as if they are an administrator or have rollback permission, on their user page, if possible. Thanks! Gary King ( talk) 22:39, 3 March 2008 (UTC)
So I know that I'm probably just overlooking something, but I've searched and I've searched and I can't find a script that will tell me the number of revisions in a page history. Basically, I'd like a simple little bit of text that looks like this to show up when I look at the history of a page:
In the two weeks or so that I've been an admin, I've had two near-heartstopping times when I've had to delete a couple of pages with revisions in the 1,000s to delete revisions and merge histories. At this rate, I'll be dead of a heart attack before the year is up, so a little script telling me how many revisions a given page has might save me from too much undue shock in the future. -- jonny- m t 09:13, 9 April 2008 (UTC)
Could a script be made that shows an editor the last warning level received by the editor whose talk page they are on? George D. Watson (Dendodge). Talk Help 19:58, 17 April 2008 (UTC)
I'm trying to make an assessment script, out of AzaToth's Twinkle RPP. Problem is, I don't know how to program the submit status, so I need a bit of help. Script is here User:Thisisborin9/assessmenttag.js, part of User:Thisisborin9/quickassessment.js Thanks! Thisis borin9 sign here! 19:25, 23 April 2008 (UTC)
I would like to suggest a new Gadget to add a plus sign or edit button to to infoboxes and persondata templates. This would allow that infobox or persondata template to be modified more easily than opening up the whole page or section.-- Kumioko ( talk) 16:50, 24 April 2008 (UTC)
I tagged Ecuador category talk pages with Template:WikiProject Ecuador to place the categories in Category:Category-Class Ecuador pages. This also placed the categories in Category:WikiProject Ecuador articles. Categories are not articles, so I modified Template:WikiProject Ecuador to fix this. The categories still appear in Template:WikiProject Ecuador. One way to fix this is to, for example, open each category page and save them to purge the page. That takes a lot of time. Is there a script that can purge each page listed in Category:Category-Class Ecuador pages so that I don't have to open up each category page and save? Thanks. GregManninLB ( talk) 22:25, 28 April 2008 (UTC)
Example; Lets say the watchlist is at User:ThatWikiGuy/deletions and the page to be watched WP:AfD
*[[Wikipedia:Articles for Deletion]]on User:ThatWikiGuy/deletions
Original watchlist |
General watchlist |
XfD |
Add/Remove watchlists |
They can add/remove watchlists at Special:Mypage/watchlists.js. —Preceding unsigned comment added by ThatWikiGuy ( talk • contribs) 00:01, 3 May 2008
Is there a script that I can run to find all redirects to all articles tagged with a particular category? In other words, I could use a script that finds all redirects to all articles tagged with Category:Start-Class Ecuador articles, for example. Thanks. GregManninLB ( talk) 02:08, 4 May 2008 (UTC)
I use this code;
// ==UserScript== // @name Wikipedia - Nicer search box // @namespace http://userstyles.org // @description Here some improvements to the Wikipedia search box. This style add icons and modify the text area appearance. You can also use it in your personal monobook.css in your Wikipedia account // @author Nicosmos // @homepage http://userstyles.org/styles/4262 // @include http://wikipedia.org/* // @include https://wikipedia.org/* // @include http://*.wikipedia.org/* // @include https://*.wikipedia.org/* // @include http://* // @include https://* // ==/UserScript== var css = "@namespace url(http://www.w3.org/1999/xhtml); .searchButton { width: 20px !important; height: 20px !important; border: none !important; font-size: 0 !important; background-color: #FFF !important; } #searchGoButton { background-image: url(http://upload.wikimedia.org/wikipedia/commons/1/1e/Crystal_Clear_action_forward.png) !important; } #mw-searchButton { background-image: url(http://upload.wikimedia.org/wikipedia/commons/1/1b/Crystal_Clear_action_find.png) !important; } #searchInput { border: 1px solid !important; -moz-border-radius: 10px !important; padding-left: 8px !important; padding-right: 8px !important; width: 100px !important; border-color: #AAA !important; margin: 5px !important; }"; if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var heads = document.getElementsByTagName("head"); if (heads.length > 0) { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); heads[0].appendChild(node); } }
to customize the search bar on wikimedia project but it's not working. It original from this;
// ==UserScript== // @name Wikipedia - Nicer search box // @namespace http://userstyles.org // @description [en] Here some improvements to the Wikipedia search box. This style add icons and modify the text area appearance. You can also use it in your personal monobook.css in your Wikipedia account // @author Nicosmos // @homepage http://userstyles.org/styles/4262 // @include http://wikipedia.org/* // @include https://wikipedia.org/* // @include http://*.wikipedia.org/* // @include https://*.wikipedia.org/* // ==/UserScript== var css = "@namespace url(http://www.w3.org/1999/xhtml); .searchButton { width: 20px !important; height: 20px !important; border: none !important; font-size: 0 !important; background-color: #FFF !important; } #searchGoButton { background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Nuvola_apps_bookcase.png/20px-Nuvola_apps_bookcase.png) !important; } #mw-searchButton { background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/20px-Searchtool.svg.png) !important; } #searchInput { border: 1px solid !important; -moz-border-radius: 10px !important; padding-left: 8px !important; padding-right: 8px !important; width: 100px !important; border-color: #AAA !important; margin: 5px !important; }"; if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var heads = document.getElementsByTagName("head"); if (heads.length > 0) { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); heads[0].appendChild(node); } }
for greasemonkey. Can somebody tell me whats wrong? – ThatWikiGuy ( talk) 21:13, 8 May 2008 (UTC)
Hi, err can somebuild my a script where I can make google look like the monobook skin? More info here and here. Thanks. – ThatWikiGuy ( talk) 21:34, 9 May 2008 (UTC)
I was wondering if another tool could be made to close AfDs, similar to User:Johnleemk's CloseAfD which has apparently stopped working. Thanks, PeterSymonds (talk) 19:49, 18 May 2008 (UTC)
I'd like a link next to each change the watchlist that would help the user see at a glance which changes they have not looked into. I see two options: either 1) click a symbol to color-code a change as uninteresting/looked at (sort like the coloring-coding in the sidebar list of New Changes Patroller or RC Patroller) or 2) click a symbol hide/show any change. — eitc h 03:02, 22 May 2008 (UTC)
Can anyone make a script that moves the "User contribs" from the toolbox to cactions? Cheers, Thisis borin9 sign here! 17:59, 26 May 2008 (UTC)
addPortletLink ('p-cactions', '/wiki/Special:Contributions', 'User contribs');
to add it to the cactions. I'll work on removing it from the toolbox for you. –
ThatWikiGuy (
talk)
20:17, 26 May 2008 (UTC)
addPortletLink ('p-cactions', '/wiki/Special:Contributions', 'User Contribs'); var el = document.getElementById('pt-mycontris'); if (el) el.style.display = 'none';
– ThatWikiGuy ( talk) 20:55, 26 May 2008 (UTC)
if(wgNamespaceNumber == 2 || wgNamespaceNumber == 3) addOnloadHook(function() {
var c = document.getElementById('t-contributions');
if(!c) return;
var a = c.getElementsByTagName('a')[0];
addPortletLink('p-cactions',a.href,'Contribs','',a.title);
c.style.display = 'none';
});
Can someone also make a script that completely removes the language toolbar. I don't need it, and it helps for the floating sidebar. Cheers, Thisis borin9 sign here! 01:29, 27 May 2008 (UTC)
#p-lang {display:none;}
Can someone make a script that removes the "Contents, Featured content, and Current events" link from the p-navigation box? Thanks for all the help! Cheers, Thisis borin9 sign here! 19:50, 27 May 2008 (UTC)
<li id="n-featuredcontent"><a href="/info/en/?search=Portal:Featured_content">Featured content</a></li>
#id {display:none;}
#n-featuredcontent {display:none;}
Can I have a script that moves Article/Discussion, edit, history and move to a section at the top of the sidebar (but below the logo)? – ThatWikiGuy ( talk) 19:12, 26 May 2008 (UTC)
addOnloadHook(function() {
var pc = document.getElementById('p-cactions');
//change the ID, hides it from #p-caction styling in http://en.wikipedia.org/skins-1.5/monobook/main.css
pc.id = 'p-cactions-side';
appendCSS('li#ca-talk, li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {margin: 0 .3em 0 0; }');
});
Also;
#ca-edit a { font-weight: normal !important; font-style:italic; }
addOnloadHook(function(){ addPortletLink('p-personal','/wiki/User:' + wgUserName + '/monobook.js','monobook.js'); addPortletLink('p-personal','/wiki/User:' + wgUserName + '/monobook.css','monobook.css'); });
Can I have a script that will check scan User:ThatWikiGuy/Status for the words in, busy and out.
Thank you. – ThatWikiGuy ( talk) 19:09, 27 May 2008 (UTC)
As my p-personal is getting clogged up, can some body make a show/hide (</>) script which hides all but [the little man], [wp-user], my talk and my watchlist (shortened to w/list?). Thank you. – ThatWikiGuy ( talk) 07:31, 29 May 2008 (UTC)
I would realy appreciate a red link removal scipt that adds a remove this link in the popups script or a replacement for the popups with the red link removal tool built in, I cant get that to work.
Hintss (
talk)
02:38, 29 May 2008 (UTC)
In addition I dont want a popup script. Just make one that takes out the link after horering over it for two or three seconds
Hintss (
talk)
14:48, 29 May 2008 (UTC)
you're correct but I want it to also close the tab or window Hintss ( talk) 01:01, 31 May 2008 (UTC)
I'd love to see a script for Wikipedia, maybe with a Greasemonkey version, that changed each and every link to Wikipedia into its secure version.
Let me explain: while it's not possible to type https://en.wikipedia.org/wiki/Main_Page (notice the "httpS" bit), it is possible to access a secure version of Wikipedia at https://secure.wikimedia.org/wikipedia/en/wiki/Main_Page. This works for meta, commons, all language versions etc.
However, most people don't know this, and besides, when external pages link to Wikipedia, or Wikipedia articles themselves link to special pages in the form http://en.wikipedia.org/?blah or sometimes to images and other media stored at commons, we who prefer browsing at the secure site always end up reaching the non-secure version again.
Thus, a Wikipedia script able to change these links, when they appear on articles, to the secure version, would be very handy. And a Greasemonkey one able to do it to any external page's links to Wikipedia even more so.
Sooo, can someone please develop it/them? :-)
Thanks! -- alexgieg ( talk) 18:42, 11 June 2008 (UTC)
I would like to be able to click something on my watchlist page similar to "hide bot edits" which would toggle limits of what is reported based on the bytecount change number. For some kinds of articles I care most about when the byte count rises (material added), on other articles I care most about when it drops (material deleted). Low Sea ( talk) 21:30, 1 July 2008 (UTC)
I'd like an option to automatically add the {{talkback|My username|title of section on my userpage}} template to several users' pages when I click the submit button on my own talk page. I imagine the following near the [Submit] button:
Add {{talkback}} to the following users' talk pages: [ ] [[User talk:Example]] [x] [[User talk:Example2]] [ ] [[User talk:Example3]] [x] [[User talk:Example4]]
I'd love to make this script. I think I could make this, but I don't have time now. Remind me after April 2, and I'll make the script. Or just let someone else do it. In the meanwhile, chew on this:
addOnloadHook(function(){
if(wgCanonicalNamespace == "User_talk" || wgCanonicalNamespace == "User"){
var talkpage="User_talk:" + wgPageName.split(":")[1];
var link="http://en.wikipedia.org/?title="+talkpage+"&action=edit§ion=new&preloadtitle=Talkback&preload=User:Manishearth/Tb"
addPortletLink('p-cactions',link,'Talkback','ca-tb','Talkback', 't')
//document.getElementById('ca-tb').style.background='green'
}
)}
To use it you have to go to the page of whoever you want to talkback, click the "talkback" tab (it will be hidden in a down arrow in beta) and then save. But first, you must go to
Special:Mypage/Tb and type
ManishEarth
Talk •
Stalk
13:18, 25 February 2010 (UTC)
{{Talkback|(your username here)}}
to make the preload work (you only have to do it once).
Hi, I'm trying to make {{tl:hidden}} work on Wikiquote, but I need a special sort of tweak - I need a template that displays part of a line, and hides the other part of the same line. The outcome would look like something this when hidden:
And like this when shown:
Can anyone advise with this? bd2412 T 06:22, 11 July 2008 (UTC)
I don't know whether this aleady exists or not—heck, I don't even know whether this falls into the scope of what a JavaScript user script can do!—but is it possible to make a script that will choose a random page, much in the same way that Special:Random does, but you can do it within a certain category/namespace? Basically, when I visit a Wikipedia-maintenance-related category that has hundreds of pages, I like to be able to go through them randomly, not alphabetically. To do this, I have to keep clicking various pages, putting various parameters into the URL, etc.—it's a lot of unnecessary hassle, and I'm hoping there's a better way! If this is not possible, let me know. If such a script/tool/whatever already exists, let me know for sure! I'd greatly appreciate a reply on my talk page. :) — Skittleys ( talk) 11:38, 14 July 2008 (UTC)
I need the script which adds the external link in the right upper corner on all pages in main namespace (a few links).
Equadus (
talk) 12:29, 27 July 2008 (UTC)
Equadus (
talk)
10:30, 28 July 2008 (UTC)
When you type in a keyword which is slightly different(letter case, punctuation) from the true name of an article and you search for it, a "Redirected from..." mini field apppears just below the headline of the article and it's sometimes unpractical to copy&paste the true URL in order to avoid the inclusion of this field when you like to print the page(selecting the 'Printable Version' mode and then printing).
So, a user script which examines the list of all articles and automatically redirects you without the " (Redirected from ...)" field would be a good idea. A better workaround is to simply place more accurate redirects within the body of articles.
Ve4ernik ( talk) 13:46, 28 July 2008 (UTC)
@media print {
body.ns-0 div#contentSub {display:none}
}
The goal would be to have a simple way to browse wikipedia as it appeared on a given date in the past. This would be helpful in understanding the history of a discussion, as talk pages are often archived. The script would allow the user :
I have no clear idea of the user interface yet, but I'm willing to work this out further. I'm using FireFox. Pcarbonn ( talk) 16:41, 1 August 2008 (UTC)
Here is an initial test version of the program: User:Splarka/timetravel.js. You can copy it or use the code below in your js (which lets you get new versions automatically as I fix it). the UI is very ugly, but try testing it for functionality. Note that on a given page, there are actually quite a lot of links that aren't appropriate for time travel. -- Splarka ( rant) 09:29, 5 August 2008 (UTC)
if(wgAction == 'view') importScript('User:Splarka/timetravel.js');
If there was a gadget to display advertising relevant to the selected page, it could generate revenue for wikipedia. I would think that many people would select it, instead of giving money out of their pocket (I would). Pcarbonn ( talk) 07:24, 4 August 2008 (UTC)
Are you using a wide screen ? Wouldn't you want to have each sections of an article displayed in 2 or 3 columns, for easier reading ? A userscript should be able to do this, I would think. Any thoughts ? Pcarbonn ( talk) 14:25, 1 September 2008 (UTC)
Hi, I'm from the Simple English Wikipedia. I was wondering if you guys could make us a standalone script that gives a link somewhere to a new section of the second-last editor's talk page. You see, we revert, but then have to go back into the history to see which vandal it was, to go to their userpage, click "new section", stick in a warning and then save, which is rather long winded. Thankyou in advance, Micro chip 08 11:49, 3 September 2008 (UTC)
I am looking for something to make GA reviews a bit easier. I use the {{ GAList}} template and if I could hit a button say if I am on article Talk:Example/GA1 (or GA2, etc...) that this tab appears and gives me dialog boxes to fill out the parameters for this template.
Example:
I hit the GA review tab for the article above and the dialog pops up and asks "1a) It is reasonably well written: Prose?" and either have buttons for aye nay ??? or wtf which are the options that the template takes, or just a field for me to enter those in. The template also allows for comments, so after each section prompt me for comments on the section ("Comments for section 1?").
Thoughts? Can it be done? Thanks in advance -- Admrb♉ltz ( talk) 21:30, 7 September 2008 (UTC)
Hi. Could you please take a look at my proposal here: Wikipedia:Village pump (proposals)#Option to hide wiki-links in articles. If this is doable I'd be eternally grateful! Thanks. Zunaid 13:21, 16 October 2008 (UTC)
So, there is a very nice script to close AfDs, closeAFD, which makes it much easier to close them. I am sure most of you know it. XfDs, e.g. IfD, CfD, RfD, etc., though cannot be closed with it. This is not a good thing, because those areas sport huge backlogs at times and thus admins should have it easier to close them to clear those backlogs. That is why I am asking here for a XfD closing script, similar to closeAFD. If it's not possible to automatically delete things, it should at least be able to add the closing header and footer, as well as the result, easily with a simple click (maybe within the edit-button like AfD helper does for !votes on AfDs). Could someone tackle this problem please? TIA So Why 18:06, 24 October 2008 (UTC)
Hello, I want someone to make me a script based on the layout and color of Template:Talkback to create a more friendly version of the orange banner that comes up when someone posts to my talk page. Thanks. Techman224 Talk 01:16, 29 October 2008 (UTC)
.usermessage {
border: 1px solid RoyalBlue;
background: #bbdde1 12px 3px no-repeat url("http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Nuvola_apps_edu_languages.svg/40px-Nuvola_apps_edu_languages.svg.png");
padding: 15px 15px 15px 55px;
}
It works. Thanks. Techman224 Talk 16:52, 1 November 2008 (UTC)
Hiya. I know there's a script to add personal bookmarks to the sidebar already... what I'm looking for is an addition to my p-bar that will pop up a window filled with WP links/bookmarks defined by me (say, defined at /Links or wherever). Click on a link, window disappears, new page loads. I've been told this should be fairly simple. Would anyone here be able to do it? [ roux ] [ x 10:04, 7 November 2008 (UTC)
myBkmPage='/Links'
(default is /Bookmarks subpage). —
AlexSm
16:25, 7 November 2008 (UTC)
With all the scripts available, sometimes my screen is cluttered beyond belief. Also, I often don't need all the scripts in certain sessions: I don't need redirect indication or additional edit bar buttons when I'm on deletion patrol and I usually don't need automated speedy fill in when I'm article writing. Could someone write a script that allows me to selectively enable and disable scripts I have installed in monobook.js based on the contents of a particular user subpage (used as settings). Bonus points for whoever can integrate the Gadgets in the script. - MacGyverMagic 14:18, 16 November 2008 (UTC) —Preceding unsigned comment added by MacGyverMagic ( talk • contribs)
/* first the script gets current cookie value ...*/
if (currentMode=='writing'){ importScript(1); importScript(2)
}else if (currentMode=='xxx'){ /*...*/ }
I'm trying to implement bookmark functionality in my monobook. I snatched a function from another user that loads the contents of a user subpage into a dropdown and loads the edit and view links to it. But I was wondering if there is a method I can use to add the current page to that list with a button click? I'm not sure if this is doable in wikipedia as I can see some issues with security involved, but if it is, it would make my life much easier. I suppose I can do it the manual way and actually add those links to the page, but that's boring :P. aremisasling ( talk) 18:04, 25 November 2008 (UTC)
I've been referred here from my Help desk query: I do a fair amount of interlanguage editing and have a unified login. Is there some tool (script?) available (or in the works) that would provide a "New Message in :fl:WP" notification ("fl" being a particular other-language Wikipedia) when I sign on or refresh my screen, either in my "home" language Wikipedia or in whichever I happen to be working, without my having to enter each and all to discover where a new message may have been posted? User:Manticore suggests this may already be in development...? -- Deborahjay ( talk) 13:46, 12 December 2008 (UTC)
It would be great if someone could make more tagging scripts such as Wikipedia:WikiProject User scripts/Scripts/Unreferenced tool, Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js, and Wikipedia:WikiProject User scripts/Scripts/Quick wikify. It would be great if there could be a script that could add the stub template, and not have to go through any trouble searching through all the stub templates. Another quick tagging script I would also like is the ability to have a tag to tag pov in the edit window. ~ electricRush ( T C) 06:07, 13 December 2008 (UTC)
Hi there, I need a script that shows up on user pages and on clicking asks me to fill in the three fields (third one optional) of User:SoWhy/wcsd and then adds the template to the talk page with an edit summary like "Notice about incorrect tagging for speedy deletion". Should be quite simple to do, anyone want to help me out? Regards So Why 16:08, 27 December 2008 (UTC)
Add this to your monobook.js:
smConfig = {}; smConfig.smCustomForms = { 'uw-csd' : [ { 'prepend':'{{subst:uw-csd', 'append':'}}' }, {'title':'Page name', 'code':'1' }, {'title':'Criterion', 'code':'2' }, {'title':'Concern/reason', 'code':'3' }, {'title':'Additional text', 'code':'4' } ] }; smConfig.smMenus = { '+Citations ∨':{ 'Web':'citeweb', 'News':'citenews', 'Book':'citebook', 'Journal':'citejournal', 'Video':'Cite video', 'Show Refs':'showrefs','Ref Errors':'referrs', 'DOI Bot':'doicite' }, 'General ∨':{ 'Cleanup':'cleanup', 'Copy Edit':'copyedit'}, 'Intro ∨':{ 'Too long':'intro-toolong', 'Too short':'intro-tooshort', 'Rewrite':'intro-rewrite', 'Missing':'intro-missing' }, 'References ∨':{ 'No refs':'unreferenced', 'More refs':'Refimprove', 'No notes':'No footnotes', 'More notes':'More footnotes', 'Cite check':'citecheck', 'Prim Sources':'Primarysources' }, 'Fact':'fact', 'Weasel term':'weasel-inline', 'uw-csd':'uw-csd' }; importScript('User:Odie5533/SnipManager.user.js');
Made using SnipManager. -- Odie5533 ( talk) 04:50, 17 May 2009 (UTC)
I wish I'd found this project earlier -- I've just discovered the scripts for having a message prompt me that my watchlist has a new entry and for having an entry added to my watchlist when a page is added to a category I'm watching, both of which will be immensely useful.
I have three requests, two of which I believe would be replacements for scripts that are no longer working:
For what it's worth, I use both Internet Explorer and Safari, depending on whether I'm logged in at work or at home.
Thanks, Mlaffs ( talk) 16:07, 31 December 2008 (UTC)
I would like a script that automates the adding of improvement tags - preferably customizable so that I can choose any tag to be added. My goal here is to speed up the tagging of problematic fiction articles for clean-up. The two I'd need to begin are Template:In-universe/Comics and Template:Comics-real, as well as a subst: template of a talk page message discussing the article improvement drive these taggings are part of, and where to go to ask questions. But if the script can allow the switching of those for other templates (so I don't have to come back and ask for a new script every time I change what area I'm tagging) that would be ideal. Phil Sandifer ( talk) 15:45, 23 January 2009 (UTC)
I've installed a load of scripts in my .js at another wiki, and most of them add tabs to the top of the window, so I get something like this:
user page talk change this page history + move watch wikimark my wikimarks contributions diff purge
I know how to rearrange the order (by adding them in monobook.js in a different order), but I'm looking for a code to split them up slightly:
user page talk change this page history + move watch wikimark my wikimarks contributions diff purge
Is there a code to do this? Micro chip 08 16:39, 24 January 2009 (UTC)
Hi, I would like to add a simple link to the toolbox (on the left under the search bar) whenever I view an article. It should display when editing the article and also when just viewing. The link is to use this disambiguation toolserver tool, by passing the tool the article name. For example the toolbox link when viewing Channel Tunnel would be: this.-- Commander Keane ( talk) 05:52, 8 February 2009 (UTC)
function addToToolbox() {
if (wgCanonicalNamespace != "Special") {
var pTb = document.getElementById("p-tb");
var pRef = pTb.cloneNode(true);
var pStats = pTb.cloneNode(true);
pRef.id="p-refs";
pRef.innerHTML = "<h5>Disambiguation</h5><div class=pBody><ul></ul></div>";
pDisambig.id="p-disambig";
addPortletLink("p-disambig", "http://toolserver.org/~jason/disambigs_in_an_article.php?title=+wgPageName", 'Find disambiguations', '', "Find all links to disambiguation pages on the current page");
}
}
addOnloadHook(addToToolbox);
I noticed that a bad images filter script ( User:Mr.Z-man/badimages.js) that hides all images on the bad image list exists, but I thought that more could be done. When I noticed that an edit to a page where a user had removed (censored) a "bad word" on it, it got me thinking (after all Wikipedia is not censored)... These bad words don't bother or offend me, but maybe something should be done for those users of which it does offend. So, what I'm asking here is for a "bad word" filter script to filter out (or censor) bad words (such as fuck, bitch, cunt, ass/arse, etc.). For example, words such as "fuck" would be replaced with "f*ck" or "f***", but would would not be filtered/censored on articles of with these words apply to the subject matter (i.e. Fuck, Ass, Cunt, etc.), just like it is with the bad images filter. This would only affect the user of which such words are displayed and would not change the article's content. -- Lightsup55 ( T | C ) 21:34, 9 February 2009 (UTC)
Would anyone be interested in whipping up a script that would take two pagenames (preferably including the option for section links) as input, and plaster the appropriate merge templates and such in the right places? // roux 22:15, 13 March 2009 (UTC)
Hi, I was wondering if someone had any clue of how to whip up a hide reverted edits script for the watchlist. This may be more of a mediawiki request than a user script though. I'd just like to make it so I don't have to spend time chasing edits which have already been reverted.-- Terrillja talk 05:55, 19 March 2009 (UTC)
Could anyone please make this script MediaWiki compatible so that it could be added in monobook.js? Thanks.-- Wcam ( talk) 01:42, 10 April 2009 (UTC)
Could someone please create a basic script which would create awards lists? I'd just like the start of the script and I'll create the rest of the awards. The script would be like reftool with a button which when clicked would display multiple options. The first thing is "when was the film released:" with a drop-down list where one can choose a year. After he clicks that, multiple options get displayed: every award available at that time. Each award would have a multiple category awards. Which each have a reference tab and a receiver tab. The tool would automatically enter the date of the ceremony link it to the article of the award at that year. It would also link to the Award category article automatically. If the film has received multiple awards it would create a rowspan at the date of the ceremony and the award name. The idea is to have a similar layout to this: List_of_awards_and_nominations_received_by_WALL-E (Awards and nominations). I will create a mock up in a minute.-- Diaa abdelmoneim ( talk) 10:21, 12 April 2009 (UTC)
I would like someone to make a variation off the simplevote script that would work on talk pages, and pages in either [[[:Category:Non-talk pages that are automatically signed]] or
Category:Non-talk pages with subpages that are automatically signed. Just make two options for now and tuck it in
I made it, it's at
User:Ipatrol/bitbox.js. Could I have help debugging it?--
Ipatrol (
talk)
21:48, 12 April 2009 (UTC)
User:Ipatrol/!vote.js
, I will add the rest of the options.--
Ipatrol (
talk) 15:55, 12 April 2009 (UTC)
Can someone please update or create a fork of User:Tim Laqua/Scripts/formatRecentChanges.js? This script transforms Special:RecentChanges into a table. It would be nice if you could make it resemble mw:Extension:TransformChanges (see it in action here). It would also be nice if the script could change Special:Watchlist, Special:Logs, and history pages into tables too. -- Michaeldsuarez ( talk) 13:03, 10 May 2009 (UTC)
Bounty up for grabs for a script or extension that can be used to aggregate multiple watchlists without a client-side application. Any preexisting tools that'll already do the job? MrZaius talk 19:52, 16 May 2009 (UTC)
A script that automatically adds wikilinks to an article. Smallman12q ( talk) 15:02, 17 May 2009 (UTC)
I'd like to see a highlighting script that is easy to deploy and does not dramatically alter the editing window. It should not add new functionality but rather clarify the text already there. I envision it similar to wikiED but without all the buttons. The script ("hi-lite"?) should differentiate between article text and headers, images, templates, references, and various other syntactical features. As an added bonus, can you figure out a way to hide references, so anything enclosed in <ref></ref> tags does not appear when the user says so?
I have a preliminary color scheme worked out, although if there are conventions I'm unaware of, use them instead:
If something falls into more than one category, it should be colored according to the category the farthest down on the list. I think that such a script would be very accessible and useful to new and non-technical Wikipedians. I will make editing much easier and inviting. If I lost you in the details, I'll be happy to work them out later, as long as we can agree that the concept is valuable. Thank you in advance.-- HereToHelp ( talk to me) 21:45, 2 June 2009 (UTC)
Would it be possible to have something that would do unprodding and the associated posting to the prodder's talk page and {{prod2}}s? Jonathan Hall ( talk) 14:35, 3 June 2009 (UTC)
Hi together. This is a request that probably only admins can fulfill, if at all. Currently, deleting a page forces an admin to load a new page that contains little more than a dropdown menu, a reason field and a button. Since this is a wasted pageload and quite annoying if going through pages in a quick fashion, I was wondering whether someone could create a script that overlays a simple deletion options menu when clicking on the "delete" tab and allows to directly delete a page from there without having to load the deletion-page first. Does anyone think this can be done and if so, is anyone willing to do so? Regards So Why 09:12, 9 June 2009 (UTC)
Requesting a script that puts two additional links against entries shown on Special Contributions
i) (diff to current) - Provides a link to a page comparing a specfic revision page to the current version of that page.
ii) (before this to current) - provides a link to a page comparing the revision of a specfic page one revision previous to the specfic revision in the edit history entry concerned, against the current version of the page.
Sfan00 IMG ( talk) 16:44, 6 July 2009 (UTC)
Google Books released a new feature called Embedded Viewer [3] [4]. It's like the embed tag of YouTube videos. The request: If a refernce to a book has an ISBN number and a page number, this script will show the citation in an embedded view. I use Firefox. Thanks. Dy yol ( talk) 17:46, 6 July 2009 (UTC)
Sfan00 IMG ( talk) 17:54, 6 July 2009 (UTC)
Not sure if this is possible, but it would be quite useful. As it stands now, I just bug User:WOSlinker to do it for me =) – xeno talk 20:00, 8 July 2009 (UTC)
I'm hopeless with javascript. What I'm looking for is a simple script to add links to WP:AIV and WP:UAA to the bottom of the navigation box on the left, just above the search box. Simple script, but I can't figure out how to code it. Thanks. — Ledgend Gamer 09:44, 10 July 2009 (UTC)
var linkArray = new Array(['id', 'full URL', 'link text'], ['id', 'full URL', 'link text']);
I'm requesting a script that would give me a link/tab/button that when clicked on, would automatically open a talk page I'm on and paste the following code at the top of it:
{{User:MiszaBot/config |archiveheader = {{Talkarchivenav}} |maxarchivesize = 80K |counter = 1 |minthreadsleft = 1 |minthreadstoarchive = 1 |algo = old(15d) |archive = Talk:PAGE NAME/Archive %(counter)d }}
This script would also add "Set up of auto archiving" to the edit summary. The script should not, however, save the page automatically but leave it in its editing state so I may make manual changes to the MiszaBot parameters if need be. - ALLST✰R▼ echo wuz here 20:36, 11 July 2009 (UTC)
Mm. Yeah, sorry, I was being a bit sarcastic. Is there a reason why you can't just copy and paste that text into articles that you want to put it in, then edit and save? Either way, I put together a small script that should do what you want. Add importScript('User:Ale_jrb/Scripts/allstarArchiver.js'); to your monobook.js. It should put a link, 'Add archive template' to the top of the toolbox. Clicking it will load the edit page and add the text to the top of the edit box, and fill in the edit summary. Ale_Jrb talk 10:52, 12 July 2009 (UTC)
Yeah, you can change where it adds it. Replace 't-whatlinkshere' with the ID of the element you want it to be next to (to put it next to the move tab, for example, use 'ca-move' instead - these are all listed in the page source). If you want it on the left use 'before', it you want it on the right use 'after'. Ale_Jrb talk 17:12, 12 July 2009 (UTC)
As a regular user with rollback, when I'm viewing my watchlist, at the end of each entry I have a [rollback] link and [sum] link (the sum link is courtesy of User:Gracenotes/rollback.js). I think a useful script would be one that would add an [unwatch] link as well to unwatch a page on the fly rather than having to to the actual page and then click unwatch.
Example of what I see now:
Example of what I'd like to see:
Anyone up to making this happen? - ALLST✰R▼ echo wuz here 03:03, 13 July 2009 (UTC)
Is there any scripts to add all articles in a category(recursively) to watchlist ? -- naveenpf ( talk) 01:50, 26 July 2009 (UTC)
The idea is so that, in reviewing a watch list, you have an option not just to diff the last edit, but also with one click to diff what's changed in (perhaps) the last 10 edits. This would make it easier to catch vandalism or other bad edits that were quickly covered up, and just to keep track of articles generally. A cool feature would be if the length could be adjusted, so maybe I had a one click ten edit compare, but others had a one click 20 edit compare and so on. Mackan79 ( talk) 07:46, 28 August 2009 (UTC)
I don't know if this could be solved with a user script, but it's always seemed like such a pain to find diffs for talk page edits. Is it impossible for some reason that the sig could link the diff for that comment? Maybe even just for the edit that placed the sig, if you couldn't get later changes or unsigned edits.
A related tool might offer some way to trace any content to the diff where it was added, on a talk page or elsewhere. I'm sure that's more difficult, but I'm thinking maybe something like a color view, where every series of text was color coded and linked to the last edit to add or move it (defined maybe in the same way as the red text on a diff page). Or maybe not color coded, but a pop up link with any text you hovered over. Mackan79 ( talk) 08:12, 28 August 2009 (UTC)
A script that is included on the upper dragging links, defined by the user's parameters. This script, when applied, will ask the user what template he would like to add. The user must input the name of the template, with no {{ }} and the script will automatically add the template with the {{ }} symbols on below the last section of the article. This is only applicable for the templates that are for not on sidebars.-- JL 09 q? c 12:53, 8 September 2009 (UTC)
An editor said "the average response time is about never" for help here. Can someone prove this kind editor wrong and make me the exception to the rule? ;-)
As I wrote at Wikipedia:Vpt#Pop-ups I would like a monobook.css script which allows editors who modified their monobook.css to see pop-ups on one page. The pop-ups would be scrapped google hits.
The google hits is all ready taken care of, the google hits will be scrapped from autohotkey, the pop up wikiscript will be added to the scraped results, and I will manually add them to a subpage of a wikiproject.
So what I am interested in is:
In return for your hard work, I offer:
Ikip ( talk) 17:34, 13 September 2009 (UTC)
Do we have any script that like the Afd nomination tool, it will nominate a template for deletion?-- JL 09 q? c 00:43, 16 September 2009 (UTC)
We need a parameter passed to Mozilla (and probably other engines as well) that are based on the English variant so our "misspelled" words are indeed, mispelled for that variant, and not merely misspelled for the variant we have hard-selected from Mozilla.
This may require a bot to go through and set that parameter for known articles, i.e. "American variant" would be placed by the bot for all articles the bot could identify as American. Having said that, there are a lot left over which we would have to do manually. Student7 ( talk) 20:36, 5 October 2009 (UTC)
I would like a button that can just subst a custom template to a talk page. If I knew how, I would do it myself, as it seems easy enough, but...-- fetch comms ☛ 03:26, 27 November 2009 (UTC)
Is there a userscript around that can be used to convert a page with a large amount of references to use the WP:LDR method of referencing? Peachey88 ( Talk Page · Contribs) 02:19, 5 December 2009 (UTC)
Anytime you click on a link that has Longitude/Latitude information, you are transferred to a page that asks you how you would like to view the map info.
Since I prefer Google Maps, Maps view, is there a script that can bypass this step?
thanks DarkStarHarry ( talk) 17:13, 14 December 2009 (UTC)
This is probably not a well explained request, but it would be useful to have a function to get an image description for an [[:File:Foo]] based on, the captions that image has on pages it is included inAs [[File:Foo|<params>|caption] .
All this would need to do is provide a text string that could be copy pasted or inserted in to an image description box on the relevant file page..
Is this possible to do, and in a manner that would be compatible with tools like FURME and TWINKLE? Sfan00 IMG ( talk) 22:03, 5 January 2010 (UTC)
This seems simple enough, a script which adds a tab to the when in the user or user talk spaces which when clicked blanks the page and adds {{ indef}} to the page. Just looking for a nice clean, quick way to do it.-- Terrillja talk 04:31, 9 January 2010 (UTC)
I have written a script to pass through the GeoHack page once a user clicks on a link with map coordinates.
It's not working. Can someone help me debug? My knowledge of JavaScript is limited.
Thanks, Harry
Script located at User:DarkStarHarry/externMapCoords.js
DarkStarHarry (
talk)
14:26, 13 January 2010 (UTC)
function replaceGeoHack(){
var coord_filter = /¶ms=([\d.+-]+)_([\d.+-]*)_?([\d.+-]*)_?([NS])_([\d.+-]+)_([\d.+-]*)_?([\d.+-]*)_?([EOW])(\b[^&]*)/;
var existingMap = "http://stable.toolserver.org/geohack/geohack.php";
var newMap = "http://maps.google.com/maps?ll={lat},{long}";
var lat,lon;
var links = document.getElementsByTagName('A');
var link;
for(var i=0; (link=linksi]); i++){
if(link.href.indexOf(existingMap) == 0 && coord_filter.exec(link.href)) {
lat=(1.0*RegExp.$1) + ((RegExp.$2||0)/60.0) + ((RegExp.$3||0)/3600.0);
if(RegExp.$4=='S') lat*=-1;
lon=(1.0*RegExp.$5) + ((RegExp.$6||0)/60.0) + ((RegExp.$7||0)/3600.0);
if(RegExp.$8=='W') lon*=-1;
link.href=newMap.replace('{lat}', lat).replace('{long}', lon);
}
}
}
addOnloadHook(replaceGeoHack);
My request is a script that makes the search button on the sidebar into a link (allows search new windows, tabs, etc.) similar to the "Compare link" script. It would be great if it was compatible with the "Multi-NS search" script. I use firefox. Thank you. Sole Soul ( talk) 04:37, 21 January 2010 (UTC)
document.getElementById('searchform').innerHTML+='<button type="button" onclick="window.open(wgServer+\'/wiki/\'+document.getElementById(\'searchInput\').value)"><img src="http://bits.wikimedia.org/skins-1.5/common/images/magnify-clip.png"></button>'
ManishEarth Talk • Stalk 11:24, 27 March 2010 (UTC)
is there an existing script or simple way to write a script that will offer a button to insert the {{prod-2}} template below an articles respective prod? andyzweb ( talk) 20:50, 21 January 2010 (UTC)
Would it be technically possible to create a user script that always links images within page content? WP:ALT specifies that decorative images (like flags, highway shields, etc.) not be linked for accessibility reasons; I find the missing links makes it more difficult for me to investigate who created the image and determine its naming scheme so that like images can be uploaded. Ideally such a script would override the wikitext when the "link=" param is set to blank but go ahead and allow it to work if it's being used to actually link to some other page (as sometimes occurs in editing tools, etc). Thanks! — Scott5114 ↗ [EXACT CHANGE ONLY] 16:05, 29 January 2010 (UTC)
A search box to search inside the subpages of the current page. Sole Soul ( talk) 22:17, 1 February 2010 (UTC)
I use User:Ais523/catwatch.js, its incredibly useful to me for things like attack pages and requests for unblock etc, but because I'm in the UK and we're forward an hour now, new pages in the categories i'm watching appear are listed as being an hour earlier than they are to me, so I keep missing them. Is there anyway to change that in my vector.js?-- Jac16888 Talk 02:16, 30 March 2010 (UTC)
Could a script be made to show the activity of a user? It happens a lot when I search through a list or category of users (for example: members of a wikiproject, some-language-speaking users category...), for contact, most of the time, I end up posting for inactive users. I started the habit to check before posting the contribution page of each user to see whether he's still contributing or not. But It's a tedious task. It would be better if the link to an inactive user (which could be defined as someone with no edits in the last month) be highlighted (just as broken links or stubs are colored in red). Is this possible? Thank you. Eklipse ( talk) 21:52, 15 June 2008 (UTC)
Here is my idea: I want to make a javascript that's a tab that will scroll down when pass the cursor over it. Basically it will create a insect page based on the options Family, Genus, and Species like an "easy start". When you click on Family, it will create the page your currently on with User:Bugboy52.40/sandbox1 (used <pre>), Genus: User:Bugboy52.40/sandbox2, Species: User:Bugboy52.40/sandbox4. Thanks in advance, this tool would make my life easier! Bugboy52.4 ¦ =-= 21:25, 22 December 2009 (UTC)
Would it be possible to have a script similar to User:Dschwen/HighlightRedirects, but which highlights links to disambiguation pages instead? PC78 ( talk) 15:09, 13 September 2009 (UTC)
Splarka's excellent script doesn't work with Vector skin. I asked about it at User talk:Splarka#dabfinder 3, and after checking here it turns out I had the exact same request as PC78! So, could some code-genius adapt Splarka and Dschwen's scripts, so that dabfinder works as well as highlightredirects? (Note: I used to use Anomie's linkclassifier, but it made large pages (like Village Pumps, or FA-length articles) take far too long to render on my meager machine). Alternatively, could Anomie's linkclassifier be made to only run-on-demand, rather than autoexecute on every page load? Thanks. -- Quiddity ( talk) 20:26, 17 April 2010 (UTC)
I'd like to get the links in the sidebar portlet, to the languages that I can read, highlighted/bolded.
e.g. all of the [de:] and [fr:] and [ja:] and [simple:] links.
Possibly this already exists, but I couldn't find it in the list/archives. Thanks :) -- Quiddity ( talk) 08:40, 15 December 2009 (UTC)
li.interwiki-ru, li.interwiki-en {text-align:right; margin-right:10px}
Now (with new Wikipedia interface) it doesn't work... Do you have any ideas, how to highlight / margin some interwiki language. -- Andrew Krizhanovsky ( talk) 10:54, 18 May 2010 (UTC)
Howdy. I'm looking for a user-script that can pick up a couple of extra parameters in an edit link, do a search-and-replace in the edit box and populate the edit summary box. Example:
Ideally, the edit box would be scrolled to the first instance of the "search" parameter, the matched text replaced with the value of the "replace" parameter and left highlighted to make it easy to check. The edit summary box would be pre-populated with something like "Fixed link to <replace>".
If anyone has anything close I can adapt it, but my scripting skills are rather rusty. - TB ( talk) 14:33, 24 May 2010 (UTC)
Many template documentation pages include a blank copy of the template, which can be selected, then copied, and pasted into an article. Would it be possible to have a script which inserts a link or button before the blank, so that when the link/ button is clicked, the blank is copied to the clipboard? I realise that this might require some sort of wrapper with a defined class, around the blank. (I use Firefox under WinXP; but I'd hope this would be available to most, if not all, users). Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 09:23, 30 May 2010 (UTC)
Hi. I'd like to request a script (either CSS or JS, I'm not fussed) to replace the Star in the upper bar on the Vector skin (which adds an article to the user's watchlist) with the word "Watch". It doesn't seem like much of a usability enhancement to add a symbol for a very common function and not give any explanation as to what it's there for, or I wouldn't have spent almost 40 minutes looking for it, only to have to resort to asking the mediawiki channel on IRC whether they'd added a watchlist link to vector :) Anyone who can help, I'd be most appreciative! BarkingFish Talk to me | My contributions 03:43, 18 June 2010 (UTC)
I'm looking for a script that will remove the majority of disclaimers, terms of use notices, and other text not essential to just making an edit. Is there such a thing? Thanks>> Ocaasi ( talk) 03:47, 24 June 2010 (UTC)
div#editpage-copywarn, div.mw-tos-summary, div#editpage-copywarn2 { display:none }
in their
personal CSS to hide legal notices. —
AlexSm
13:00, 27 June 2010 (UTC)I have
User:Zvn/confirmwatchlistrollback.js in my monobook.js (which is transcluded into vector.js) and am using vector. However, I just accidentally clicked rollback from my watchlist and did not get the confirmation popup that the script is supposed to request. Knowing very little about script programming or css, I'm assuming that some element name is monobook-specific and am wondering if some simple recoding can make it compatible with vector. I'd ask the original author, but they're an indef-blocked sock. —
DoRD (
talk)
21:36, 23 June 2010 (UTC)
Can Wikipedia:WikiProject User scripts/Scripts/Six tabs have a variant created that's compatible with the vector skin?
I've been trying the vector skin on en.WP (it has been rolled out on other projects, but still in beta on en.WP). This script currently doesn't work on vector, only with monobook. Unfortunately, it is the one thing I miss most that could cause me to switch back to monobook. --- Barek ( talk • contribs) - 07:25, 22 April 2010 (UTC)
Redesigned for Vector at
user:js/6tabs-vector (I was the author of original script for Monobook). —
AlexSm
21:34, 2 July 2010 (UTC)
I propose that there be a script to make past offenders' (users and i.p. that have been warned for vandalism) changes be in bold in the recent changes page to indicate that they have a higher risk of being vandalism. This could be an invaluable tool for vandal fighters.-- Iankap99 ( talk) 05:15, 2 July 2010 (UTC)
Is there a script that tags the talk page of the page you are viewing for a specific WikiProject? AirplanePro Radio Checklist 20:57, 6 August 2010 (UTC)
Have looked for this functionality in WP's search engine, and existing user scripts but have not found it, and that is I would like to perform a search that looks for string "rugby union" in article title (or article body) and then search if the WP rugby union banner template is not on the talk page. Am sure that a number of projects would apprecoiate a tool like that... ANYONE? SauliH ( talk) 05:12, 2 July 2010 (UTC)
The Watchlist lists watched pages in chronological order based on recency of last edit. For maintenance purposes, it might be useful to have a Reverse Watchlist (same thing in reverse chronological order), to see "neglected pages". Is this possible as a userscript? Rd232 talk 15:47, 19 August 2010 (UTC)
Currently, only edits tagged with the edit filter tag feature appear on the recent changes page. This is a request to add a similar feature to all edit filters. I have a suggestion on how this is can be done:
Sole Soul ( talk) 04:20, 24 August 2010 (UTC)
Please review the following script. I am trying to make a test page with this code.
var req = sajax_init_object(); req.open('GET', wgScriptPath + '/api.php?action=query&prop=info&format=json&intoken=edit&titles=' + encodeURIComponent("Test"), false); req.send(null); var info = eval('(' + req.responseText + ')'); for (var id in info['query']['pages']) { var page = info['query']['pages'][id]; if (page['edittoken']) token = page['edittoken']; } alert ("Edit Token: "+ token); // Is there anything wrong with the code bellow? var postdata='action=edit&title=Test&summary="test"&text="testpage"&token=' + token req = sajax_init_object(); req.overrideMimeType('text/xml'); req.open('POST', wgServer + wgScriptPath + '/api.php?, true); req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); req.setRequestHeader('Content-Length', postdata.length); req.send(postdata);
-- Sadik Khalid ( talk) 09:30, 2 September 2010 (UTC)
Feasible? I was thinking about the {{
Top icon}}s {{
Featured article}}/{{
Featured list}}/{{
Featured portal}} and {{
Good article}} and I thought it might be handy to have a script that does the same thing for all of the other assessment classes (possibly excluding namespace classes like Portal
, Book
, or Category
as being redundant.) The way it would work--as someone who does not know enough scripting to save his life--is that it would "read" the talk page of an article and find the WikiProject banner(s) that have the Class=
parameter and then assign that rating to the article with a small icon at the top right to alert editors of what--if any--class has been assigned to the article.
Further ideas that could be useful:
Stub
, then users can click on the top icon and be directed to the appropriate WikiProject for more information on how to expand it (in the case of multiple banners, just choose the first one.) Alternately, go to the stub category and users can be directed from there on which WikiProject has adopted that set of articles.Unknown
class or an empty class, then users can click on the top icon and be directed to http://en.wikipedia.org/wiki/Talk:PAGENAME&action=edit§ion=0 to edit the banner(s) and easily apply a rating. I know that this would encourage me to rate more articles, especially stubs.Importance
as well, somehow: through a background color to the icon, a tooltip, etc.Below, I have displayed the class icons from {{ Class/icon}}; see a full list (without all of the nice buttons) at {{ Cat class}} and the color definitions at {{ Class/colour}}, in case that is necessary.
Bplus
is only used by
two projects; I suppose that they can just get "B" ratings...Current
, Future
, Merge
, Needed
, Deferred
(???), Sl
(???), and User
.Does this seem like a feasible or useful feature to anyone else? Does someone want to adopt this project and make a script that provides this functionality? Thanks. — Justin (koavf)❤ T☮ C☺ M☯ 03:37, 20 October 2010 (UTC)
Addendum I primarily use Firefox to edit. — Justin (koavf)❤ T☮ C☺ M☯ 03:40, 20 October 2010 (UTC)
Moved To here, per the proposal above. Please continue the discussion there, if anyone is interested. Thanks. — Justin (koavf)❤ T☮ C☺ M☯ 06:05, 20 October 2010 (UTC)
It would be very useful to be able to trigger these four tools ( Automated PR · Dab solver · EL checker · Alt text viewer) from the toolbar. Of course, not everyone would need all four, so a modular approach would be best. Headbomb { talk / contribs / physics / books} 08:40, 18 September 2010 (UTC)
var qqToolConfigCustom=true; //We want a custom config
var qqWhichToolBar="tb"; // "cactions" for top, "personal" for very top, or "tb" for sidebar toolbox
// (The following) Which tools? true for yes - false for no
var qqPeerRev=true;
var qqAltImg=true;
var qqDablinks=true;
var qqExtLink=true;
importScript('User:QwerpQwertus/tools.js'); //And then import the script now that we've set our settings for it
Just add that to your vector.js (I think it'd work in monobook too - not sure though). You can set whether it should be in the personal, caction, or tb portlet areas and which tools you want, or just use default settings. Is there anything else you'd like to add or change on it? :) ~ Qwerp Qwertus Talk ツ 02:14, 4 November 2010 (UTC)
Does anybody have a user script that, on a category page, allows me to use the arrow keys to move through blocks of links, as if pressing the "next 200" button at the bottom of the page? I pretty much want something that functions the same way that it does on the website http://www.funnyjunk.com/. Although something like this will probably be easy to make compatible for multiple browsers, for all intents and purposes I am using the browser Safari. I'd prefer it if you could put a note on my talk page if you have something for me. Thanks. -- vgmddg ( look | talk | do) 23:00, 28 November 2010 (UTC)
A script or tool to compare the source code of two versions of an SVG file would be helpful. It seems that there was once a project on sourceforge with that goal. Would anyone be willing to write such a script or tool? -- Leyo 22:12, 7 December 2010 (UTC)
A script that searches texts in edit summaries within a history page, a user contribution page or the recent changes page. Sole Soul ( talk) 13:25, 16 December 2010 (UTC)
Hello! This is for maintenance purposes. Specifically for searching for external spam. Is it possible to create, next to each external link, a small "search-more-like-this" link to bring a quick access to Special:LinkSearch with that url preloaded? It would look like this:
The link itself may be a single word more. Thanks! Gustronico ( talk) 07:04, 15 February 2011 (UTC)
addOnloadHook(function() { var a = getElementsByClassName(document,'a','external'); for(var i=0;i<a.length;i++) { var href = a[i].href; if(href.indexOf('//') == -1) continue; href = href.substr(href.indexOf('//')+2); if(href.indexOf('/') == -1) continue; href = href.substr(0,href.indexOf('/')); var newa = document.createElement('a'); newa.href = wgScript + '?title=Special:Linksearch/' + encodeURIComponent(href); newa.title = 'Special:Linksearch'; newa.style.fontSize = '80%'; newa.appendChild(document.createTextNode(' (more)')); a[i].parentNode.insertBefore(newa,a[i].nextSibling); } })
Looking for a script that finds URLs in an article (i.e. http://www.example.org/
) and creates a new link by adding a prefix to the URL that links to a cached version of the URL. It would be similar to this script used on the French Wikipedia.
Utilisateur:Pmartin/cache.js
More specifically I would like 4 links added to each URL. These would link to cached pages at Wikiwix, WebCite, Internet Archive and Google. These are the prefixes.
http://wikiwix.com/cache/?url=
{{{URL}}}http://www.webcitation.org/query?url=
{{{URL}}}http://web.archive.org/web/*/
{{{URL}}}http://webcache.googleusercontent.com/search?q=cache:
{{{URL}}}It would be nice if the links showed up as ( Wikiwix, WebCite, Internet Archive, Google). But it's not that important. Any help is greatly appreciated. Thanks. - Hydroxonium ( H3O+) 22:57, 16 February 2011 (UTC)
I think the title is self-explanatory. Can anybody help me out? Thanks in advance. – CWenger ( talk) 04:43, 12 March 2011 (UTC)
if (mw.config.get('wgAction') == 'edit' && mw.config.get('wgNamespaceNumber') == 0)
$(function(){
$('#wpMinoredit').attr('checked', true)
})
Looking for a tool to capture the current URL and pass it to the W3C Markup Validation Service in another tab. I use FireFox 3.6. ---— Gadget850 (Ed) talk 15:56, 12 March 2011 (UTC)
It looks like a few scripts have been developed many years ago to quickly see how an article's developed (e.g. http://waxy.org/2005/06/wikipedia_histo/ & http://userscripts.org/scripts/show/1418). But they seem abandoned and no longer work for me :( Using the built-in history page and clicking "compare revisions" 20 times is too slow..
IBM has a really promising tool ( [5] [6]) but it's not open-source, not integrated into the browser, and seems abandoned as well.
Something like this would be really useful to:
A project like this can perhaps become a new version of WikiBlame (which is being linked to from the built-in history page) - see [7]).
-- eug ( talk) 04:26, 2 April 2011 (UTC)
It would be something along the lines of email. Have a little checkbox to the left of watchlist entries to mark them as read. Upon refreshing the page, the checked entry would fall off the page (but not off the main watchlist list).
You will see that the devs think that this can be done in Java JavaScript. I use both IE8 and FireFox to edit in the Vector skin, and I already have a short script in my vector.js file (from
WOSlinker) to keep the Minoredit box checked on edit pages. –
Paine Ellsworth (
CLIMAX )
17:13, 27 March 2011 (UTC)
AlexSm, I've been mulling over what you said about the 4Kb cookie size limit. I would be very happy with being able to check off a checkbox (it would have to stay checked off, even if I leave the watchlist and then come back to it) and forget about the item dropping off the list. Just checking off a box would be a ready cue that the item has been read and needs no further attention. The item would be clearly separated out from other items that I do want to come back to (the unchecked boxes). So the js code for making the items drop off the list is probably "overkill". How about a javascript that would add checkboxes to the left of each item on the list that, once they have been checked off, will remain checked off even if I leave the watchlist and then return. To me, that's even better than the unread items being bolded, although, since that's been done for others besides enwiki, maybe that would be easier to js encode than the checkboxes? – Paine Ellsworth ( CLIMAX ) 18:13, 13 April 2011 (UTC)
I had brought up the idea before, however no one had time to create it, what about now?
Here is my idea: I want to make a javascript that's a tab that will scroll down when pass the cursor over it. Basically it will create a insect page based on the options Family, Genus, and Species like an "easy start". When you click on Family, it will create the page your currently on with User:Bugboy52.40/sandbox1 (used <pre>), Genus: User:Bugboy52.40/sandbox2, Species: User:Bugboy52.40/sandbox4. Thanks in advance, this tool would make my life easier! Bugboy52.4 ¦ =-= 01:10, 28 March 2011 (UTC)
Should I copy/paste to my own userspace (as User:Bugboy52.4/insect templates.js) or have the script added to my monobook (basically are you going to delelte the page as you don't necessarilly need it) ? Bugboy52.4 ¦ =-= 12:48, 20 April 2011 (UTC)
I use both IE and Firefox, It doesn't work I Firefox. I look in my toolbox when editing, and I do not see anything. Bugboy52.4 ¦ =-= 01:09, 22 April 2011 (UTC)
I don't know, it is still not working, what can be wrong? Bugboy52.4 ¦ =-= 20:15, 25 April 2011 (UTC)
Is there a script to format citation templates? I was trying to look for one but couldn't find anything. Here's what I want it to do:
Has this been done before? If not, It'd be really neat if someone could cook it up. I'm tired of doing this manually :P -- Waldir talk 14:01, 15 May 2011 (UTC)
Would it be possible to write a script to highlight misspellings from a list at the article main space? That would make copy editing a lot easier. I use Firefox 4.1, but I am sure many users would want that functionality. Crisco 1492 ( talk) 06:10, 7 May 2011 (UTC)
I am sure making an RfA closer would make closing RfA's easier. Baseball Watcher 22:13, 10 May 2011 (UTC)
So I'm trying to edit a giant table ( List of Tecmo Koei games). I created this template by hammering a bunch of smaller lists into one giant one, and I am slowly going through and cleaning it up. I did it quickly so I could do a smoother company page merger, but now the table is huge and it is slow going. What would be neat-o is a script that could tell that I'm looking at a wikitable, and let me edit individual fields WYSIWYG-style, like WP:HOTCAT. Ideally it would let me store up minor edits and save all-at-once, so I'm not saving hundreds of tiny edits. I've not seen a script that does anything like this. Does this sound useful to anyone else, and would anyone feel confident making such a script? It would be an awesome gadget. ▫ JohnnyMrNinja 10:24, 22 June 2011 (UTC)
Dear friends; I need a few line of JavaScript code for my Monobook.js page which should make a partinal manipulation for lincs when a page is loaded. It should be possible to configure this via three strings. Assume the JavaScript should manipulate only the links of url type urlfixstart_A+urltrailer and should give me the possibility to access urls of url type urlfixstart_B+urltrailer. The link name of the manipulated link should be modified to stringC+original_link name. There are two solutions:
Usage: One can imagine that someone would like to look only at page history; another would like to have cklikable links both to pages and to associated talk pages.
I appreciate all your efforts and thank you in advance. Best regards
·
לערי ריינהארט·
T·
m:
Th·
T·
email me·
07:55, 20 July 2011 (UTC)
Thanks for any help in advance! 12:42, 22 July 2011 (UTC)
Please amend Per discussion here, it appears that Wikipedia:WikiProject_User_scripts/Scripts/Formatter is mis-sorting. Can someone fix this? — Justin (koavf)❤ T☮ C☺ M☯ 16:35, 11 August 2011 (UTC)
I have three separate requests regarding the edit filter log interface:
Sole Soul ( talk) 02:09, 29 October 2011 (UTC)
(Cross-posted to mw:Gadget kitchen/Requests)
The Wikimedia Foundation folks organizing education programs around the world (where students improve Wikipedia articles as an assignment) are looking for better tools for professors to review student contributions.
One of the needs that's come up is a more user-friendly, consolidated view of all changes made by a user -- either for a timeframe, or a given page.
That is:
Only sets of adjacent edits by the same user should be collapsed (User A->User A). If a user made multiple non-adjacent changes (User A->User B->User A), those should be shown separately.
The idea here is to facilitate quick review of relevant changes or changesets made by a student. If we can surface additional information in the process (edit survival, summary information about edits made by others, etc.) which provides professor-understandable context, that would be great, but even a fast diff viewer would be very helpful.
You'd fetch diffs one-by-one via the API (can load them asynchronously onto the same page, allowing the reviewer to start on the latest or earliest edits and keep on going even while things load).
This shouldn't cause extra load versus loading the same diffs manually, but will be a lot nicer for the person reviewing it.
This could make a big difference for getting hundreds more students to work on educational content -- it's a Good Thing. And it's probably useful in and of itself.
Here's a minimal mock-up:
Contributions by user: ________________ Set filter (optional) Begin date: (CALENDAR WIDGET) End date: (CALENDAR WIDGET) Article: ___________________ Sort order: [ oldest first ^] [Show contributions] => Contribution by <User> to <Article> on <timestamp> (DIFF) Contribution by <User> to <Article> on <timestamp> Note: Three adjacent edits are collapsed (DIFF) (SPINNER) Loading contributions
Sorry for the length of this request, but I thought it'd be better to be comprehensive. Any help is appreciated. :-)-- Eloquence * 20:30, 14 November 2011 (UTC)
Hi, I searched through all of wikis that they use fr:MediaWiki:Gadget-HotInterwiki.js but none of the doesn't work correctly (doesn't edit or delete interwikis). in my opinion its regexs has some problem. would you please repair this useful tool? Reza1615 ( talk) 02:15, 30 January 2012 (UTC)
I found this script one of the talk pages:
addOnloadHook(function() {
var xmlurl = 'http://validator.w3.org/check?uri=' + encodeURIComponent(wgServer + wgScript + '?title=-&curid=' + wgArticleId + '&uselang=' + wgContentLanguage) + '&charset=%28detect+automatically%29&doctype=Inline&group=0';
addPortletLink ('p-tb',xmlurl,'W3C HTML');
var cssurl = 'http://jigsaw.w3.org/css-validator/validator?uri=' + encodeURIComponent(wgServer + wgScript + '?title=-&curid=' + wgArticleId + '&uselang=' + wgContentLanguage);
addPortletLink ('p-tb',cssurl,'W3C CSS 2.1');
});
It almost works. It adds an extra // after the http: ---— Gadget850 (Ed) talk 13:28, 31 January 2012 (UTC)
wgServer
with'http:' + wgServer
Could someone help me with this code:
function removecat(autosave){
// Remove "Main Category" category
text.value = text.value.replace (/\[\[Category\:Main [Cc]ategory]\]\, "")
.replace (/\[\[Category\:Main [Cc]ategory|.*]\]\, "")
// Remove any whitespace from beginning and end
text.value = $.trim( text.value || "" );
document.editform.wpSummary.value = 'Removed main category (not needed anymore).';
document.editform.wpMinoredit.checked = true;
if(autosave){ document.editform.submit(); }
});
addPortletLink("p-cactions","javascript:removecat(autosave)","Remove category","ca-delcat");
function start()
{
addFunction("removecat", "Remove category", "removecat");
}
addOnloadHook(start);
It is supposed to remove [[Category:Main category]] and [[Category:Main category|*Letter*]] (*Letter* is where a letter of the alphabet would go there) The button won't even show up.
~~
Ebe123~~ →
report on my
contribs.
17:35, 5 February 2012 (UTC)
addFunction
function. You could use
WP:Hotcat to remove your category or I could write you a script to do what you want. —
AlexSm
17:14, 6 February 2012 (UTC)function removeMainCat(){
//process
var txt = $('#wpTextbox1').val();
txt = txt.replace (/\[\[[Cc]ategory:Main [Cc]ategory *(\|[^\]]*)?\]\]/, '');
txt = $.trim(txt);
//save
$('#wpTextbox1').val(txt);
$('#wpSummary').val('Removed main category (not needed anymore)');
$('#wpMinoredit').prop('checked', true);
$('#wpSave').click();
}
if( /edit|submit/.test( mw.config.get('wgAction') ) )
$(function(){
if( ! $('#wpTextbox1').length ) return;
addPortletLink('p-cactions', 'javascript:removeMainCat()', 'Remove category','ca-delcat');
})
How to have it to work without opening the edit screen? ~~ Ebe123~~ → report on my contribs. 00:38, 8 February 2012 (UTC)
function apiGetPage(title, func){
$.getJSON(
mw.util.wikiScript('api'),
{action:'query'
,format:'json'
,prop:'revisions'
,rvprop:'content'
,titles:title
},
function(d){
var txt
try{
d = d.query.pages
for( var i in d ) txt = di].revisions0]['*'
}catch(e){}
func(txt || null)
}
)
}
function apiSavePage(dat, func){
$.extend(
dat,
{action: 'edit'
,format: 'json'
,token: mw.user.tokens.get('editToken')
}
)
$.post(
mw.util.wikiScript('api'),
dat,
function(d){
if ( d && d. && d..result && d..result == 'Success' )
func()
else
func( d.error ? d.error.info : 'unknown error' )
}
)
}
function removeMainCatAjax(){
var pgName = mw.config.get('wgPageName')
var sum = 'Removed main category (not needed anymore)'
apiGetPage(pgName, received)
return
function received(txt){
if( txt == null ) return jsMsg('<p class=error>Failed to receive page text</p>')
//process
var txt2 = txt.replace (/\[\[[Cc]ategory:Main [Cc]ategory *(\|[^\]]*)?\]\]/, '');
txt2 = $.trim(txt2)
if( txt2 == txt ) return jsMsg('No changes made')
//save
apiSavePage(
{title: pgName
,text: txt2
,summary: sum
,minor: true
},
saved
)
}
function saved(err){
if( err ) jsMsg('<p class=error>Error saving page: ' + err + '</p>')
else jsMsg('Page saved')
}
}
$(function(){
//some exclusions here ...
if( /edit|submit/.test( mw.config.get('wgAction') ) ) return
//add link
addPortletLink('p-cactions', 'javascript:removeMainCatAjax()', 'Remove category','ca-delcat');
})
I would like a script similar to WP:SIMPLEVOTE but so it can be used in all Deletion discussions. I attempted to do so but it didn't work can someone help me or create one. JayJay Talk to me 00:37, 17 February 2012 (UTC)
Hi, me again. Now, I would like a script that replaces {{ March 2012 MtC drive}} by {{ NowCommons}} while keeping all the parameters. It will also be activated by clicking a URL in the template. ~~ Ebe 123~~ → report 13:42, 26 February 2012 (UTC)
Is there a script that will automatically roam the Internet, search for appropriate links (for references/citations on Wikipedia pages), and insert the appropriate code on the pages? The bot may need to be told what page(s) to scan, and when to run. I plan to use Firefox. Allen ( talk) 19:36, 4 April 2012 (UTC)
There's been a huge debate going on for years about a WMF scheme to "rate" images in specific categories, implemented by developers in software. I have proposed a much simpler system which I think can be done now, at least to a crude degree, without anything more than a user script. The full idea is at User:Wnt/Personal image blocking, but all I'm asking from you is a user script which does the following:
a) When the logged-in user browses a Wikipedia page, the script identifies every image on the page that is to be displayed.
b) It searches for an exact match between each image name and the text in a file User:(your name)/image-blacklist.js
c) If it finds a match, display of the image is degraded or disabled to the extent that it doesn't annoy the user.
In order to be relevant, the script should be able to handle a blacklist file containing about 500 images, for example, the depictions of Muhammad on Commons.
Note that I am not suggesting this to condone censorship, but to oppose it - Wikipedia users have the right to use user scripts as they wish, and it is time to demonstrate that the community can accomplish what heavy-handed measures could not. Wnt ( talk) 14:32, 17 June 2012 (UTC)
How about implementing a stub tagging feature to Twinkle? -- weltforce ( talk) 16:39, 25 June 2012 (UTC)
Is it possible to write a script that when I'm looking at, say, the last ten changes to an article in a diff, I can scroll over the changes and see who made them? Right now, you can see the users on the earliest and latest revision you're looking at, but not the ones in between. Fo example, this would be useful for if I saw that vandalism had been added on Foo, but I didn't know who had added it (say there were quite a lot of IP edits with no edit summaries). I could then click on a diff for the last ten changes, scroll over the vandalistic change in the diff, and (in a popup perhaps) see which editor had vandalized. (Note: this came over from the village pump.) David 1217 What I've done 18:26, 4 July 2012 (UTC)
Can someone please make a working version of User:Pyrospirit/metadata/assesslinks.js? Or tell me how to (if it doesn't need a complete rewrite)? I'm not sure when it stopped working but was due to a MediaWiki software change. The creator no longer maintains it. Thank you. Voxii ( talk) 00:24, 5 July 2012 (UTC)
Hi, could you create user script with function: redirect image on wikipedia directly to Commons, not Wikipedia archive with link to commons. Thanks Dominikmatus ( talk) 20:24, 18 June 2012 (UTC)
//automatically trasnfer to Commons from local page
if( wgNamespaceNumber == 6
&& !wgArticleId // only if local page does not exist
&& document.getElementById('shared-image-desc') )
{
location.href = '//commons.wikimedia.org/wiki/File:'
+ wgPageName.replace(/^.*?:/,'').replace(/"/g,'"')
+ '?uselang=' + wgUserLanguage;
}
Thank you. Awesome! Dominikmatus ( talk) 20:30, 17 July 2012 (UTC)
I would like a stub tagging script that would allow you to tag an article as a stub using the stubs listed under Wikipedia:WikiProject Stub sorting/List of stubs. It must be Chrome-compatible. -- Presidentman talk · contribs Random Picture of the Day ( Talkback) 21:47, 15 July 2012 (UTC)
Hello. Because the simple English Wikipedia is really not as big as the main (less than 30 really active users this month), I posted it here. So this is the current status:
The Simple English Wikipedia's structure (including policies, guidelines etc.) are as almost the same as here in the regular Wikipedia. That includes the article titles. Normally we name articles exactly after the same name here. We create the article right under the same lemma.
That brings up a new point: because the titles are the same, we can easily copy and paste the Interwiki links in the regular English WP's article into a simple English WP's article. So that is where a tool would be very comfortable. The tool should copy the interwiki links, add the [[:en:XXXX]] link and save it into the simple English WP's article. That is what we need.
I hope I've explained it with enough details. If not, please ask here. Thank you very much! -- weltforce ( talk) 16:30, 7 August 2012 (UTC)
I can't find anything like this, so I guess I'll ask. I can think of two different approach regarding page content below diffs that would be useful. One, to only show relevant section of the page content, i.e. only the changed or affected section. Second, to only show page content below diffs when needed, e.g. using a button to show it because sometimes I don't want to see the content, especially on long articles, but sometimes it's necessary. Either one of these would be great. If it's already been made, can someone point me to it? Thank you.-- Krystaleen 04:17, 13 August 2012 (UTC)
//diff page: show revision when clicking "revision as of ..." links
if( /[?&]diff=/.test(document.URL) )
$('#mw-diff-ntitle1 a:first, #mw-diff-otitle1 a:first')
.attr('title', 'Click to show this revision below')
.click(function(e){
e.preventDefault();
var lnk = $(this);
lnk.closest('table.diff')
.nextAll().remove().end()
.after(
'<hr class="diff-hr" />',
'<h2 class="diff-currentversion-title">' + lnk.text() + '</h2>',
$('<div />')
.append('<img src="' + stylepath +'/common/images/spinner.gif" alt="..." />')
.load( lnk.attr('href') + '&action=render', function(){ this.scrollIntoView() } )
)
})
Hi guys, I got I problem here with the stub tagging module here (works with old Twinkle).
The problem is, that the stub template is tagged even after the metadata (Categories, Interwiki etc) to the very bottom of the page. (self.params.normalized stands for the selected stub template)
var code, content;
switch( self.params.normalized ) {
default:
code = "\{\{" + self.params.normalized+ "\}\}";
content = code + "\n" + text;
break;
}
The problem relies on content = text + "\n" + code;
.
Is it possible to sort the metadata after the stub template? Thanks in advance! -- weltforce ( talk) 23:53, 17 August 2012 (UTC)
Hi, I recently stumpled upon http://mwcodemirror.sourceforge.net/ by the inactive User:JovanCormac. Can you create a Gadget from the existing JavaScript and CSS code? I don't know how to do it or where to start. After someone got it working inside MediaWiki I would like to improve the syntax highlighting feature as it does not highlight references and templates at the moment. Matthias M. ( talk) 09:35, 5 October 2012 (UTC)
I'd love to have a script for rating articles according to the metric used to study quality improvement in articles worked on by students. There are a lot more interesting uses this metric could be put to, to measure the quality improvement effects of all kinds of outreach and collaboration efforts, from collaborations of the month, to edit-a-thons, to just getting a baseline for the quality of content contributed by newcomers or measuring the rate at which article quality overall is improving. But it's tedious for reviewers to record their ratings manually. Here's what a rating script should do:
-- Sage Ross (WMF) ( talk) 15:40, 12 October 2012 (UTC)
Ubuntu (12.04) user. Can't use AWB, Persondata matic, can someone create a browser based script to add persondata? -- Tito Dutta ( talk) 19:01, 16 October 2012 (UTC)
In the edit filter log interface:
Sole Soul ( talk) 16:20, 9 September 2012 (UTC)
It would be great to have something to speed up work at WP:RFPP. Something that would appear next to each of the headings / articles on the page with an option to add a template to that section. And then after selecting the type of template (i.e. semi, full, e.t.c) it would then ask you for the time to add as a parameter before posting to the section. I imagine it shouldnt be that hard as I have seen similar useful scripts for AFD and other such places. Intended for use on Chrome with monobook ·Add§hore· Talk To Me! 16:08, 16 January 2013 (UTC)
Hello. I am looking for a script that would hide the "feet" part of measures displayed by the convert template. I couldn't find it as a gadget in the preferences page, and couldn't find it either there, but I still hope it exists somewhere. Regards, Freewol ( talk) 11:02, 19 February 2013 (UTC)
{{
convert}}
and it emits nothing that marks itself as coming from the template, so this job is quite complex as it requires pattern matching against the entire page and replacing text as opposed to just toggling the display style of an element. It would also require some kind of check to see if the feet measurement was paired with a metric measurement before it removed that content. I think what you're asking for is very possible if the infrastructure was in place to support it, but as is the scope of work is probably too large for a volunteer to take on for a user script. If the template wrapped the values in spans with appropriate classes, it would be a simple thing to hide all instances based on user preference. This would require a change to {{
convert}}
and other templates like it that output two values and then a simple gadget or user preference could handle the display. It's a cool idea at any rate, and is at least possible if enough people wanted it. —
Bility (
talk)
17:23, 5 April 2013 (UTC)A large number of entries for the listas param could be constructed from the page name.
Much appreciated if a user script could be written to do this. Sfan00 IMG ( talk) 15:13, 5 April 2013 (UTC)
{{
WikiProject Biography}}
, just to get an idea of what would go into an accurate listas generator. From the above I would suggest including these rules:
importScript('User:Bility/biographyListasGenerator.js');
|listas=
parameter? —
Bility (
talk)
17:29, 8 April 2013 (UTC)So I made a Lua module that does this, it could go on the WikiProject Biography doc page so people could copy/paste it into talk pages and let it automatically create the input for the |listas=
parameter. Right now it's a sandbox version I'm working on accepts text and returns the attempt to create a sortable name, so it would need to be used with The module is at
Module:SortName and is used like this: {{PAGENAME}}
, although I'm pretty sure the template could get the page title automatically.{{subst:#invoke:SortName|sortname}}
. You can see on the
testcases talk page what it produces with different inputs.
So the difference between this and the script is anyone can use the template without having to modify their user .js pages, but it would require either a saved edit or show previewing outside the template to see what it will produce. So people just copy/pasting from the template doc page would have to know to go back in and make sure it put something reasonable in |listas=
. —
Bility (
talk)
00:03, 10 April 2013 (UTC)
Problem: I have created a large number of people stubs and would like to recruit people via social media to expand them. My idea is to have a user script that only runs on Category pages (I.e. Category:New Zealand academics) and displays un-coming topical information derived from in listed individuals, which can then be used in tweets, etc. Proposed solution: Use javscript to ping wikidata for each person, getting their dates of birth and death and populating a sortable wikitable of these. The table would go at the bottom of the page, so that any flickering would be off the screen. Questions: Is there already doing this kind of thing? Are there examples of the right way to ping wikidata? Are there cautionary tales of people trying to recruit new editors via social media I can learn from? I have a little javascript experience and other experience I can adapt. Stuartyeates ( talk) 03:42, 27 June 2013 (UTC)
Sorry if I've missed an obvious answer.
In the pro wrestling articles here, James Caldwell of PWTorch.com's event results are very often cited, and the article title is always in the style of "WWE Raw results 3/14: Complete "virtual time" coverage of live Raw — Cena vs. Del Rio main event, U.S. Title match, two surprise returns, Snooki".
Including the tagline just clutters things up for editors, especially when it appears more than once per paragraph.
Can a bot or script help by scanning for keywords (Caldwell, virtual time coverage, WWE) and automatically remove everything after the colon and up to the "|" divider in a citeurl tag?
If so, that'd save a lot of time (or get it done, period).
Thanks. InedibleHulk (talk) 20:35, 25 June 2013 (UTC)
Hi,
On frwiki, a user made a
script which allows creating/updating the <templatedata>...</templatedata>
visually and very easily. Anyone willing to make the same for enwiki ? --
NicoV (
Talk on frwiki)
16:38, 16 July 2013 (UTC)
How hard would this be? It's apparently merely hidden. Adam Cuerden ( talk) 04:41, 22 July 2013 (UTC)
i want to be able to download social networks like whatsapp----
Can someone make a script which put this navigation template to end of the page? -- Samoasambia ( talk) 18:04, 23 September 2013 (UTC)
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 | Archive 4 | Archive 5 |
Something like this:
Templates
Cleanup |
Software Taxobox Book |
Choosing "Software", could add to edit box:
{{Infobox Software | name = | logo = | screenshot = | caption = | author = | developer = | released = | latest release version = | latest release date = | latest preview version = | latest preview date = | operating system = | platform = | language = | status = | genre = | license = | website = }}
It's just an example. Is this possible? Mosca2 09:15, 12 May 2007 (UTC)
If it's possible, it would be cool is someone could add another search bar below the normal one via a portlet modification to create a Wikipedia Suggest. I found this site and was wondering if anyone could write a script to incorporate it. Also, this site has some screenshots of script that perhaps (?) would be helpful. Thanks, — thesublime514 • talk • 00:14, July 10, 2007 (UTC)
I have looked through available scripts and can't find anything quite like what I would like. It it exists already, a pointer would be great.
I would like to have added to popups a facility to construct useful templates. This might even be customizable; not sure. The idea is that when you mouse over a link, you have the option to create some standard templates that would be instantly placed into the clipboard. You could then paste them into comments or pages that you are editing. Here are examples.
I'm sure other useful possibilities could be given.
Once in the clip board, these could be pasted as required into whatever text you are writing at the time. -- Duae Quartunciae ( t| c) 00:20, 21 July 2007 (UTC)
Please make a script that will add a "Undo" button at the top when viewing articles. The button will undo the current edit, with out having to go though the edit screen. This would be very good for undoing vandalism... thanks! EvilHom3r 02:21, 7 August 2007 (UTC)
Hi, there. I was wondering if it is possible to create a user script (to be located on monobook.js) that enables a user to be alerted when a specific WP page gets edited (this would be the talk page of WikProject Olympics). A script that would work in the same way that when a user gets a "new message" alert whenever his/her talk page gets edited by other users. Can anyone help? Thank you. Parutakupiu 17:45, 8 August 2007 (UTC)
I suppose I'm not the first one to request this, but I would appreciate it greatly if a script that sorts entries in Special:Whatlinkshere is written or suggested. The required feature is bringing redirects to the top of the page, that is pages from the main namespace automatically tagged "(redirect)". The same goes for "(transclusion)" entries for templates. Additionally, entries can be also grouped by namespace at the end of the list. (I'm aware of scripts that add selection tabs, but as far as I know they do not provide sorting redirects and transclusions.) Súrendil 20:49, 12 August 2007 (UTC)
i am just wondering if a warning script that uses uw tags that will work on IE will be created or if there is one already where i can find it-- AF US CO 22:20, 20 September 2007 (UTC)
I'd like to be able to see a user's permission status, such as if they are an administrator or have rollback permission, on their user page, if possible. Thanks! Gary King ( talk) 22:39, 3 March 2008 (UTC)
So I know that I'm probably just overlooking something, but I've searched and I've searched and I can't find a script that will tell me the number of revisions in a page history. Basically, I'd like a simple little bit of text that looks like this to show up when I look at the history of a page:
In the two weeks or so that I've been an admin, I've had two near-heartstopping times when I've had to delete a couple of pages with revisions in the 1,000s to delete revisions and merge histories. At this rate, I'll be dead of a heart attack before the year is up, so a little script telling me how many revisions a given page has might save me from too much undue shock in the future. -- jonny- m t 09:13, 9 April 2008 (UTC)
Could a script be made that shows an editor the last warning level received by the editor whose talk page they are on? George D. Watson (Dendodge). Talk Help 19:58, 17 April 2008 (UTC)
I'm trying to make an assessment script, out of AzaToth's Twinkle RPP. Problem is, I don't know how to program the submit status, so I need a bit of help. Script is here User:Thisisborin9/assessmenttag.js, part of User:Thisisborin9/quickassessment.js Thanks! Thisis borin9 sign here! 19:25, 23 April 2008 (UTC)
I would like to suggest a new Gadget to add a plus sign or edit button to to infoboxes and persondata templates. This would allow that infobox or persondata template to be modified more easily than opening up the whole page or section.-- Kumioko ( talk) 16:50, 24 April 2008 (UTC)
I tagged Ecuador category talk pages with Template:WikiProject Ecuador to place the categories in Category:Category-Class Ecuador pages. This also placed the categories in Category:WikiProject Ecuador articles. Categories are not articles, so I modified Template:WikiProject Ecuador to fix this. The categories still appear in Template:WikiProject Ecuador. One way to fix this is to, for example, open each category page and save them to purge the page. That takes a lot of time. Is there a script that can purge each page listed in Category:Category-Class Ecuador pages so that I don't have to open up each category page and save? Thanks. GregManninLB ( talk) 22:25, 28 April 2008 (UTC)
Example; Lets say the watchlist is at User:ThatWikiGuy/deletions and the page to be watched WP:AfD
*[[Wikipedia:Articles for Deletion]]on User:ThatWikiGuy/deletions
Original watchlist |
General watchlist |
XfD |
Add/Remove watchlists |
They can add/remove watchlists at Special:Mypage/watchlists.js. —Preceding unsigned comment added by ThatWikiGuy ( talk • contribs) 00:01, 3 May 2008
Is there a script that I can run to find all redirects to all articles tagged with a particular category? In other words, I could use a script that finds all redirects to all articles tagged with Category:Start-Class Ecuador articles, for example. Thanks. GregManninLB ( talk) 02:08, 4 May 2008 (UTC)
I use this code;
// ==UserScript== // @name Wikipedia - Nicer search box // @namespace http://userstyles.org // @description Here some improvements to the Wikipedia search box. This style add icons and modify the text area appearance. You can also use it in your personal monobook.css in your Wikipedia account // @author Nicosmos // @homepage http://userstyles.org/styles/4262 // @include http://wikipedia.org/* // @include https://wikipedia.org/* // @include http://*.wikipedia.org/* // @include https://*.wikipedia.org/* // @include http://* // @include https://* // ==/UserScript== var css = "@namespace url(http://www.w3.org/1999/xhtml); .searchButton { width: 20px !important; height: 20px !important; border: none !important; font-size: 0 !important; background-color: #FFF !important; } #searchGoButton { background-image: url(http://upload.wikimedia.org/wikipedia/commons/1/1e/Crystal_Clear_action_forward.png) !important; } #mw-searchButton { background-image: url(http://upload.wikimedia.org/wikipedia/commons/1/1b/Crystal_Clear_action_find.png) !important; } #searchInput { border: 1px solid !important; -moz-border-radius: 10px !important; padding-left: 8px !important; padding-right: 8px !important; width: 100px !important; border-color: #AAA !important; margin: 5px !important; }"; if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var heads = document.getElementsByTagName("head"); if (heads.length > 0) { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); heads[0].appendChild(node); } }
to customize the search bar on wikimedia project but it's not working. It original from this;
// ==UserScript== // @name Wikipedia - Nicer search box // @namespace http://userstyles.org // @description [en] Here some improvements to the Wikipedia search box. This style add icons and modify the text area appearance. You can also use it in your personal monobook.css in your Wikipedia account // @author Nicosmos // @homepage http://userstyles.org/styles/4262 // @include http://wikipedia.org/* // @include https://wikipedia.org/* // @include http://*.wikipedia.org/* // @include https://*.wikipedia.org/* // ==/UserScript== var css = "@namespace url(http://www.w3.org/1999/xhtml); .searchButton { width: 20px !important; height: 20px !important; border: none !important; font-size: 0 !important; background-color: #FFF !important; } #searchGoButton { background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Nuvola_apps_bookcase.png/20px-Nuvola_apps_bookcase.png) !important; } #mw-searchButton { background-image: url(http://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Searchtool.svg/20px-Searchtool.svg.png) !important; } #searchInput { border: 1px solid !important; -moz-border-radius: 10px !important; padding-left: 8px !important; padding-right: 8px !important; width: 100px !important; border-color: #AAA !important; margin: 5px !important; }"; if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var heads = document.getElementsByTagName("head"); if (heads.length > 0) { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); heads[0].appendChild(node); } }
for greasemonkey. Can somebody tell me whats wrong? – ThatWikiGuy ( talk) 21:13, 8 May 2008 (UTC)
Hi, err can somebuild my a script where I can make google look like the monobook skin? More info here and here. Thanks. – ThatWikiGuy ( talk) 21:34, 9 May 2008 (UTC)
I was wondering if another tool could be made to close AfDs, similar to User:Johnleemk's CloseAfD which has apparently stopped working. Thanks, PeterSymonds (talk) 19:49, 18 May 2008 (UTC)
I'd like a link next to each change the watchlist that would help the user see at a glance which changes they have not looked into. I see two options: either 1) click a symbol to color-code a change as uninteresting/looked at (sort like the coloring-coding in the sidebar list of New Changes Patroller or RC Patroller) or 2) click a symbol hide/show any change. — eitc h 03:02, 22 May 2008 (UTC)
Can anyone make a script that moves the "User contribs" from the toolbox to cactions? Cheers, Thisis borin9 sign here! 17:59, 26 May 2008 (UTC)
addPortletLink ('p-cactions', '/wiki/Special:Contributions', 'User contribs');
to add it to the cactions. I'll work on removing it from the toolbox for you. –
ThatWikiGuy (
talk)
20:17, 26 May 2008 (UTC)
addPortletLink ('p-cactions', '/wiki/Special:Contributions', 'User Contribs'); var el = document.getElementById('pt-mycontris'); if (el) el.style.display = 'none';
– ThatWikiGuy ( talk) 20:55, 26 May 2008 (UTC)
if(wgNamespaceNumber == 2 || wgNamespaceNumber == 3) addOnloadHook(function() {
var c = document.getElementById('t-contributions');
if(!c) return;
var a = c.getElementsByTagName('a')[0];
addPortletLink('p-cactions',a.href,'Contribs','',a.title);
c.style.display = 'none';
});
Can someone also make a script that completely removes the language toolbar. I don't need it, and it helps for the floating sidebar. Cheers, Thisis borin9 sign here! 01:29, 27 May 2008 (UTC)
#p-lang {display:none;}
Can someone make a script that removes the "Contents, Featured content, and Current events" link from the p-navigation box? Thanks for all the help! Cheers, Thisis borin9 sign here! 19:50, 27 May 2008 (UTC)
<li id="n-featuredcontent"><a href="/info/en/?search=Portal:Featured_content">Featured content</a></li>
#id {display:none;}
#n-featuredcontent {display:none;}
Can I have a script that moves Article/Discussion, edit, history and move to a section at the top of the sidebar (but below the logo)? – ThatWikiGuy ( talk) 19:12, 26 May 2008 (UTC)
addOnloadHook(function() {
var pc = document.getElementById('p-cactions');
//change the ID, hides it from #p-caction styling in http://en.wikipedia.org/skins-1.5/monobook/main.css
pc.id = 'p-cactions-side';
appendCSS('li#ca-talk, li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {margin: 0 .3em 0 0; }');
});
Also;
#ca-edit a { font-weight: normal !important; font-style:italic; }
addOnloadHook(function(){ addPortletLink('p-personal','/wiki/User:' + wgUserName + '/monobook.js','monobook.js'); addPortletLink('p-personal','/wiki/User:' + wgUserName + '/monobook.css','monobook.css'); });
Can I have a script that will check scan User:ThatWikiGuy/Status for the words in, busy and out.
Thank you. – ThatWikiGuy ( talk) 19:09, 27 May 2008 (UTC)
As my p-personal is getting clogged up, can some body make a show/hide (</>) script which hides all but [the little man], [wp-user], my talk and my watchlist (shortened to w/list?). Thank you. – ThatWikiGuy ( talk) 07:31, 29 May 2008 (UTC)
I would realy appreciate a red link removal scipt that adds a remove this link in the popups script or a replacement for the popups with the red link removal tool built in, I cant get that to work.
Hintss (
talk)
02:38, 29 May 2008 (UTC)
In addition I dont want a popup script. Just make one that takes out the link after horering over it for two or three seconds
Hintss (
talk)
14:48, 29 May 2008 (UTC)
you're correct but I want it to also close the tab or window Hintss ( talk) 01:01, 31 May 2008 (UTC)
I'd love to see a script for Wikipedia, maybe with a Greasemonkey version, that changed each and every link to Wikipedia into its secure version.
Let me explain: while it's not possible to type https://en.wikipedia.org/wiki/Main_Page (notice the "httpS" bit), it is possible to access a secure version of Wikipedia at https://secure.wikimedia.org/wikipedia/en/wiki/Main_Page. This works for meta, commons, all language versions etc.
However, most people don't know this, and besides, when external pages link to Wikipedia, or Wikipedia articles themselves link to special pages in the form http://en.wikipedia.org/?blah or sometimes to images and other media stored at commons, we who prefer browsing at the secure site always end up reaching the non-secure version again.
Thus, a Wikipedia script able to change these links, when they appear on articles, to the secure version, would be very handy. And a Greasemonkey one able to do it to any external page's links to Wikipedia even more so.
Sooo, can someone please develop it/them? :-)
Thanks! -- alexgieg ( talk) 18:42, 11 June 2008 (UTC)
I would like to be able to click something on my watchlist page similar to "hide bot edits" which would toggle limits of what is reported based on the bytecount change number. For some kinds of articles I care most about when the byte count rises (material added), on other articles I care most about when it drops (material deleted). Low Sea ( talk) 21:30, 1 July 2008 (UTC)
I'd like an option to automatically add the {{talkback|My username|title of section on my userpage}} template to several users' pages when I click the submit button on my own talk page. I imagine the following near the [Submit] button:
Add {{talkback}} to the following users' talk pages: [ ] [[User talk:Example]] [x] [[User talk:Example2]] [ ] [[User talk:Example3]] [x] [[User talk:Example4]]
I'd love to make this script. I think I could make this, but I don't have time now. Remind me after April 2, and I'll make the script. Or just let someone else do it. In the meanwhile, chew on this:
addOnloadHook(function(){
if(wgCanonicalNamespace == "User_talk" || wgCanonicalNamespace == "User"){
var talkpage="User_talk:" + wgPageName.split(":")[1];
var link="http://en.wikipedia.org/?title="+talkpage+"&action=edit§ion=new&preloadtitle=Talkback&preload=User:Manishearth/Tb"
addPortletLink('p-cactions',link,'Talkback','ca-tb','Talkback', 't')
//document.getElementById('ca-tb').style.background='green'
}
)}
To use it you have to go to the page of whoever you want to talkback, click the "talkback" tab (it will be hidden in a down arrow in beta) and then save. But first, you must go to
Special:Mypage/Tb and type
ManishEarth
Talk •
Stalk
13:18, 25 February 2010 (UTC)
{{Talkback|(your username here)}}
to make the preload work (you only have to do it once).
Hi, I'm trying to make {{tl:hidden}} work on Wikiquote, but I need a special sort of tweak - I need a template that displays part of a line, and hides the other part of the same line. The outcome would look like something this when hidden:
And like this when shown:
Can anyone advise with this? bd2412 T 06:22, 11 July 2008 (UTC)
I don't know whether this aleady exists or not—heck, I don't even know whether this falls into the scope of what a JavaScript user script can do!—but is it possible to make a script that will choose a random page, much in the same way that Special:Random does, but you can do it within a certain category/namespace? Basically, when I visit a Wikipedia-maintenance-related category that has hundreds of pages, I like to be able to go through them randomly, not alphabetically. To do this, I have to keep clicking various pages, putting various parameters into the URL, etc.—it's a lot of unnecessary hassle, and I'm hoping there's a better way! If this is not possible, let me know. If such a script/tool/whatever already exists, let me know for sure! I'd greatly appreciate a reply on my talk page. :) — Skittleys ( talk) 11:38, 14 July 2008 (UTC)
I need the script which adds the external link in the right upper corner on all pages in main namespace (a few links).
Equadus (
talk) 12:29, 27 July 2008 (UTC)
Equadus (
talk)
10:30, 28 July 2008 (UTC)
When you type in a keyword which is slightly different(letter case, punctuation) from the true name of an article and you search for it, a "Redirected from..." mini field apppears just below the headline of the article and it's sometimes unpractical to copy&paste the true URL in order to avoid the inclusion of this field when you like to print the page(selecting the 'Printable Version' mode and then printing).
So, a user script which examines the list of all articles and automatically redirects you without the " (Redirected from ...)" field would be a good idea. A better workaround is to simply place more accurate redirects within the body of articles.
Ve4ernik ( talk) 13:46, 28 July 2008 (UTC)
@media print {
body.ns-0 div#contentSub {display:none}
}
The goal would be to have a simple way to browse wikipedia as it appeared on a given date in the past. This would be helpful in understanding the history of a discussion, as talk pages are often archived. The script would allow the user :
I have no clear idea of the user interface yet, but I'm willing to work this out further. I'm using FireFox. Pcarbonn ( talk) 16:41, 1 August 2008 (UTC)
Here is an initial test version of the program: User:Splarka/timetravel.js. You can copy it or use the code below in your js (which lets you get new versions automatically as I fix it). the UI is very ugly, but try testing it for functionality. Note that on a given page, there are actually quite a lot of links that aren't appropriate for time travel. -- Splarka ( rant) 09:29, 5 August 2008 (UTC)
if(wgAction == 'view') importScript('User:Splarka/timetravel.js');
If there was a gadget to display advertising relevant to the selected page, it could generate revenue for wikipedia. I would think that many people would select it, instead of giving money out of their pocket (I would). Pcarbonn ( talk) 07:24, 4 August 2008 (UTC)
Are you using a wide screen ? Wouldn't you want to have each sections of an article displayed in 2 or 3 columns, for easier reading ? A userscript should be able to do this, I would think. Any thoughts ? Pcarbonn ( talk) 14:25, 1 September 2008 (UTC)
Hi, I'm from the Simple English Wikipedia. I was wondering if you guys could make us a standalone script that gives a link somewhere to a new section of the second-last editor's talk page. You see, we revert, but then have to go back into the history to see which vandal it was, to go to their userpage, click "new section", stick in a warning and then save, which is rather long winded. Thankyou in advance, Micro chip 08 11:49, 3 September 2008 (UTC)
I am looking for something to make GA reviews a bit easier. I use the {{ GAList}} template and if I could hit a button say if I am on article Talk:Example/GA1 (or GA2, etc...) that this tab appears and gives me dialog boxes to fill out the parameters for this template.
Example:
I hit the GA review tab for the article above and the dialog pops up and asks "1a) It is reasonably well written: Prose?" and either have buttons for aye nay ??? or wtf which are the options that the template takes, or just a field for me to enter those in. The template also allows for comments, so after each section prompt me for comments on the section ("Comments for section 1?").
Thoughts? Can it be done? Thanks in advance -- Admrb♉ltz ( talk) 21:30, 7 September 2008 (UTC)
Hi. Could you please take a look at my proposal here: Wikipedia:Village pump (proposals)#Option to hide wiki-links in articles. If this is doable I'd be eternally grateful! Thanks. Zunaid 13:21, 16 October 2008 (UTC)
So, there is a very nice script to close AfDs, closeAFD, which makes it much easier to close them. I am sure most of you know it. XfDs, e.g. IfD, CfD, RfD, etc., though cannot be closed with it. This is not a good thing, because those areas sport huge backlogs at times and thus admins should have it easier to close them to clear those backlogs. That is why I am asking here for a XfD closing script, similar to closeAFD. If it's not possible to automatically delete things, it should at least be able to add the closing header and footer, as well as the result, easily with a simple click (maybe within the edit-button like AfD helper does for !votes on AfDs). Could someone tackle this problem please? TIA So Why 18:06, 24 October 2008 (UTC)
Hello, I want someone to make me a script based on the layout and color of Template:Talkback to create a more friendly version of the orange banner that comes up when someone posts to my talk page. Thanks. Techman224 Talk 01:16, 29 October 2008 (UTC)
.usermessage {
border: 1px solid RoyalBlue;
background: #bbdde1 12px 3px no-repeat url("http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Nuvola_apps_edu_languages.svg/40px-Nuvola_apps_edu_languages.svg.png");
padding: 15px 15px 15px 55px;
}
It works. Thanks. Techman224 Talk 16:52, 1 November 2008 (UTC)
Hiya. I know there's a script to add personal bookmarks to the sidebar already... what I'm looking for is an addition to my p-bar that will pop up a window filled with WP links/bookmarks defined by me (say, defined at /Links or wherever). Click on a link, window disappears, new page loads. I've been told this should be fairly simple. Would anyone here be able to do it? [ roux ] [ x 10:04, 7 November 2008 (UTC)
myBkmPage='/Links'
(default is /Bookmarks subpage). —
AlexSm
16:25, 7 November 2008 (UTC)
With all the scripts available, sometimes my screen is cluttered beyond belief. Also, I often don't need all the scripts in certain sessions: I don't need redirect indication or additional edit bar buttons when I'm on deletion patrol and I usually don't need automated speedy fill in when I'm article writing. Could someone write a script that allows me to selectively enable and disable scripts I have installed in monobook.js based on the contents of a particular user subpage (used as settings). Bonus points for whoever can integrate the Gadgets in the script. - MacGyverMagic 14:18, 16 November 2008 (UTC) —Preceding unsigned comment added by MacGyverMagic ( talk • contribs)
/* first the script gets current cookie value ...*/
if (currentMode=='writing'){ importScript(1); importScript(2)
}else if (currentMode=='xxx'){ /*...*/ }
I'm trying to implement bookmark functionality in my monobook. I snatched a function from another user that loads the contents of a user subpage into a dropdown and loads the edit and view links to it. But I was wondering if there is a method I can use to add the current page to that list with a button click? I'm not sure if this is doable in wikipedia as I can see some issues with security involved, but if it is, it would make my life much easier. I suppose I can do it the manual way and actually add those links to the page, but that's boring :P. aremisasling ( talk) 18:04, 25 November 2008 (UTC)
I've been referred here from my Help desk query: I do a fair amount of interlanguage editing and have a unified login. Is there some tool (script?) available (or in the works) that would provide a "New Message in :fl:WP" notification ("fl" being a particular other-language Wikipedia) when I sign on or refresh my screen, either in my "home" language Wikipedia or in whichever I happen to be working, without my having to enter each and all to discover where a new message may have been posted? User:Manticore suggests this may already be in development...? -- Deborahjay ( talk) 13:46, 12 December 2008 (UTC)
It would be great if someone could make more tagging scripts such as Wikipedia:WikiProject User scripts/Scripts/Unreferenced tool, Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js, and Wikipedia:WikiProject User scripts/Scripts/Quick wikify. It would be great if there could be a script that could add the stub template, and not have to go through any trouble searching through all the stub templates. Another quick tagging script I would also like is the ability to have a tag to tag pov in the edit window. ~ electricRush ( T C) 06:07, 13 December 2008 (UTC)
Hi there, I need a script that shows up on user pages and on clicking asks me to fill in the three fields (third one optional) of User:SoWhy/wcsd and then adds the template to the talk page with an edit summary like "Notice about incorrect tagging for speedy deletion". Should be quite simple to do, anyone want to help me out? Regards So Why 16:08, 27 December 2008 (UTC)
Add this to your monobook.js:
smConfig = {}; smConfig.smCustomForms = { 'uw-csd' : [ { 'prepend':'{{subst:uw-csd', 'append':'}}' }, {'title':'Page name', 'code':'1' }, {'title':'Criterion', 'code':'2' }, {'title':'Concern/reason', 'code':'3' }, {'title':'Additional text', 'code':'4' } ] }; smConfig.smMenus = { '+Citations ∨':{ 'Web':'citeweb', 'News':'citenews', 'Book':'citebook', 'Journal':'citejournal', 'Video':'Cite video', 'Show Refs':'showrefs','Ref Errors':'referrs', 'DOI Bot':'doicite' }, 'General ∨':{ 'Cleanup':'cleanup', 'Copy Edit':'copyedit'}, 'Intro ∨':{ 'Too long':'intro-toolong', 'Too short':'intro-tooshort', 'Rewrite':'intro-rewrite', 'Missing':'intro-missing' }, 'References ∨':{ 'No refs':'unreferenced', 'More refs':'Refimprove', 'No notes':'No footnotes', 'More notes':'More footnotes', 'Cite check':'citecheck', 'Prim Sources':'Primarysources' }, 'Fact':'fact', 'Weasel term':'weasel-inline', 'uw-csd':'uw-csd' }; importScript('User:Odie5533/SnipManager.user.js');
Made using SnipManager. -- Odie5533 ( talk) 04:50, 17 May 2009 (UTC)
I wish I'd found this project earlier -- I've just discovered the scripts for having a message prompt me that my watchlist has a new entry and for having an entry added to my watchlist when a page is added to a category I'm watching, both of which will be immensely useful.
I have three requests, two of which I believe would be replacements for scripts that are no longer working:
For what it's worth, I use both Internet Explorer and Safari, depending on whether I'm logged in at work or at home.
Thanks, Mlaffs ( talk) 16:07, 31 December 2008 (UTC)
I would like a script that automates the adding of improvement tags - preferably customizable so that I can choose any tag to be added. My goal here is to speed up the tagging of problematic fiction articles for clean-up. The two I'd need to begin are Template:In-universe/Comics and Template:Comics-real, as well as a subst: template of a talk page message discussing the article improvement drive these taggings are part of, and where to go to ask questions. But if the script can allow the switching of those for other templates (so I don't have to come back and ask for a new script every time I change what area I'm tagging) that would be ideal. Phil Sandifer ( talk) 15:45, 23 January 2009 (UTC)
I've installed a load of scripts in my .js at another wiki, and most of them add tabs to the top of the window, so I get something like this:
user page talk change this page history + move watch wikimark my wikimarks contributions diff purge
I know how to rearrange the order (by adding them in monobook.js in a different order), but I'm looking for a code to split them up slightly:
user page talk change this page history + move watch wikimark my wikimarks contributions diff purge
Is there a code to do this? Micro chip 08 16:39, 24 January 2009 (UTC)
Hi, I would like to add a simple link to the toolbox (on the left under the search bar) whenever I view an article. It should display when editing the article and also when just viewing. The link is to use this disambiguation toolserver tool, by passing the tool the article name. For example the toolbox link when viewing Channel Tunnel would be: this.-- Commander Keane ( talk) 05:52, 8 February 2009 (UTC)
function addToToolbox() {
if (wgCanonicalNamespace != "Special") {
var pTb = document.getElementById("p-tb");
var pRef = pTb.cloneNode(true);
var pStats = pTb.cloneNode(true);
pRef.id="p-refs";
pRef.innerHTML = "<h5>Disambiguation</h5><div class=pBody><ul></ul></div>";
pDisambig.id="p-disambig";
addPortletLink("p-disambig", "http://toolserver.org/~jason/disambigs_in_an_article.php?title=+wgPageName", 'Find disambiguations', '', "Find all links to disambiguation pages on the current page");
}
}
addOnloadHook(addToToolbox);
I noticed that a bad images filter script ( User:Mr.Z-man/badimages.js) that hides all images on the bad image list exists, but I thought that more could be done. When I noticed that an edit to a page where a user had removed (censored) a "bad word" on it, it got me thinking (after all Wikipedia is not censored)... These bad words don't bother or offend me, but maybe something should be done for those users of which it does offend. So, what I'm asking here is for a "bad word" filter script to filter out (or censor) bad words (such as fuck, bitch, cunt, ass/arse, etc.). For example, words such as "fuck" would be replaced with "f*ck" or "f***", but would would not be filtered/censored on articles of with these words apply to the subject matter (i.e. Fuck, Ass, Cunt, etc.), just like it is with the bad images filter. This would only affect the user of which such words are displayed and would not change the article's content. -- Lightsup55 ( T | C ) 21:34, 9 February 2009 (UTC)
Would anyone be interested in whipping up a script that would take two pagenames (preferably including the option for section links) as input, and plaster the appropriate merge templates and such in the right places? // roux 22:15, 13 March 2009 (UTC)
Hi, I was wondering if someone had any clue of how to whip up a hide reverted edits script for the watchlist. This may be more of a mediawiki request than a user script though. I'd just like to make it so I don't have to spend time chasing edits which have already been reverted.-- Terrillja talk 05:55, 19 March 2009 (UTC)
Could anyone please make this script MediaWiki compatible so that it could be added in monobook.js? Thanks.-- Wcam ( talk) 01:42, 10 April 2009 (UTC)
Could someone please create a basic script which would create awards lists? I'd just like the start of the script and I'll create the rest of the awards. The script would be like reftool with a button which when clicked would display multiple options. The first thing is "when was the film released:" with a drop-down list where one can choose a year. After he clicks that, multiple options get displayed: every award available at that time. Each award would have a multiple category awards. Which each have a reference tab and a receiver tab. The tool would automatically enter the date of the ceremony link it to the article of the award at that year. It would also link to the Award category article automatically. If the film has received multiple awards it would create a rowspan at the date of the ceremony and the award name. The idea is to have a similar layout to this: List_of_awards_and_nominations_received_by_WALL-E (Awards and nominations). I will create a mock up in a minute.-- Diaa abdelmoneim ( talk) 10:21, 12 April 2009 (UTC)
I would like someone to make a variation off the simplevote script that would work on talk pages, and pages in either [[[:Category:Non-talk pages that are automatically signed]] or
Category:Non-talk pages with subpages that are automatically signed. Just make two options for now and tuck it in
I made it, it's at
User:Ipatrol/bitbox.js. Could I have help debugging it?--
Ipatrol (
talk)
21:48, 12 April 2009 (UTC)
User:Ipatrol/!vote.js
, I will add the rest of the options.--
Ipatrol (
talk) 15:55, 12 April 2009 (UTC)
Can someone please update or create a fork of User:Tim Laqua/Scripts/formatRecentChanges.js? This script transforms Special:RecentChanges into a table. It would be nice if you could make it resemble mw:Extension:TransformChanges (see it in action here). It would also be nice if the script could change Special:Watchlist, Special:Logs, and history pages into tables too. -- Michaeldsuarez ( talk) 13:03, 10 May 2009 (UTC)
Bounty up for grabs for a script or extension that can be used to aggregate multiple watchlists without a client-side application. Any preexisting tools that'll already do the job? MrZaius talk 19:52, 16 May 2009 (UTC)
A script that automatically adds wikilinks to an article. Smallman12q ( talk) 15:02, 17 May 2009 (UTC)
I'd like to see a highlighting script that is easy to deploy and does not dramatically alter the editing window. It should not add new functionality but rather clarify the text already there. I envision it similar to wikiED but without all the buttons. The script ("hi-lite"?) should differentiate between article text and headers, images, templates, references, and various other syntactical features. As an added bonus, can you figure out a way to hide references, so anything enclosed in <ref></ref> tags does not appear when the user says so?
I have a preliminary color scheme worked out, although if there are conventions I'm unaware of, use them instead:
If something falls into more than one category, it should be colored according to the category the farthest down on the list. I think that such a script would be very accessible and useful to new and non-technical Wikipedians. I will make editing much easier and inviting. If I lost you in the details, I'll be happy to work them out later, as long as we can agree that the concept is valuable. Thank you in advance.-- HereToHelp ( talk to me) 21:45, 2 June 2009 (UTC)
Would it be possible to have something that would do unprodding and the associated posting to the prodder's talk page and {{prod2}}s? Jonathan Hall ( talk) 14:35, 3 June 2009 (UTC)
Hi together. This is a request that probably only admins can fulfill, if at all. Currently, deleting a page forces an admin to load a new page that contains little more than a dropdown menu, a reason field and a button. Since this is a wasted pageload and quite annoying if going through pages in a quick fashion, I was wondering whether someone could create a script that overlays a simple deletion options menu when clicking on the "delete" tab and allows to directly delete a page from there without having to load the deletion-page first. Does anyone think this can be done and if so, is anyone willing to do so? Regards So Why 09:12, 9 June 2009 (UTC)
Requesting a script that puts two additional links against entries shown on Special Contributions
i) (diff to current) - Provides a link to a page comparing a specfic revision page to the current version of that page.
ii) (before this to current) - provides a link to a page comparing the revision of a specfic page one revision previous to the specfic revision in the edit history entry concerned, against the current version of the page.
Sfan00 IMG ( talk) 16:44, 6 July 2009 (UTC)
Google Books released a new feature called Embedded Viewer [3] [4]. It's like the embed tag of YouTube videos. The request: If a refernce to a book has an ISBN number and a page number, this script will show the citation in an embedded view. I use Firefox. Thanks. Dy yol ( talk) 17:46, 6 July 2009 (UTC)
Sfan00 IMG ( talk) 17:54, 6 July 2009 (UTC)
Not sure if this is possible, but it would be quite useful. As it stands now, I just bug User:WOSlinker to do it for me =) – xeno talk 20:00, 8 July 2009 (UTC)
I'm hopeless with javascript. What I'm looking for is a simple script to add links to WP:AIV and WP:UAA to the bottom of the navigation box on the left, just above the search box. Simple script, but I can't figure out how to code it. Thanks. — Ledgend Gamer 09:44, 10 July 2009 (UTC)
var linkArray = new Array(['id', 'full URL', 'link text'], ['id', 'full URL', 'link text']);
I'm requesting a script that would give me a link/tab/button that when clicked on, would automatically open a talk page I'm on and paste the following code at the top of it:
{{User:MiszaBot/config |archiveheader = {{Talkarchivenav}} |maxarchivesize = 80K |counter = 1 |minthreadsleft = 1 |minthreadstoarchive = 1 |algo = old(15d) |archive = Talk:PAGE NAME/Archive %(counter)d }}
This script would also add "Set up of auto archiving" to the edit summary. The script should not, however, save the page automatically but leave it in its editing state so I may make manual changes to the MiszaBot parameters if need be. - ALLST✰R▼ echo wuz here 20:36, 11 July 2009 (UTC)
Mm. Yeah, sorry, I was being a bit sarcastic. Is there a reason why you can't just copy and paste that text into articles that you want to put it in, then edit and save? Either way, I put together a small script that should do what you want. Add importScript('User:Ale_jrb/Scripts/allstarArchiver.js'); to your monobook.js. It should put a link, 'Add archive template' to the top of the toolbox. Clicking it will load the edit page and add the text to the top of the edit box, and fill in the edit summary. Ale_Jrb talk 10:52, 12 July 2009 (UTC)
Yeah, you can change where it adds it. Replace 't-whatlinkshere' with the ID of the element you want it to be next to (to put it next to the move tab, for example, use 'ca-move' instead - these are all listed in the page source). If you want it on the left use 'before', it you want it on the right use 'after'. Ale_Jrb talk 17:12, 12 July 2009 (UTC)
As a regular user with rollback, when I'm viewing my watchlist, at the end of each entry I have a [rollback] link and [sum] link (the sum link is courtesy of User:Gracenotes/rollback.js). I think a useful script would be one that would add an [unwatch] link as well to unwatch a page on the fly rather than having to to the actual page and then click unwatch.
Example of what I see now:
Example of what I'd like to see:
Anyone up to making this happen? - ALLST✰R▼ echo wuz here 03:03, 13 July 2009 (UTC)
Is there any scripts to add all articles in a category(recursively) to watchlist ? -- naveenpf ( talk) 01:50, 26 July 2009 (UTC)
The idea is so that, in reviewing a watch list, you have an option not just to diff the last edit, but also with one click to diff what's changed in (perhaps) the last 10 edits. This would make it easier to catch vandalism or other bad edits that were quickly covered up, and just to keep track of articles generally. A cool feature would be if the length could be adjusted, so maybe I had a one click ten edit compare, but others had a one click 20 edit compare and so on. Mackan79 ( talk) 07:46, 28 August 2009 (UTC)
I don't know if this could be solved with a user script, but it's always seemed like such a pain to find diffs for talk page edits. Is it impossible for some reason that the sig could link the diff for that comment? Maybe even just for the edit that placed the sig, if you couldn't get later changes or unsigned edits.
A related tool might offer some way to trace any content to the diff where it was added, on a talk page or elsewhere. I'm sure that's more difficult, but I'm thinking maybe something like a color view, where every series of text was color coded and linked to the last edit to add or move it (defined maybe in the same way as the red text on a diff page). Or maybe not color coded, but a pop up link with any text you hovered over. Mackan79 ( talk) 08:12, 28 August 2009 (UTC)
A script that is included on the upper dragging links, defined by the user's parameters. This script, when applied, will ask the user what template he would like to add. The user must input the name of the template, with no {{ }} and the script will automatically add the template with the {{ }} symbols on below the last section of the article. This is only applicable for the templates that are for not on sidebars.-- JL 09 q? c 12:53, 8 September 2009 (UTC)
An editor said "the average response time is about never" for help here. Can someone prove this kind editor wrong and make me the exception to the rule? ;-)
As I wrote at Wikipedia:Vpt#Pop-ups I would like a monobook.css script which allows editors who modified their monobook.css to see pop-ups on one page. The pop-ups would be scrapped google hits.
The google hits is all ready taken care of, the google hits will be scrapped from autohotkey, the pop up wikiscript will be added to the scraped results, and I will manually add them to a subpage of a wikiproject.
So what I am interested in is:
In return for your hard work, I offer:
Ikip ( talk) 17:34, 13 September 2009 (UTC)
Do we have any script that like the Afd nomination tool, it will nominate a template for deletion?-- JL 09 q? c 00:43, 16 September 2009 (UTC)
We need a parameter passed to Mozilla (and probably other engines as well) that are based on the English variant so our "misspelled" words are indeed, mispelled for that variant, and not merely misspelled for the variant we have hard-selected from Mozilla.
This may require a bot to go through and set that parameter for known articles, i.e. "American variant" would be placed by the bot for all articles the bot could identify as American. Having said that, there are a lot left over which we would have to do manually. Student7 ( talk) 20:36, 5 October 2009 (UTC)
I would like a button that can just subst a custom template to a talk page. If I knew how, I would do it myself, as it seems easy enough, but...-- fetch comms ☛ 03:26, 27 November 2009 (UTC)
Is there a userscript around that can be used to convert a page with a large amount of references to use the WP:LDR method of referencing? Peachey88 ( Talk Page · Contribs) 02:19, 5 December 2009 (UTC)
Anytime you click on a link that has Longitude/Latitude information, you are transferred to a page that asks you how you would like to view the map info.
Since I prefer Google Maps, Maps view, is there a script that can bypass this step?
thanks DarkStarHarry ( talk) 17:13, 14 December 2009 (UTC)
This is probably not a well explained request, but it would be useful to have a function to get an image description for an [[:File:Foo]] based on, the captions that image has on pages it is included inAs [[File:Foo|<params>|caption] .
All this would need to do is provide a text string that could be copy pasted or inserted in to an image description box on the relevant file page..
Is this possible to do, and in a manner that would be compatible with tools like FURME and TWINKLE? Sfan00 IMG ( talk) 22:03, 5 January 2010 (UTC)
This seems simple enough, a script which adds a tab to the when in the user or user talk spaces which when clicked blanks the page and adds {{ indef}} to the page. Just looking for a nice clean, quick way to do it.-- Terrillja talk 04:31, 9 January 2010 (UTC)
I have written a script to pass through the GeoHack page once a user clicks on a link with map coordinates.
It's not working. Can someone help me debug? My knowledge of JavaScript is limited.
Thanks, Harry
Script located at User:DarkStarHarry/externMapCoords.js
DarkStarHarry (
talk)
14:26, 13 January 2010 (UTC)
function replaceGeoHack(){
var coord_filter = /¶ms=([\d.+-]+)_([\d.+-]*)_?([\d.+-]*)_?([NS])_([\d.+-]+)_([\d.+-]*)_?([\d.+-]*)_?([EOW])(\b[^&]*)/;
var existingMap = "http://stable.toolserver.org/geohack/geohack.php";
var newMap = "http://maps.google.com/maps?ll={lat},{long}";
var lat,lon;
var links = document.getElementsByTagName('A');
var link;
for(var i=0; (link=linksi]); i++){
if(link.href.indexOf(existingMap) == 0 && coord_filter.exec(link.href)) {
lat=(1.0*RegExp.$1) + ((RegExp.$2||0)/60.0) + ((RegExp.$3||0)/3600.0);
if(RegExp.$4=='S') lat*=-1;
lon=(1.0*RegExp.$5) + ((RegExp.$6||0)/60.0) + ((RegExp.$7||0)/3600.0);
if(RegExp.$8=='W') lon*=-1;
link.href=newMap.replace('{lat}', lat).replace('{long}', lon);
}
}
}
addOnloadHook(replaceGeoHack);
My request is a script that makes the search button on the sidebar into a link (allows search new windows, tabs, etc.) similar to the "Compare link" script. It would be great if it was compatible with the "Multi-NS search" script. I use firefox. Thank you. Sole Soul ( talk) 04:37, 21 January 2010 (UTC)
document.getElementById('searchform').innerHTML+='<button type="button" onclick="window.open(wgServer+\'/wiki/\'+document.getElementById(\'searchInput\').value)"><img src="http://bits.wikimedia.org/skins-1.5/common/images/magnify-clip.png"></button>'
ManishEarth Talk • Stalk 11:24, 27 March 2010 (UTC)
is there an existing script or simple way to write a script that will offer a button to insert the {{prod-2}} template below an articles respective prod? andyzweb ( talk) 20:50, 21 January 2010 (UTC)
Would it be technically possible to create a user script that always links images within page content? WP:ALT specifies that decorative images (like flags, highway shields, etc.) not be linked for accessibility reasons; I find the missing links makes it more difficult for me to investigate who created the image and determine its naming scheme so that like images can be uploaded. Ideally such a script would override the wikitext when the "link=" param is set to blank but go ahead and allow it to work if it's being used to actually link to some other page (as sometimes occurs in editing tools, etc). Thanks! — Scott5114 ↗ [EXACT CHANGE ONLY] 16:05, 29 January 2010 (UTC)
A search box to search inside the subpages of the current page. Sole Soul ( talk) 22:17, 1 February 2010 (UTC)
I use User:Ais523/catwatch.js, its incredibly useful to me for things like attack pages and requests for unblock etc, but because I'm in the UK and we're forward an hour now, new pages in the categories i'm watching appear are listed as being an hour earlier than they are to me, so I keep missing them. Is there anyway to change that in my vector.js?-- Jac16888 Talk 02:16, 30 March 2010 (UTC)
Could a script be made to show the activity of a user? It happens a lot when I search through a list or category of users (for example: members of a wikiproject, some-language-speaking users category...), for contact, most of the time, I end up posting for inactive users. I started the habit to check before posting the contribution page of each user to see whether he's still contributing or not. But It's a tedious task. It would be better if the link to an inactive user (which could be defined as someone with no edits in the last month) be highlighted (just as broken links or stubs are colored in red). Is this possible? Thank you. Eklipse ( talk) 21:52, 15 June 2008 (UTC)
Here is my idea: I want to make a javascript that's a tab that will scroll down when pass the cursor over it. Basically it will create a insect page based on the options Family, Genus, and Species like an "easy start". When you click on Family, it will create the page your currently on with User:Bugboy52.40/sandbox1 (used <pre>), Genus: User:Bugboy52.40/sandbox2, Species: User:Bugboy52.40/sandbox4. Thanks in advance, this tool would make my life easier! Bugboy52.4 ¦ =-= 21:25, 22 December 2009 (UTC)
Would it be possible to have a script similar to User:Dschwen/HighlightRedirects, but which highlights links to disambiguation pages instead? PC78 ( talk) 15:09, 13 September 2009 (UTC)
Splarka's excellent script doesn't work with Vector skin. I asked about it at User talk:Splarka#dabfinder 3, and after checking here it turns out I had the exact same request as PC78! So, could some code-genius adapt Splarka and Dschwen's scripts, so that dabfinder works as well as highlightredirects? (Note: I used to use Anomie's linkclassifier, but it made large pages (like Village Pumps, or FA-length articles) take far too long to render on my meager machine). Alternatively, could Anomie's linkclassifier be made to only run-on-demand, rather than autoexecute on every page load? Thanks. -- Quiddity ( talk) 20:26, 17 April 2010 (UTC)
I'd like to get the links in the sidebar portlet, to the languages that I can read, highlighted/bolded.
e.g. all of the [de:] and [fr:] and [ja:] and [simple:] links.
Possibly this already exists, but I couldn't find it in the list/archives. Thanks :) -- Quiddity ( talk) 08:40, 15 December 2009 (UTC)
li.interwiki-ru, li.interwiki-en {text-align:right; margin-right:10px}
Now (with new Wikipedia interface) it doesn't work... Do you have any ideas, how to highlight / margin some interwiki language. -- Andrew Krizhanovsky ( talk) 10:54, 18 May 2010 (UTC)
Howdy. I'm looking for a user-script that can pick up a couple of extra parameters in an edit link, do a search-and-replace in the edit box and populate the edit summary box. Example:
Ideally, the edit box would be scrolled to the first instance of the "search" parameter, the matched text replaced with the value of the "replace" parameter and left highlighted to make it easy to check. The edit summary box would be pre-populated with something like "Fixed link to <replace>".
If anyone has anything close I can adapt it, but my scripting skills are rather rusty. - TB ( talk) 14:33, 24 May 2010 (UTC)
Many template documentation pages include a blank copy of the template, which can be selected, then copied, and pasted into an article. Would it be possible to have a script which inserts a link or button before the blank, so that when the link/ button is clicked, the blank is copied to the clipboard? I realise that this might require some sort of wrapper with a defined class, around the blank. (I use Firefox under WinXP; but I'd hope this would be available to most, if not all, users). Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 09:23, 30 May 2010 (UTC)
Hi. I'd like to request a script (either CSS or JS, I'm not fussed) to replace the Star in the upper bar on the Vector skin (which adds an article to the user's watchlist) with the word "Watch". It doesn't seem like much of a usability enhancement to add a symbol for a very common function and not give any explanation as to what it's there for, or I wouldn't have spent almost 40 minutes looking for it, only to have to resort to asking the mediawiki channel on IRC whether they'd added a watchlist link to vector :) Anyone who can help, I'd be most appreciative! BarkingFish Talk to me | My contributions 03:43, 18 June 2010 (UTC)
I'm looking for a script that will remove the majority of disclaimers, terms of use notices, and other text not essential to just making an edit. Is there such a thing? Thanks>> Ocaasi ( talk) 03:47, 24 June 2010 (UTC)
div#editpage-copywarn, div.mw-tos-summary, div#editpage-copywarn2 { display:none }
in their
personal CSS to hide legal notices. —
AlexSm
13:00, 27 June 2010 (UTC)I have
User:Zvn/confirmwatchlistrollback.js in my monobook.js (which is transcluded into vector.js) and am using vector. However, I just accidentally clicked rollback from my watchlist and did not get the confirmation popup that the script is supposed to request. Knowing very little about script programming or css, I'm assuming that some element name is monobook-specific and am wondering if some simple recoding can make it compatible with vector. I'd ask the original author, but they're an indef-blocked sock. —
DoRD (
talk)
21:36, 23 June 2010 (UTC)
Can Wikipedia:WikiProject User scripts/Scripts/Six tabs have a variant created that's compatible with the vector skin?
I've been trying the vector skin on en.WP (it has been rolled out on other projects, but still in beta on en.WP). This script currently doesn't work on vector, only with monobook. Unfortunately, it is the one thing I miss most that could cause me to switch back to monobook. --- Barek ( talk • contribs) - 07:25, 22 April 2010 (UTC)
Redesigned for Vector at
user:js/6tabs-vector (I was the author of original script for Monobook). —
AlexSm
21:34, 2 July 2010 (UTC)
I propose that there be a script to make past offenders' (users and i.p. that have been warned for vandalism) changes be in bold in the recent changes page to indicate that they have a higher risk of being vandalism. This could be an invaluable tool for vandal fighters.-- Iankap99 ( talk) 05:15, 2 July 2010 (UTC)
Is there a script that tags the talk page of the page you are viewing for a specific WikiProject? AirplanePro Radio Checklist 20:57, 6 August 2010 (UTC)
Have looked for this functionality in WP's search engine, and existing user scripts but have not found it, and that is I would like to perform a search that looks for string "rugby union" in article title (or article body) and then search if the WP rugby union banner template is not on the talk page. Am sure that a number of projects would apprecoiate a tool like that... ANYONE? SauliH ( talk) 05:12, 2 July 2010 (UTC)
The Watchlist lists watched pages in chronological order based on recency of last edit. For maintenance purposes, it might be useful to have a Reverse Watchlist (same thing in reverse chronological order), to see "neglected pages". Is this possible as a userscript? Rd232 talk 15:47, 19 August 2010 (UTC)
Currently, only edits tagged with the edit filter tag feature appear on the recent changes page. This is a request to add a similar feature to all edit filters. I have a suggestion on how this is can be done:
Sole Soul ( talk) 04:20, 24 August 2010 (UTC)
Please review the following script. I am trying to make a test page with this code.
var req = sajax_init_object(); req.open('GET', wgScriptPath + '/api.php?action=query&prop=info&format=json&intoken=edit&titles=' + encodeURIComponent("Test"), false); req.send(null); var info = eval('(' + req.responseText + ')'); for (var id in info['query']['pages']) { var page = info['query']['pages'][id]; if (page['edittoken']) token = page['edittoken']; } alert ("Edit Token: "+ token); // Is there anything wrong with the code bellow? var postdata='action=edit&title=Test&summary="test"&text="testpage"&token=' + token req = sajax_init_object(); req.overrideMimeType('text/xml'); req.open('POST', wgServer + wgScriptPath + '/api.php?, true); req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); req.setRequestHeader('Content-Length', postdata.length); req.send(postdata);
-- Sadik Khalid ( talk) 09:30, 2 September 2010 (UTC)
Feasible? I was thinking about the {{
Top icon}}s {{
Featured article}}/{{
Featured list}}/{{
Featured portal}} and {{
Good article}} and I thought it might be handy to have a script that does the same thing for all of the other assessment classes (possibly excluding namespace classes like Portal
, Book
, or Category
as being redundant.) The way it would work--as someone who does not know enough scripting to save his life--is that it would "read" the talk page of an article and find the WikiProject banner(s) that have the Class=
parameter and then assign that rating to the article with a small icon at the top right to alert editors of what--if any--class has been assigned to the article.
Further ideas that could be useful:
Stub
, then users can click on the top icon and be directed to the appropriate WikiProject for more information on how to expand it (in the case of multiple banners, just choose the first one.) Alternately, go to the stub category and users can be directed from there on which WikiProject has adopted that set of articles.Unknown
class or an empty class, then users can click on the top icon and be directed to http://en.wikipedia.org/wiki/Talk:PAGENAME&action=edit§ion=0 to edit the banner(s) and easily apply a rating. I know that this would encourage me to rate more articles, especially stubs.Importance
as well, somehow: through a background color to the icon, a tooltip, etc.Below, I have displayed the class icons from {{ Class/icon}}; see a full list (without all of the nice buttons) at {{ Cat class}} and the color definitions at {{ Class/colour}}, in case that is necessary.
Bplus
is only used by
two projects; I suppose that they can just get "B" ratings...Current
, Future
, Merge
, Needed
, Deferred
(???), Sl
(???), and User
.Does this seem like a feasible or useful feature to anyone else? Does someone want to adopt this project and make a script that provides this functionality? Thanks. — Justin (koavf)❤ T☮ C☺ M☯ 03:37, 20 October 2010 (UTC)
Addendum I primarily use Firefox to edit. — Justin (koavf)❤ T☮ C☺ M☯ 03:40, 20 October 2010 (UTC)
Moved To here, per the proposal above. Please continue the discussion there, if anyone is interested. Thanks. — Justin (koavf)❤ T☮ C☺ M☯ 06:05, 20 October 2010 (UTC)
It would be very useful to be able to trigger these four tools ( Automated PR · Dab solver · EL checker · Alt text viewer) from the toolbar. Of course, not everyone would need all four, so a modular approach would be best. Headbomb { talk / contribs / physics / books} 08:40, 18 September 2010 (UTC)
var qqToolConfigCustom=true; //We want a custom config
var qqWhichToolBar="tb"; // "cactions" for top, "personal" for very top, or "tb" for sidebar toolbox
// (The following) Which tools? true for yes - false for no
var qqPeerRev=true;
var qqAltImg=true;
var qqDablinks=true;
var qqExtLink=true;
importScript('User:QwerpQwertus/tools.js'); //And then import the script now that we've set our settings for it
Just add that to your vector.js (I think it'd work in monobook too - not sure though). You can set whether it should be in the personal, caction, or tb portlet areas and which tools you want, or just use default settings. Is there anything else you'd like to add or change on it? :) ~ Qwerp Qwertus Talk ツ 02:14, 4 November 2010 (UTC)
Does anybody have a user script that, on a category page, allows me to use the arrow keys to move through blocks of links, as if pressing the "next 200" button at the bottom of the page? I pretty much want something that functions the same way that it does on the website http://www.funnyjunk.com/. Although something like this will probably be easy to make compatible for multiple browsers, for all intents and purposes I am using the browser Safari. I'd prefer it if you could put a note on my talk page if you have something for me. Thanks. -- vgmddg ( look | talk | do) 23:00, 28 November 2010 (UTC)
A script or tool to compare the source code of two versions of an SVG file would be helpful. It seems that there was once a project on sourceforge with that goal. Would anyone be willing to write such a script or tool? -- Leyo 22:12, 7 December 2010 (UTC)
A script that searches texts in edit summaries within a history page, a user contribution page or the recent changes page. Sole Soul ( talk) 13:25, 16 December 2010 (UTC)
Hello! This is for maintenance purposes. Specifically for searching for external spam. Is it possible to create, next to each external link, a small "search-more-like-this" link to bring a quick access to Special:LinkSearch with that url preloaded? It would look like this:
The link itself may be a single word more. Thanks! Gustronico ( talk) 07:04, 15 February 2011 (UTC)
addOnloadHook(function() { var a = getElementsByClassName(document,'a','external'); for(var i=0;i<a.length;i++) { var href = a[i].href; if(href.indexOf('//') == -1) continue; href = href.substr(href.indexOf('//')+2); if(href.indexOf('/') == -1) continue; href = href.substr(0,href.indexOf('/')); var newa = document.createElement('a'); newa.href = wgScript + '?title=Special:Linksearch/' + encodeURIComponent(href); newa.title = 'Special:Linksearch'; newa.style.fontSize = '80%'; newa.appendChild(document.createTextNode(' (more)')); a[i].parentNode.insertBefore(newa,a[i].nextSibling); } })
Looking for a script that finds URLs in an article (i.e. http://www.example.org/
) and creates a new link by adding a prefix to the URL that links to a cached version of the URL. It would be similar to this script used on the French Wikipedia.
Utilisateur:Pmartin/cache.js
More specifically I would like 4 links added to each URL. These would link to cached pages at Wikiwix, WebCite, Internet Archive and Google. These are the prefixes.
http://wikiwix.com/cache/?url=
{{{URL}}}http://www.webcitation.org/query?url=
{{{URL}}}http://web.archive.org/web/*/
{{{URL}}}http://webcache.googleusercontent.com/search?q=cache:
{{{URL}}}It would be nice if the links showed up as ( Wikiwix, WebCite, Internet Archive, Google). But it's not that important. Any help is greatly appreciated. Thanks. - Hydroxonium ( H3O+) 22:57, 16 February 2011 (UTC)
I think the title is self-explanatory. Can anybody help me out? Thanks in advance. – CWenger ( talk) 04:43, 12 March 2011 (UTC)
if (mw.config.get('wgAction') == 'edit' && mw.config.get('wgNamespaceNumber') == 0)
$(function(){
$('#wpMinoredit').attr('checked', true)
})
Looking for a tool to capture the current URL and pass it to the W3C Markup Validation Service in another tab. I use FireFox 3.6. ---— Gadget850 (Ed) talk 15:56, 12 March 2011 (UTC)
It looks like a few scripts have been developed many years ago to quickly see how an article's developed (e.g. http://waxy.org/2005/06/wikipedia_histo/ & http://userscripts.org/scripts/show/1418). But they seem abandoned and no longer work for me :( Using the built-in history page and clicking "compare revisions" 20 times is too slow..
IBM has a really promising tool ( [5] [6]) but it's not open-source, not integrated into the browser, and seems abandoned as well.
Something like this would be really useful to:
A project like this can perhaps become a new version of WikiBlame (which is being linked to from the built-in history page) - see [7]).
-- eug ( talk) 04:26, 2 April 2011 (UTC)
It would be something along the lines of email. Have a little checkbox to the left of watchlist entries to mark them as read. Upon refreshing the page, the checked entry would fall off the page (but not off the main watchlist list).
You will see that the devs think that this can be done in Java JavaScript. I use both IE8 and FireFox to edit in the Vector skin, and I already have a short script in my vector.js file (from
WOSlinker) to keep the Minoredit box checked on edit pages. –
Paine Ellsworth (
CLIMAX )
17:13, 27 March 2011 (UTC)
AlexSm, I've been mulling over what you said about the 4Kb cookie size limit. I would be very happy with being able to check off a checkbox (it would have to stay checked off, even if I leave the watchlist and then come back to it) and forget about the item dropping off the list. Just checking off a box would be a ready cue that the item has been read and needs no further attention. The item would be clearly separated out from other items that I do want to come back to (the unchecked boxes). So the js code for making the items drop off the list is probably "overkill". How about a javascript that would add checkboxes to the left of each item on the list that, once they have been checked off, will remain checked off even if I leave the watchlist and then return. To me, that's even better than the unread items being bolded, although, since that's been done for others besides enwiki, maybe that would be easier to js encode than the checkboxes? – Paine Ellsworth ( CLIMAX ) 18:13, 13 April 2011 (UTC)
I had brought up the idea before, however no one had time to create it, what about now?
Here is my idea: I want to make a javascript that's a tab that will scroll down when pass the cursor over it. Basically it will create a insect page based on the options Family, Genus, and Species like an "easy start". When you click on Family, it will create the page your currently on with User:Bugboy52.40/sandbox1 (used <pre>), Genus: User:Bugboy52.40/sandbox2, Species: User:Bugboy52.40/sandbox4. Thanks in advance, this tool would make my life easier! Bugboy52.4 ¦ =-= 01:10, 28 March 2011 (UTC)
Should I copy/paste to my own userspace (as User:Bugboy52.4/insect templates.js) or have the script added to my monobook (basically are you going to delelte the page as you don't necessarilly need it) ? Bugboy52.4 ¦ =-= 12:48, 20 April 2011 (UTC)
I use both IE and Firefox, It doesn't work I Firefox. I look in my toolbox when editing, and I do not see anything. Bugboy52.4 ¦ =-= 01:09, 22 April 2011 (UTC)
I don't know, it is still not working, what can be wrong? Bugboy52.4 ¦ =-= 20:15, 25 April 2011 (UTC)
Is there a script to format citation templates? I was trying to look for one but couldn't find anything. Here's what I want it to do:
Has this been done before? If not, It'd be really neat if someone could cook it up. I'm tired of doing this manually :P -- Waldir talk 14:01, 15 May 2011 (UTC)
Would it be possible to write a script to highlight misspellings from a list at the article main space? That would make copy editing a lot easier. I use Firefox 4.1, but I am sure many users would want that functionality. Crisco 1492 ( talk) 06:10, 7 May 2011 (UTC)
I am sure making an RfA closer would make closing RfA's easier. Baseball Watcher 22:13, 10 May 2011 (UTC)
So I'm trying to edit a giant table ( List of Tecmo Koei games). I created this template by hammering a bunch of smaller lists into one giant one, and I am slowly going through and cleaning it up. I did it quickly so I could do a smoother company page merger, but now the table is huge and it is slow going. What would be neat-o is a script that could tell that I'm looking at a wikitable, and let me edit individual fields WYSIWYG-style, like WP:HOTCAT. Ideally it would let me store up minor edits and save all-at-once, so I'm not saving hundreds of tiny edits. I've not seen a script that does anything like this. Does this sound useful to anyone else, and would anyone feel confident making such a script? It would be an awesome gadget. ▫ JohnnyMrNinja 10:24, 22 June 2011 (UTC)
Dear friends; I need a few line of JavaScript code for my Monobook.js page which should make a partinal manipulation for lincs when a page is loaded. It should be possible to configure this via three strings. Assume the JavaScript should manipulate only the links of url type urlfixstart_A+urltrailer and should give me the possibility to access urls of url type urlfixstart_B+urltrailer. The link name of the manipulated link should be modified to stringC+original_link name. There are two solutions:
Usage: One can imagine that someone would like to look only at page history; another would like to have cklikable links both to pages and to associated talk pages.
I appreciate all your efforts and thank you in advance. Best regards
·
לערי ריינהארט·
T·
m:
Th·
T·
email me·
07:55, 20 July 2011 (UTC)
Thanks for any help in advance! 12:42, 22 July 2011 (UTC)
Please amend Per discussion here, it appears that Wikipedia:WikiProject_User_scripts/Scripts/Formatter is mis-sorting. Can someone fix this? — Justin (koavf)❤ T☮ C☺ M☯ 16:35, 11 August 2011 (UTC)
I have three separate requests regarding the edit filter log interface:
Sole Soul ( talk) 02:09, 29 October 2011 (UTC)
(Cross-posted to mw:Gadget kitchen/Requests)
The Wikimedia Foundation folks organizing education programs around the world (where students improve Wikipedia articles as an assignment) are looking for better tools for professors to review student contributions.
One of the needs that's come up is a more user-friendly, consolidated view of all changes made by a user -- either for a timeframe, or a given page.
That is:
Only sets of adjacent edits by the same user should be collapsed (User A->User A). If a user made multiple non-adjacent changes (User A->User B->User A), those should be shown separately.
The idea here is to facilitate quick review of relevant changes or changesets made by a student. If we can surface additional information in the process (edit survival, summary information about edits made by others, etc.) which provides professor-understandable context, that would be great, but even a fast diff viewer would be very helpful.
You'd fetch diffs one-by-one via the API (can load them asynchronously onto the same page, allowing the reviewer to start on the latest or earliest edits and keep on going even while things load).
This shouldn't cause extra load versus loading the same diffs manually, but will be a lot nicer for the person reviewing it.
This could make a big difference for getting hundreds more students to work on educational content -- it's a Good Thing. And it's probably useful in and of itself.
Here's a minimal mock-up:
Contributions by user: ________________ Set filter (optional) Begin date: (CALENDAR WIDGET) End date: (CALENDAR WIDGET) Article: ___________________ Sort order: [ oldest first ^] [Show contributions] => Contribution by <User> to <Article> on <timestamp> (DIFF) Contribution by <User> to <Article> on <timestamp> Note: Three adjacent edits are collapsed (DIFF) (SPINNER) Loading contributions
Sorry for the length of this request, but I thought it'd be better to be comprehensive. Any help is appreciated. :-)-- Eloquence * 20:30, 14 November 2011 (UTC)
Hi, I searched through all of wikis that they use fr:MediaWiki:Gadget-HotInterwiki.js but none of the doesn't work correctly (doesn't edit or delete interwikis). in my opinion its regexs has some problem. would you please repair this useful tool? Reza1615 ( talk) 02:15, 30 January 2012 (UTC)
I found this script one of the talk pages:
addOnloadHook(function() {
var xmlurl = 'http://validator.w3.org/check?uri=' + encodeURIComponent(wgServer + wgScript + '?title=-&curid=' + wgArticleId + '&uselang=' + wgContentLanguage) + '&charset=%28detect+automatically%29&doctype=Inline&group=0';
addPortletLink ('p-tb',xmlurl,'W3C HTML');
var cssurl = 'http://jigsaw.w3.org/css-validator/validator?uri=' + encodeURIComponent(wgServer + wgScript + '?title=-&curid=' + wgArticleId + '&uselang=' + wgContentLanguage);
addPortletLink ('p-tb',cssurl,'W3C CSS 2.1');
});
It almost works. It adds an extra // after the http: ---— Gadget850 (Ed) talk 13:28, 31 January 2012 (UTC)
wgServer
with'http:' + wgServer
Could someone help me with this code:
function removecat(autosave){
// Remove "Main Category" category
text.value = text.value.replace (/\[\[Category\:Main [Cc]ategory]\]\, "")
.replace (/\[\[Category\:Main [Cc]ategory|.*]\]\, "")
// Remove any whitespace from beginning and end
text.value = $.trim( text.value || "" );
document.editform.wpSummary.value = 'Removed main category (not needed anymore).';
document.editform.wpMinoredit.checked = true;
if(autosave){ document.editform.submit(); }
});
addPortletLink("p-cactions","javascript:removecat(autosave)","Remove category","ca-delcat");
function start()
{
addFunction("removecat", "Remove category", "removecat");
}
addOnloadHook(start);
It is supposed to remove [[Category:Main category]] and [[Category:Main category|*Letter*]] (*Letter* is where a letter of the alphabet would go there) The button won't even show up.
~~
Ebe123~~ →
report on my
contribs.
17:35, 5 February 2012 (UTC)
addFunction
function. You could use
WP:Hotcat to remove your category or I could write you a script to do what you want. —
AlexSm
17:14, 6 February 2012 (UTC)function removeMainCat(){
//process
var txt = $('#wpTextbox1').val();
txt = txt.replace (/\[\[[Cc]ategory:Main [Cc]ategory *(\|[^\]]*)?\]\]/, '');
txt = $.trim(txt);
//save
$('#wpTextbox1').val(txt);
$('#wpSummary').val('Removed main category (not needed anymore)');
$('#wpMinoredit').prop('checked', true);
$('#wpSave').click();
}
if( /edit|submit/.test( mw.config.get('wgAction') ) )
$(function(){
if( ! $('#wpTextbox1').length ) return;
addPortletLink('p-cactions', 'javascript:removeMainCat()', 'Remove category','ca-delcat');
})
How to have it to work without opening the edit screen? ~~ Ebe123~~ → report on my contribs. 00:38, 8 February 2012 (UTC)
function apiGetPage(title, func){
$.getJSON(
mw.util.wikiScript('api'),
{action:'query'
,format:'json'
,prop:'revisions'
,rvprop:'content'
,titles:title
},
function(d){
var txt
try{
d = d.query.pages
for( var i in d ) txt = di].revisions0]['*'
}catch(e){}
func(txt || null)
}
)
}
function apiSavePage(dat, func){
$.extend(
dat,
{action: 'edit'
,format: 'json'
,token: mw.user.tokens.get('editToken')
}
)
$.post(
mw.util.wikiScript('api'),
dat,
function(d){
if ( d && d. && d..result && d..result == 'Success' )
func()
else
func( d.error ? d.error.info : 'unknown error' )
}
)
}
function removeMainCatAjax(){
var pgName = mw.config.get('wgPageName')
var sum = 'Removed main category (not needed anymore)'
apiGetPage(pgName, received)
return
function received(txt){
if( txt == null ) return jsMsg('<p class=error>Failed to receive page text</p>')
//process
var txt2 = txt.replace (/\[\[[Cc]ategory:Main [Cc]ategory *(\|[^\]]*)?\]\]/, '');
txt2 = $.trim(txt2)
if( txt2 == txt ) return jsMsg('No changes made')
//save
apiSavePage(
{title: pgName
,text: txt2
,summary: sum
,minor: true
},
saved
)
}
function saved(err){
if( err ) jsMsg('<p class=error>Error saving page: ' + err + '</p>')
else jsMsg('Page saved')
}
}
$(function(){
//some exclusions here ...
if( /edit|submit/.test( mw.config.get('wgAction') ) ) return
//add link
addPortletLink('p-cactions', 'javascript:removeMainCatAjax()', 'Remove category','ca-delcat');
})
I would like a script similar to WP:SIMPLEVOTE but so it can be used in all Deletion discussions. I attempted to do so but it didn't work can someone help me or create one. JayJay Talk to me 00:37, 17 February 2012 (UTC)
Hi, me again. Now, I would like a script that replaces {{ March 2012 MtC drive}} by {{ NowCommons}} while keeping all the parameters. It will also be activated by clicking a URL in the template. ~~ Ebe 123~~ → report 13:42, 26 February 2012 (UTC)
Is there a script that will automatically roam the Internet, search for appropriate links (for references/citations on Wikipedia pages), and insert the appropriate code on the pages? The bot may need to be told what page(s) to scan, and when to run. I plan to use Firefox. Allen ( talk) 19:36, 4 April 2012 (UTC)
There's been a huge debate going on for years about a WMF scheme to "rate" images in specific categories, implemented by developers in software. I have proposed a much simpler system which I think can be done now, at least to a crude degree, without anything more than a user script. The full idea is at User:Wnt/Personal image blocking, but all I'm asking from you is a user script which does the following:
a) When the logged-in user browses a Wikipedia page, the script identifies every image on the page that is to be displayed.
b) It searches for an exact match between each image name and the text in a file User:(your name)/image-blacklist.js
c) If it finds a match, display of the image is degraded or disabled to the extent that it doesn't annoy the user.
In order to be relevant, the script should be able to handle a blacklist file containing about 500 images, for example, the depictions of Muhammad on Commons.
Note that I am not suggesting this to condone censorship, but to oppose it - Wikipedia users have the right to use user scripts as they wish, and it is time to demonstrate that the community can accomplish what heavy-handed measures could not. Wnt ( talk) 14:32, 17 June 2012 (UTC)
How about implementing a stub tagging feature to Twinkle? -- weltforce ( talk) 16:39, 25 June 2012 (UTC)
Is it possible to write a script that when I'm looking at, say, the last ten changes to an article in a diff, I can scroll over the changes and see who made them? Right now, you can see the users on the earliest and latest revision you're looking at, but not the ones in between. Fo example, this would be useful for if I saw that vandalism had been added on Foo, but I didn't know who had added it (say there were quite a lot of IP edits with no edit summaries). I could then click on a diff for the last ten changes, scroll over the vandalistic change in the diff, and (in a popup perhaps) see which editor had vandalized. (Note: this came over from the village pump.) David 1217 What I've done 18:26, 4 July 2012 (UTC)
Can someone please make a working version of User:Pyrospirit/metadata/assesslinks.js? Or tell me how to (if it doesn't need a complete rewrite)? I'm not sure when it stopped working but was due to a MediaWiki software change. The creator no longer maintains it. Thank you. Voxii ( talk) 00:24, 5 July 2012 (UTC)
Hi, could you create user script with function: redirect image on wikipedia directly to Commons, not Wikipedia archive with link to commons. Thanks Dominikmatus ( talk) 20:24, 18 June 2012 (UTC)
//automatically trasnfer to Commons from local page
if( wgNamespaceNumber == 6
&& !wgArticleId // only if local page does not exist
&& document.getElementById('shared-image-desc') )
{
location.href = '//commons.wikimedia.org/wiki/File:'
+ wgPageName.replace(/^.*?:/,'').replace(/"/g,'"')
+ '?uselang=' + wgUserLanguage;
}
Thank you. Awesome! Dominikmatus ( talk) 20:30, 17 July 2012 (UTC)
I would like a stub tagging script that would allow you to tag an article as a stub using the stubs listed under Wikipedia:WikiProject Stub sorting/List of stubs. It must be Chrome-compatible. -- Presidentman talk · contribs Random Picture of the Day ( Talkback) 21:47, 15 July 2012 (UTC)
Hello. Because the simple English Wikipedia is really not as big as the main (less than 30 really active users this month), I posted it here. So this is the current status:
The Simple English Wikipedia's structure (including policies, guidelines etc.) are as almost the same as here in the regular Wikipedia. That includes the article titles. Normally we name articles exactly after the same name here. We create the article right under the same lemma.
That brings up a new point: because the titles are the same, we can easily copy and paste the Interwiki links in the regular English WP's article into a simple English WP's article. So that is where a tool would be very comfortable. The tool should copy the interwiki links, add the [[:en:XXXX]] link and save it into the simple English WP's article. That is what we need.
I hope I've explained it with enough details. If not, please ask here. Thank you very much! -- weltforce ( talk) 16:30, 7 August 2012 (UTC)
I can't find anything like this, so I guess I'll ask. I can think of two different approach regarding page content below diffs that would be useful. One, to only show relevant section of the page content, i.e. only the changed or affected section. Second, to only show page content below diffs when needed, e.g. using a button to show it because sometimes I don't want to see the content, especially on long articles, but sometimes it's necessary. Either one of these would be great. If it's already been made, can someone point me to it? Thank you.-- Krystaleen 04:17, 13 August 2012 (UTC)
//diff page: show revision when clicking "revision as of ..." links
if( /[?&]diff=/.test(document.URL) )
$('#mw-diff-ntitle1 a:first, #mw-diff-otitle1 a:first')
.attr('title', 'Click to show this revision below')
.click(function(e){
e.preventDefault();
var lnk = $(this);
lnk.closest('table.diff')
.nextAll().remove().end()
.after(
'<hr class="diff-hr" />',
'<h2 class="diff-currentversion-title">' + lnk.text() + '</h2>',
$('<div />')
.append('<img src="' + stylepath +'/common/images/spinner.gif" alt="..." />')
.load( lnk.attr('href') + '&action=render', function(){ this.scrollIntoView() } )
)
})
Hi guys, I got I problem here with the stub tagging module here (works with old Twinkle).
The problem is, that the stub template is tagged even after the metadata (Categories, Interwiki etc) to the very bottom of the page. (self.params.normalized stands for the selected stub template)
var code, content;
switch( self.params.normalized ) {
default:
code = "\{\{" + self.params.normalized+ "\}\}";
content = code + "\n" + text;
break;
}
The problem relies on content = text + "\n" + code;
.
Is it possible to sort the metadata after the stub template? Thanks in advance! -- weltforce ( talk) 23:53, 17 August 2012 (UTC)
Hi, I recently stumpled upon http://mwcodemirror.sourceforge.net/ by the inactive User:JovanCormac. Can you create a Gadget from the existing JavaScript and CSS code? I don't know how to do it or where to start. After someone got it working inside MediaWiki I would like to improve the syntax highlighting feature as it does not highlight references and templates at the moment. Matthias M. ( talk) 09:35, 5 October 2012 (UTC)
I'd love to have a script for rating articles according to the metric used to study quality improvement in articles worked on by students. There are a lot more interesting uses this metric could be put to, to measure the quality improvement effects of all kinds of outreach and collaboration efforts, from collaborations of the month, to edit-a-thons, to just getting a baseline for the quality of content contributed by newcomers or measuring the rate at which article quality overall is improving. But it's tedious for reviewers to record their ratings manually. Here's what a rating script should do:
-- Sage Ross (WMF) ( talk) 15:40, 12 October 2012 (UTC)
Ubuntu (12.04) user. Can't use AWB, Persondata matic, can someone create a browser based script to add persondata? -- Tito Dutta ( talk) 19:01, 16 October 2012 (UTC)
In the edit filter log interface:
Sole Soul ( talk) 16:20, 9 September 2012 (UTC)
It would be great to have something to speed up work at WP:RFPP. Something that would appear next to each of the headings / articles on the page with an option to add a template to that section. And then after selecting the type of template (i.e. semi, full, e.t.c) it would then ask you for the time to add as a parameter before posting to the section. I imagine it shouldnt be that hard as I have seen similar useful scripts for AFD and other such places. Intended for use on Chrome with monobook ·Add§hore· Talk To Me! 16:08, 16 January 2013 (UTC)
Hello. I am looking for a script that would hide the "feet" part of measures displayed by the convert template. I couldn't find it as a gadget in the preferences page, and couldn't find it either there, but I still hope it exists somewhere. Regards, Freewol ( talk) 11:02, 19 February 2013 (UTC)
{{
convert}}
and it emits nothing that marks itself as coming from the template, so this job is quite complex as it requires pattern matching against the entire page and replacing text as opposed to just toggling the display style of an element. It would also require some kind of check to see if the feet measurement was paired with a metric measurement before it removed that content. I think what you're asking for is very possible if the infrastructure was in place to support it, but as is the scope of work is probably too large for a volunteer to take on for a user script. If the template wrapped the values in spans with appropriate classes, it would be a simple thing to hide all instances based on user preference. This would require a change to {{
convert}}
and other templates like it that output two values and then a simple gadget or user preference could handle the display. It's a cool idea at any rate, and is at least possible if enough people wanted it. —
Bility (
talk)
17:23, 5 April 2013 (UTC)A large number of entries for the listas param could be constructed from the page name.
Much appreciated if a user script could be written to do this. Sfan00 IMG ( talk) 15:13, 5 April 2013 (UTC)
{{
WikiProject Biography}}
, just to get an idea of what would go into an accurate listas generator. From the above I would suggest including these rules:
importScript('User:Bility/biographyListasGenerator.js');
|listas=
parameter? —
Bility (
talk)
17:29, 8 April 2013 (UTC)So I made a Lua module that does this, it could go on the WikiProject Biography doc page so people could copy/paste it into talk pages and let it automatically create the input for the |listas=
parameter. Right now it's a sandbox version I'm working on accepts text and returns the attempt to create a sortable name, so it would need to be used with The module is at
Module:SortName and is used like this: {{PAGENAME}}
, although I'm pretty sure the template could get the page title automatically.{{subst:#invoke:SortName|sortname}}
. You can see on the
testcases talk page what it produces with different inputs.
So the difference between this and the script is anyone can use the template without having to modify their user .js pages, but it would require either a saved edit or show previewing outside the template to see what it will produce. So people just copy/pasting from the template doc page would have to know to go back in and make sure it put something reasonable in |listas=
. —
Bility (
talk)
00:03, 10 April 2013 (UTC)
Problem: I have created a large number of people stubs and would like to recruit people via social media to expand them. My idea is to have a user script that only runs on Category pages (I.e. Category:New Zealand academics) and displays un-coming topical information derived from in listed individuals, which can then be used in tweets, etc. Proposed solution: Use javscript to ping wikidata for each person, getting their dates of birth and death and populating a sortable wikitable of these. The table would go at the bottom of the page, so that any flickering would be off the screen. Questions: Is there already doing this kind of thing? Are there examples of the right way to ping wikidata? Are there cautionary tales of people trying to recruit new editors via social media I can learn from? I have a little javascript experience and other experience I can adapt. Stuartyeates ( talk) 03:42, 27 June 2013 (UTC)
Sorry if I've missed an obvious answer.
In the pro wrestling articles here, James Caldwell of PWTorch.com's event results are very often cited, and the article title is always in the style of "WWE Raw results 3/14: Complete "virtual time" coverage of live Raw — Cena vs. Del Rio main event, U.S. Title match, two surprise returns, Snooki".
Including the tagline just clutters things up for editors, especially when it appears more than once per paragraph.
Can a bot or script help by scanning for keywords (Caldwell, virtual time coverage, WWE) and automatically remove everything after the colon and up to the "|" divider in a citeurl tag?
If so, that'd save a lot of time (or get it done, period).
Thanks. InedibleHulk (talk) 20:35, 25 June 2013 (UTC)
Hi,
On frwiki, a user made a
script which allows creating/updating the <templatedata>...</templatedata>
visually and very easily. Anyone willing to make the same for enwiki ? --
NicoV (
Talk on frwiki)
16:38, 16 July 2013 (UTC)
How hard would this be? It's apparently merely hidden. Adam Cuerden ( talk) 04:41, 22 July 2013 (UTC)
i want to be able to download social networks like whatsapp----
Can someone make a script which put this navigation template to end of the page? -- Samoasambia ( talk) 18:04, 23 September 2013 (UTC)