Wikipedia:WikiProject User scripts/Requests/Fulfilled/Archive 1: Difference between revisions

Content deleted Content added
MalnadachBot (talk | contribs)
m Fixed Lint errors in signatures. (Task 2)
Line 191:
 
== View source for every page ==
A view source and edit button for every page. The view source is if you want to see the code, but you don't want to accidentally save the page, or leave it there, and then come back and not save your major edit, because you thought you were just looking at script. --<i><b>[[User:GeorgeMoney|<fontspan colorstyle="color:#5ADD22"><font; font-size="1:x-small;">George</span>]][[User:GeorgeMoney|George]]</font></font><fontspan sizestyle="1"font-size:x-small; color=":#FF0000;">Mon</span>]][[User:GeorgeMoney/Esperanza|Mon]]</font><fontspan sizestyle="1"font-size:x-small; color=:green;">e</span>]][[User:GeorgeMoney/Esperanza|e]]</font><fontspan sizestyle="1"font-size:x-small; color=":#FF0000;">[[User:GeorgeMoney|y]]</fontspan>]]</b></i><sup><font color="#0000FF"><span style="font-size: 6pt">[[User_talk:GeorgeMoney|Talk]]</span></font><span style="font-sizecolor: 3pt"></span><font color="#0000FF"><span; style="font-size: 6pt;">Talk</span>]]&nbsp;&nbsp;[[Special:Contributions/GeorgeMoney|Contribs]]</span style="color:#0000FF; font-size:6pt;">Contribs</fontspan>]]</sup> 04:44, 19 April 2006 (UTC)
 
: I have just created [[User:Misza13/Scripts/View source]]. I hope it's what you had in mind. [[User:Misza13|Misza]][[WP:ESP|<span style="color:green">'''13'''</span>]] <sup><u>'''[[User talk:Misza13|T]] [[Special:Contributions/Misza13|C]]'''</u></sup> 20:29, 19 April 2006 (UTC)
Line 201:
 
== Watchlist a single section of a page ==
A way to put on your watchlist only a section of a page. For example, if there is a talk page and you are having a discussion, but other discussions are going on too, you don't want those discussions clouding up your watchlist, you just want to watch the discussion going on that you care about. So for example, you are having a discussion on [[User Talk:Example|Example's talk page]], and the section header is "Hello". Then he gets a vandalism notice under a new section header titled "Vandalism". You watch the page and you see an edit summary <span class="comment"><span class="autocomment">→Vandalism -</span></span>. The edit was by User:NotExample. If User:Example responded to your query, you won't know, because the edit by User:NotExample replaced the edit by User:example in your watch list. Thank you --<i><b>[[User:GeorgeMoney|<fontspan colorstyle="color:#5ADD22"><font; font-size="1:x-small;">George</span>]][[User:GeorgeMoney|George]]</font></font><fontspan sizestyle="1"font-size:x-small; color=":#FF0000;">Mon</span>]][[User:GeorgeMoney/Esperanza|Mon]]</font><fontspan sizestyle="1"font-size:x-small; color=:green;">e</span>]][[User:GeorgeMoney/Esperanza|e]]</font><fontspan sizestyle="1"font-size:x-small; color=":#FF0000;">[[User:GeorgeMoney|y]]</fontspan>]]</b></i><sup><font color="#0000FF"><span style="font-size: 6pt">[[User_talk:GeorgeMoney|Talk]]</span></font><span style="font-sizecolor: 3pt"></span><font color="#0000FF"><span; style="font-size: 6pt;">Talk</span>]]&nbsp;&nbsp;[[Special:Contributions/GeorgeMoney|Contribs]]</span style="color:#0000FF; font-size:6pt;">Contribs</fontspan>]]</sup> 22:21, 21 April 2006 (UTC)
 
:This request and the next one would be much better done in mediawiki instead of as a user script. I suggest you file feature request bug(s) on [http://bugzilla.wikipedia.org bugzilla]. [[User:Lupin|'''Lupin''']]|[[User_talk:Lupin|talk]]|[[Wikipedia:Tools/Navigation popups|popups]] 00:53, 16 May 2006 (UTC)
 
== Insert user page links ==
A one way click to add a link to a username. For example: You click a tab, then a message box pops up that says "What user". Then you type the username in the box and the script puts <nowiki>[[User:Example|Example]]</nowiki> into the page. If the page User:Example doesn't exist, then it links to the talk page of that user. So now it is <nowiki>[[User_Talk:Example|Exmple]]</nowiki>. If the talk page doesn't exist, then it links to contributions. So now you have <nowiki>[[Special:Contributions/Example|Example]]</nowiki>. Also, there should be an option that on choices 1 and 3, you have a link to the talk page in parenthases (even if it doesn't exist). So if you choose that option, then #1 would look like this: <nowiki>[[User:Example|Example]] ([[User_Talk:Example|Talk]])</nowiki>. You can do all of this manually, but you would have to cut and paste, and put wikilinks, and it would take too long. ''I know this is a bit confusing, so any questions, ask me.'' Thank you --<i><b>[[User:GeorgeMoney|<fontspan colorstyle="color:#5ADD22"><font; font-size="1:x-small;">George</span>]][[User:GeorgeMoney|George]]</font></font><fontspan sizestyle="1"font-size:x-small; color=":#FF0000;">Mon</span>]][[User:GeorgeMoney/Esperanza|Mon]]</font><fontspan sizestyle="1"font-size:x-small; color=:green;">e</span>]][[User:GeorgeMoney/Esperanza|e]]</font><fontspan sizestyle="1"font-size:x-small; color=":#FF0000;">[[User:GeorgeMoney|y]]</fontspan>]]</b></i><sup><font color="#0000FF"><span style="font-size: 6pt">[[User_talk:GeorgeMoney|Talk]]</span></font><span style="font-sizecolor: 3pt"></span><font color="#0000FF"><span; style="font-size: 6pt;">Talk</span>]]&nbsp;&nbsp;[[Special:Contributions/GeorgeMoney|Contribs]]</span style="color:#0000FF; font-size:6pt;">Contribs</fontspan>]]</sup> 22:21, 21 April 2006 (UTC)
 
: Try [[User:Ilmari_Karonen/editbutton_user.js]]. Instead of trying to detect which pages exist, which would require a server-side lookup, it inserts <code><nowiki>{{subst:user|Example}}</nowiki></code>, which provide all three links like this: [[User:Example|{{{2|Example}}}]] ([[User talk:Example|talk]] • [[Special:Contributions/Example|contribs]]). —[[User:Ilmari Karonen|Ilmari Karonen]] <small>([[User talk:Ilmari Karonen|talk]])</small> 16:54, 8 May 2006 (UTC)
Line 216:
 
== List all red links on a page ==
A list of all red links on a page. --<i><b>[[User:GeorgeMoney|<fontspan colorstyle="color:#5ADD22"><font; font-size="1:x-small;">George</span>]][[User:GeorgeMoney|George]]</font></font><fontspan sizestyle="1"font-size:x-small; color=":#FF0000;">Mon</span>]][[User:GeorgeMoney/Esperanza|Mon]]</font><fontspan sizestyle="1"font-size:x-small; color=:green;">e</span>]][[User:GeorgeMoney/Esperanza|e]]</font><fontspan sizestyle="1"font-size:x-small; color=":#FF0000;">[[User:GeorgeMoney|y]]</fontspan>]]</b></i><sup><font color="#0000FF"><span style="font-size: 6pt">[[User_talk:GeorgeMoney|Talk]]</span></font><span style="font-sizecolor: 3pt"></span><font color="#0000FF"><span; style="font-size: 6pt;">Talk</span>]]&nbsp;&nbsp;[[Special:Contributions/GeorgeMoney|Contribs]]</span style="color:#0000FF; font-size:6pt;">Contribs</fontspan>]]</sup> 01:35, 26 April 2006 (UTC)
<pre><nowiki>
function listRedLinks() {