User talk:Topaz/Archive1

Latest comment: 18 years ago by Topaz in topic I give up


Template:1911

Well, twenty months late, welcome to Wikipedia! You've already figured the basics out (obviously), so I'll forgo the normal welcome cruft and let you know that I've changed Template:1911 per your excellent suggestion at WP:AN. --Jeffrey O. Gustafson - Shazaam! - <*> 11:26, 5 January 2006 (UTC)

Yes, I already saw; yay for the speedy response! Darned commas on protected pages. ~Topaz 11:29, 5 January 2006 (UTC)

Status changer script

Hey, I've added the status changer script and refreshed bypassing my cache (Ctrl+F5) and I couldn't see it. Please check my Monobook.js in case I've overlooked something. Thanks. ComputerJoe 11:25, 7 January 2006 (UTC)

Looks like you missed the prerequisites for the module; re-read the instructions on User:Topaz/Wikiscripts. Specifically, you need to also include the source of the libraries it depends upon: init, util, comm, and wputil. You can either use the strategy I've got set up where each library is in its own file (like mine) by making copies of them in your own namespace, or you can just copypaste the sources of those files in the same order as I include them (such that libraries are loaded before the modules that need them). ~Topaz 19:01, 7 January 2006 (UTC)

Toolserver

Have you considered (or maybe you already have one) getting an account on the toolserver? You could probably do a lot more with your scripts from there. -- Essjay · Talk 06:42, 11 January 2006 (UTC)

On the what? ~Topaz 06:42, 11 January 2006 (UTC)
Oh, like... these? ~Topaz 06:45, 11 January 2006 (UTC)

Yeah, the toolserver. -- Essjay · Talk 06:49, 11 January 2006 (UTC)

What sorts of things can one do there? Those look like database-parsing CGIs from what I've seen. ~Topaz 06:51, 11 January 2006 (UTC)

There are a lot of neat toos over there, see m:Toolserver/Projects. m:Toolserver has more information about what it is designed to do and how to get access. -- Essjay · Talk 07:22, 11 January 2006 (UTC)

Fantastic, thanks! ~Topaz 07:22, 11 January 2006 (UTC)

Flcelloguy's Tool

Hey, I see that you are an advanced Java programmer, and since you edited this page, I was wondering if you're interested in helping with the development of the program. Right now, we have a lot of ideas as to what to do, but we don't have enough experienced coders (I'm a QBasic programmer, and I'm learning Java as I go) to help us. So, any help would be really appreciated. Thanks! Titoxd(?!? - help us) 21:38, 11 January 2006 (UTC)

Mostly, the tool is a backup for the tools that does not rely on the toolserver in which Interiot's Tool and Kate's Tool reside. Titoxd(?!? - help us) 19:58, 12 January 2006 (UTC)
Well, what sorts of things are you looking to add to the tool? Also, it seems like what you're doing could be done much more simply via a small, locally-run Perl script and perhaps a few calls to curl if the user has no local cache of the page(s) to parse. ~Topaz 06:00, 13 January 2006 (UTC)

Various tools

I'd like to agree with both of the sections above. Titoxd has created Wikipedia:WikiProject edit counters, we should probably link to your page. And being able to run random queries against the database is most definitely cool. And developers working together is always good.

Also, since you're a javascript guy, I wanted to mention http://paperlined.org/apps/wikipedia/Tool2/. It's a javascript/AJAX version of the edit counter scrapers. Currently its reporting is a bit anemic, but its back-end history scraping code is complete, as far as I know. I'm not maintaining the code anymore, but maybe it can be of use to somebody.

Regarding your javascript tools, it's nice to know about. Though I tend to use Firefox's keymarks more often than not (though I tweaked firefox to use server-side keymarks). --Interiot 19:08, 12 January 2006 (UTC)

TfD nomination of Template:Su

Template:Su has been nominated for deletion. You are invited to comment on the discussion at Wikipedia:Templates for deletion#Template:Su. Thank you. -- Ricky81682 (talk) 00:21, 16 January 2006 (UTC)

( response at User:Topaz/Voting templates ~Topaz 04:28, 16 January 2006 (UTC) )

Challenge

I have a challenge for you, since creating the statuschanger script was so easy for you. I want an expansion of the script so I can click on it on any project, and have it change my status on all projects where I have it active. Are you up to it? ;-)

Also, wondering if you have any experience with VBScript; I need a VBScript script written for my IRC client, and I thought of you (I have zero programming ability). Essjay TalkContact 15:58, 20 January 2006 (UTC)

Statuschanger - The issue with that is that I can't use the technique I'm using now to change pages under other hostnames. I also can't use iframes because I need the response of the first request to get the edit ticket for the actual page change and one cannot get the contents of iframes. We might be able to work out a solution if it's possible to pull templates from other wikis or perhaps if you can load images through redirects (at which point you could make a redirect on the Commons to one of the three status images, have my scirpt live on the commons and change the redirect page, and have all of your status images loaded from the redirect instead of loaded directly).
VBScript - Nope, don't know VBScript beyond reaaaaaaly basic stuff. Glad you thought of me, though! If it's basic enough, I might be able to learn whatever I'd need to make it... but that might be a long shot. ~Topaz 00:47, 21 January 2006 (UTC)

Javascript Help?

Hey, uh ... you seem smart. I was wondering if you could help me with some javascript? I've written a little CSS file that, among other things, puts WPedia into a dynamically adjusting two-column layout, but it breaks a lot of things unless it's applied sparingly. I want to be able to change the HTML structure through monobook.js such that a new DIV is inserted below the table of contents, and a new /DIV is inserted at the end of the body content.

(Better yet, I'd like to be able to surround each top-level document section with a new div.)

Cheers. Tlogmer 22:13, 27 January 2006 (UTC)

Done! Have a look at section splitter on User:Topaz/Wikiscripts. I think it does what you are explaining; if not, lemme know so I can change it appropriately. Also, keep in mind that the top part (from "From Wikipedia..." to the first major section heading) is also a section; if you don't want to apply css to that, I can change the script to not give the first div a class, or you could use div + div in your css. ~Topaz 02:00, 28 January 2006 (UTC)

Awesome; thanks! Tlogmer 12:32, 28 January 2006 (UTC)

This is probably due to my javascript incompetance, but I can't get it to work. Do I have to do anything in particular other than adding it (and its prerequisites) to User:Tlogmer/monobook.js? Tlogmer 09:11, 30 January 2006 (UTC)

That should be just fine. Have you cleared your cache? (shift-refresh in Firefox.) Also, if you're using Firefox, go to Tools->JavaScript Console, push clear, and refresh the page. Do any javascript errors appear there? What are you doing to detect the changes the script makes? Your monobook.css has nothing referencing those divs to begin with and the changes my script makes are otherwise invisible. ~Topaz 10:36, 30 January 2006 (UTC)

I haven't actually written up the CSS yet; I've just been searching the source for the new DIVs. Hm. I do get a couple errors, now that I look at the console -- lines 13, 14, and 15 -- Selector expected. Ruleset ignored due to bad selector. Tlogmer 10:54, 30 January 2006 (UTC)

Okay, well, you aren't going to see any changes in the sourcecode. Javascript alters the browser's internal hierarchical structure of the xhtml after it has parsed the page. If you want, you can go to Tools->DOM Inspector and dig down the tree until you reach the page's body. You should see some extra divs with the appropriate properties. Those selector errors you saw are triggered by something in WP's default CSS code, so you've probably installed everything correctly. ~Topaz 17:17, 30 January 2006 (UTC)

Oh, oops. Alright. Well, I've written up a bit of CSS to test the javascript, but it strangely seems to work only on utility pages (edit-this-article, contributions, watchlist, preferences), not main articles pages. Hmm. Tlogmer 07:47, 31 January 2006 (UTC)

Seems to work just fine for me. Have a look at my monobook.css. Make sure you're clearing your cache; articles might use a different caching mechanism than other pages. Just to be certain, visit an article you've never seen before so you're sure it's not a problem with caching. ~Topaz 17:12, 31 January 2006 (UTC)

I've synchronized my js and css pages with yours; no luck. (Cache is clear; tried it in Safari and IE 5 too, to make sure.) Once I get past the login page (which is a util page, I guess) it doesn't work on articles. Tlogmer 18:51, 31 January 2006 (UTC)

Alright, I checked the DOM inspector on an article page and sure enough, no section DIVs. Tlogmer 01:22, 1 February 2006 (UTC)

 

Are there any errors in the JavaScript console? Here's what I'm seeing:

~Topaz 04:39, 1 February 2006 (UTC)

 
 

Nope, doesn't work for me. No console errors. What version of Firefox are you using? (I've also included a pic of it working on an edit page.) Tlogmer 12:55, 5 February 2006 (UTC) Okay, this is weird: I've just noticed that the status changer only works for me on util/edit pages also. Bizarre. Tlogmer 13:36, 5 February 2006 (UTC)

Sounds to me like an incompatability between my scripts and something else. Since your monobook.js file is only my scripts, though, and your monobook.css is identical to what I was using for testing, I'm not sure what's going on. I'm using Firefox 1.5.0.1 on WinXP SP2. Try including User:Topaz/sectionsplitter_debug.js in place of the normal section splitter and see if you get messages for onload, begin page alter loop, and one using new H2 for each page heading. Also see if, in the DOM Inspector, you can climb to HTML->HEAD and find a bunch of SCRIPT tags with src attributes pointing to each of the scripts you include in your monobook.js file. ~Topaz 04:18, 6 February 2006 (UTC)

I get the popups, but only on talk/util pages. Your scripts seem to be to be in the Head, though, even on article pages. Are there any files other than monobook.css/js that I should check for previous contradictory alterations? Tlogmer 09:25, 7 February 2006 (UTC)

No, nothing else I am aware of... Have you tried another computer? ~Topaz 10:07, 7 February 2006 (UTC)

Yeah, I've tried a few. Blah. Tlogmer 12:09, 7 February 2006 (UTC)

Well, we could go all-out: change your password to something else for a bit and email it to me. I'll log in as you and see if I have the same problem or if I can fix it. Worth a try? ~Topaz 17:25, 7 February 2006 (UTC)

Done and done. Thanks. Tlogmer 00:05, 8 February 2006 (UTC)

I think there's some minor detail we've overlooked, but I'm not familiar enough with WP's inner workings of how it uses scripts and stylesheets to know for sure. Unlike other peoples' monobook.js files, when I look at your monobook.js when I'm logged in as you, it looks drasticly different (no "After saving..." notice and improper formatting) than when I view it as myself. Viewing your monobook.js when logged in as you is the only time it looks strange. I assume this means that WP is somehow not realising that that's your monobook.js... but I'm not sure what to do about it. Maybe have an admin delete the page and re-create it? ~Topaz 02:18, 8 February 2006 (UTC)

Hm. Okay, I'll do that. (Changed the password back, too.) Thanks. Tlogmer 20:47, 8 February 2006 (UTC)

Ocular prosthetic

Excellent work on the above article. I had an idea to do something similar, but then realised I actually know nothing about how they're made (despite having one). The article is very informative now, thanks. Natgoo 16:16, 12 February 2006 (UTC)

Thanks! The article used to be so small... I couldn't help but fix it! ~Topaz 22:30, 12 February 2006 (UTC)

Extra side bar...

Hi,
Since you asked anyone to ask for the scripts they like...
I would really like to have another box\side-bar under the toolbox. In wikimedia projects it can be used for putting all the handy links (instead of a very-crowded customised p-tools menu) and in a site I'm working on (Hebrew like Wikitravel I wanted to put news, featured articles etc, so the the surfer can see them anytime and not just on the main page (most surf from a search engine hence not arriving first to the main page). Thanks- F16 12:00, 28 February 2006 (UTC)

Hi, F16! If you include my wikiscript called wputil (and all of its dependencies; see User:Topaz/Wikiscripts for more information or my monobook.js for an example), you can use the functions topaz.wputil.addsidepanel(id,label) and topaz.wputil.addsidepanelbutton(id,label,targhref) to construct whatever side panels you'd like! Have a look at my statuschanger wikiscript for an example of these functions in action. Essentially, create a side panel with some id and whatever label you care to use, and then start adding buttons with the same id and whatever label and targethref (that is, either the url of the page you'd like to load preceeded with http:// or some arbitrary javascript to run on click preceeded with javascript:). ~Topaz 6:33, 28 February 2006 (UTC)
Thanks, I'll try to play with it. F16 12:57, 2 March 2006 (UTC)

Status changer and the watchlist

Is there a line of code that can be put in my statuschanger.js file, in order to always make the User:Tv316/Status page stay on my watchlist? Every time I change my status, it takes it off my watchlist, but I would prefer to have it on my watchlist so that I can see when someone vandalizes it. Thanks. tv316 21:55, March 13, 2006 (UTC)

Done. Have a look at the new statuschanger.js, an updated version which includes the following preference:
// true if you'd like your status page on your watchlist
topaz.statuschanger.watchstatus = false;
If you set that to true, you should be all set! ~Topaz 07:19, 14 March 2006 (UTC)
Thank you very much. Works like a charm! Weird, I hardly ever forget to sign my posts. tv316 08:46, 14 March 2006 (UTC)
Glad to hear it! If you have any other ideas, don't hesitate to ask. ~Topaz 08:55, 14 March 2006 (UTC)

WP:US

Hi Topaz. I really like your Wikiscripts page. I was wondering if you knew about Wikipedia:WikiProject User scripts? ~MDD4696 04:45, 29 March 2006 (UTC)

Ah, a central listing of User scripts! That's excellent. I hope my scripts are put to even more use through that. Also, it looks like my scripts fulfill one or more of the requests listed on that page including the one you made not hours ago for an XMLHTTP wrapper and make a few others really easy to do. ~Topaz 07:15, 29 March 2006 (UTC)
Yes, but at first glance it didn't seem like your wrapper was IE compatible. Was there something I missed? ~MDD4696 22:41, 29 March 2006 (UTC)
Oh, I see now! This is very cool--you have a good system going. ~MDD4696 22:55, 29 March 2006 (UTC)

SMM (Save My Monobook)

Hello Topaz! I could use some help(read "need someone else to do it for me") making my monobook.js work in Firefox. Once my RFA is over I want to merge Essjay's monobook with my current (OwenX's) monobook. However the warn button (current monobook) that appears on diffs dosen't work in firefox, and I definitely want to keep it. I was wondering if you could possibly help me out. You certainly have the skill to do it, plus I'll throw in some nice barnstars! What do you say? I don't want to bother OwenX for the forth time. Prodego talk 04:32, 2 April 2006 (UTC)

Sure, I'd love to help! The easiest way to figure out what's going on is to watch the Javascript Console in Firefox. Set up your monobook.js the way you want it. Then, go to Tools -> JavaScript Console, hit 'Clear', then reload a WP page that makes something break and check what errors are in the console. Your best bet then is probably to Special:Emailuser/Topaz email them to me so I can have a look. If we have trouble with that or if you don't have the Developer Tools installed for Firefox, another option is to change your WP account password and email me the new password so I can log in as you and just work with your monobook.js directly. ~Topaz 07:37, 2 April 2006 (UTC)
I replied over e-mail, I do have Javascript Console, If I didn't why give you my password, couldn't you just put my monobook in your monobook.js file? Prodego talk 13:02, 2 April 2006 (UTC)
Yes, absolutely; the only issue with that is that I have to make sure I don't clobber any of my own stuff which is rather a hassle. I'd also need to put up warnings on any page that links to my monobook.js saying something like don't use my monobook.js right now as an examle of what to do as I'm actually working on someone elses; try again later. Like I said before, though, we don't even need to consider that unless we really start having trouble getting things working. If you're uncomfortable with it, I can make the changes to my own monobook.js instead, it's just more work for me.
I'm looking at the errors you sent me and it doesn't look like Javascript is even complaining; they're just broken css declarations that weren't even generated by your personal js or css files. However, after looking more closely at your monobook.js, I've discovered that OwenX's script is using IE-only attributes and also assumes your date is in the default format. I think the problem is isolated entirely to these lines:
var rmsg = rcol.getAttribute('outerText');
if (rmsg.substring(0, 16) == 'Current revision')
    var vandalname = rmsg.substring(16, rmsg.indexOf('(Talk')-1);
else
    var vandalname = rmsg.substring(rmsg.indexOf(' 200')+5, rmsg.indexOf('(Talk')-1);
In particular, getAttribute('outerText') is accessing an attribute that Microsoft invented for use in IE and that doesn't follow standards. Also, rmsg.indexOf(' 200')+5 is trying to look for the person's name immediately after the year in the date - an utter hack which assumes you have the year at the end of your preferred date format (which, for example, wouldn't work for me as my dates don't do that). I'll write you a fix when I get a chance; if I'm correct in guessing that the problem is isolated to those lines, this won't be a difficult fix. ~Topaz 19:53, 2 April 2006 (UTC)


Alright... this fix has only been mildly tested, but it looks like it should work. Comment out the lines I listed above (prepend them with //) and add this line right after them:
var vandalname = rcol.getElementsByTagName('a')[1].innerHTML;
That should work - try it and let me know. ~Topaz 21:41, 2 April 2006 (UTC)
It works in Internet Explorer, but still not in firefox, perhaps there is more IE only coding involved? I removed the commented out lines to make sure that wasn't the problem, so they are gone now. Hope that's not a problem, but they are still in the page history. Also, I do use the standard Date format. I would rather not give you my password if possible! Thanks Prodego talk 01:22, 3 April 2006 (UTC)
Alright, well... see if there's anything in the Javascript Console with those changes. Also, please notice that I said that "another option is to change your WP account password and email me the new password" — not to send me a password you use for something already! I'd never ask you for that.
As you've suggested, it's probably the fault of more proprietary IE javascript. I'll have a look when I get a chance to see what else might be breaking things. ~Topaz 01:38, 3 April 2006 (UTC)
Nothing new in the javascript console. Prodego talk 19:59, 3 April 2006 (UTC)
I'm actually debugging right now, and I think I found the problem. Gimmie a few more minutes to make sure and I'll probably have a patch for you. ~Topaz 20:00, 3 April 2006 (UTC)
Yup, it's now working for me! Change this line...
if (document.getElementById('contentSub').getAttribute('innerText') == "(Difference between revisions)")
...to this...
if (document.getElementById('contentSub').innerHTML == "(Difference between revisions)")
...and you should have everything I do in my working copy! ~Topaz 20:05, 3 April 2006 (UTC)

Thanks, it works! As promised:

 
I award this Tireless Contributor Barnstar Award to Topaz for diligently and tirelessly working to fix my monobook Prodego talk 20:19, 3 April 2006 (UTC)
 
I award this Barnstar of Diligence to Topaz for diligently and tirelessly working to fix my monobook Prodego talk 20:19, 3 April 2006 (UTC)
 
I award this Working Man's Barnstar to Topaz for diligently and tirelessly working to fix my monobook Prodego talk 20:19, 3 April 2006 (UTC)

Prodego talk 20:19, 3 April 2006 (UTC)

Well, not quite, there are still two gliches. Spaces are interpreted as "%20" which are not allowed in edit summaries. Is there a way to fix that? Also, you can't click the warn button to open into a new window(center click) using this method, that's not a big problem, but the first problem is. Prodego talk 20:32, 3 April 2006 (UTC)
Third bug, dosen't work for subpages, such as my RFA(Wikipedia:Requests for adminship/Prodego

) Prodego talk 20:46, 3 April 2006 (UTC)

Could you give me an example page for the %20 bug? ~Topaz 20:47, 3 April 2006 (UTC)


[1] Click "warn" then "head", but don't submit of course. Prodego talk 20:55, 3 April 2006 (UTC)

fixes!

(The following changes are also already installed in the bottom portion of my monobook.js - it might be easier to just copy everything below the 'do not copy' line into your monobook.js directly instead.)

%20 fix

Change this...

var from_page = location.search.substring(from_index + 10);

...to this...

var from_page = unescape(location.search.substring(from_index + 10));

middle-click fix

Change this...

tabs.appendChild(addlilink('javascript:warn_vandal("' + vandalname + '","' + page + '")', 'Warn'));

...to this...

tabs.appendChild(addlilink('http://en.wikipedia.org/w/index.php?title=User_talk:' + vandalname + '&action=edit&fakefrom=' + page, 'Warn'));


subpage fix

Change this...

if (document.getElementById('contentSub').innerHTML == "(Difference between revisions)")

...to this...

if (document.getElementById('contentSub').innerHTML.indexOf("(Difference between revisions)")>-1)


Those seem to work for me -- lemme know if you have any other problems! ~Topaz 21:16, 3 April 2006 (UTC)


Perfect! Prodego talk 21:29, 3 April 2006 (UTC)

Another (small) bug, same as the &20 bug, non standard charactors appear oddly, see: [2] Prodego talk 20:47, 4 April 2006 (UTC)

Okay, change this...

tabs.appendChild(addlilink('http://en.wikipedia.org/w/index.php?title=User_talk:' + vandalname + '&action=edit&fakefrom=' + page, 'Warn'));

...to this...

tabs.appendChild(addlilink('http://en.wikipedia.org/w/index.php?title=User_talk:' + vandalname + '&action=edit&fakefrom=' + escape(page), 'Warn'));

*sound of squished bugs* ~Topaz 21:30, 4 April 2006 (UTC)

more changes

Good. Now for the enhancements ;-) I want to take parts of Essjay's monobook, and merge them into mine. I would like: the User functions tab(but no proxy check button), the change from 'edit this page' to 'edit', and the clock (I'll set up your wonderful status changer myself). After this there is one more thing, but one at a time. Thanks again, Prodego talk 21:16, 5 April 2006 (UTC)
Okay, I think I've got everything working. Make a backup of your monobook.js and then try out my modded version instead. Without test cases, it's hard for me to know whether I got everything or not, so try it out and see if you have all of the features you asked for and that everything is working properly. ~Topaz 19:03, 10 April 2006 (UTC)
Very nice, it looks good, but the User Functions tab doesn't drop down, so it doesn't work. Sorry about the delayed response, I've been away. Prodego talk 14:34, 15 April 2006 (UTC)
Just FYI, the drop down feature should only work in firefox, so if you are testing in another browser, don't expect results :-) Prodego talk 21:29, 15 April 2006 (UTC)
Hrm, Firefox is the only browser I can't get results in... ~Topaz 22:16, 15 April 2006 (UTC)
This is how it should look. link Prodego talk 22:23, 15 April 2006 (UTC)
It is something in his css file. Prodego talk 22:30, 15 April 2006 (UTC)
Okay, have a look at these js and css files... the user function menu does what it's supposed to now, I think. ~Topaz 23:18, 15 April 2006 (UTC)
Yes, it does! The last thing I want to set up is for Speedy Deletions, I would like drop down tabs also, under the cat, i.e. a general tab with the CSD G# under it a article tab with the CSD A# under it ect. I currently have something to display tabs for speedy deletions in my monobook(they supply CSD XX as the deletion summary with tabs marked as vand contxt bio..., but not in drop down tabs. See WP:CSD for the full list of criteria. Prodego talk 23:31, 15 April 2006 (UTC)
Could you just make me a list of exactly what tabs you want and exactly what choices you want under each tab? That'd make my job far easier. Should these tabs only show up when editing a page in userspace? ~Topaz 18:40, 17 April 2006 (UTC)


Update: there is one bug I've found, the drop down dosen't work on contribs pages. Prodego talk 23:57, 15 April 2006 (UTC)
Fixed; see User:Topaz/prodego-monobook.js. ~Topaz 19:05, 17 April 2006 (UTC)
No, that breaks the whole file. Prodego talk 21:49, 17 April 2006 (UTC)
Do you get any errors in the Javascript Console? That script works perfectly for me, so it's difficult for me to even guess at what might be going wrong. ~Topaz 22:06, 17 April 2006 (UTC)
It works now, it broke because I copied it wrong :-P. The CSD buttons that I currently have are broken, but I as I want to change it anyway... Prodego talk 22:11, 17 April 2006 (UTC)
Update new bug, my spt button (adds semiprotected notice to usertalk pages), dosen't appear, nor do any of my CSD buttons past cntxt, possible for the same reason? I tried changing the numbers, but it makes no difference. However, if I remove any buttons left of it, it works fine. Prodego talk 21:59, 18 April 2006 (UTC)

CSD tool

I am copying what I can find of my current to here:

function csddelete(reason)
{
   reason_text = new Array("", "CSD:G1", "CSD:G2", "CSD:G3", "CSD:G4", "CSD:A1", "CSD:A3", "", "CSD:A6", "CSD:A7", "CSD:A8");
   document.forms.deleteconfirm.wpReason.value = reason_text[reason] + "\. " + document.forms.deleteconfirm.wpReason.value;
}

......... Later

else if (document.title.indexOf("Confirm delete") != -1)
  {
       addlilink(tabs,'javascript:vfddelete()', 'afd', );
       addlilink(tabs,'javascript:csddelete(1)', 'nons', );
       addlilink(tabs,'javascript:csddelete(2)', 'test', );
       addlilink(tabs,'javascript:csddelete(3)', 'vand', );
       addlilink(tabs,'javascript:csddelete(4)', 'recr', );
       addlilink(tabs,'javascript:csddelete(5)', 'cntxt', );
       addlilink(tabs,'javascript:csddelete(6)', 'void', );
       addlilink(tabs,'javascript:csddelete(8)', 'atck', );
       addlilink(tabs,'javascript:csddelete(9)', 'bio', );
       addlilink(tabs,'javascript:csddelete(10)', 'cpv', );
  }

Prodego talk 22:15, 17 April 2006 (UTC)

Sorry for the slow response, but I've been under heavy workload during the past few days. MacGyverMagic managed to get my attention with an email; otherwise, I've not even had time to poke my head over here. Hopefully, I'll be able to get back here within a couple of days to help with your recent few questions. ~Topaz 08:59, 27 April 2006 (UTC)

No problem, you deserve a break for all your hard work, and my monobook is working OK for now, the bugs I have are pretty minor. I decided the only thing I want to do is remove the user functions tab from contribs and the User creation logs, as I think the other problems can't be fixed, due to the css file. Prodego talk 12:06, 27 April 2006 (UTC)

Status changer

I copied all the required content to the top of my monobook.js, but when I use one of the buttons to change the status nothing happens. (I put it in manually for the time being). Did I forget something or is your script clashing with another one I have installed? - Mgm|(talk) 08:46, 27 April 2006 (UTC)

You could be having any of a bunch of problems... what browser are you using? Try disabling everything in your monobook.js but my scripts; that'd be the easiest way to check for collisions. (Since there are block comments in there, you'll have to delete everything else and revert back when you're done testing.) If you're useing Firefox, open the Javascript Console from the Tools menu - do you see any pertinent errors there? ~Topaz 08:56, 27 April 2006 (UTC)
  • Still didn't work with everything deleted. It looks like javascript is disabled on this particular machine. I'll try again when I'm at home. (Both machines use IE6). - Mgm|(talk) 11:58, 27 April 2006 (UTC)

Thanks for uploading Image:Topaz-sectionsplitter.png. However, the image may soon be deleted unless we can determine the copyright holder and copyright status. The Wikimedia Foundation is very careful about the images included in Wikipedia because of copyright law (see Wikipedia's Copyright policy).

The copyright holder is usually the creator, the creator's employer, or the last person who was transferred ownership rights. Copyright information on images is signified using copyright templates. The three basic license types on Wikipedia are open content, public domain, and fair use. Find the appropriate template in Wikipedia:Image copyright tags and place it on the image page like this: {{TemplateName}}.

Please signify the copyright information on any other images you have uploaded or will upload. Remember that images without this important information can be deleted by an administrator. If you have any questions, feel free to contact me, or ask them at the Media copyright questions page. Thank you. Pepsidrinka 05:02, 28 April 2006 (UTC)

need your help

Hi, I am a new user who found your page by just clicking through links and ended up at Prodego's page. I only know a very little about editing and stuff. Could you tell me where I can learn to write wiki markup and find all the stuff that I need to learn while being here, if there is such a place? Thanks. Twasmetrec 21:39, 5 June 2006 (UTC)

There is a plethora of such places! Since you're new here, you'll probably have best luck over at Wikipedia:Introduction. Start there. ~Topaz 02:04, 7 June 2006 (UTC)

Welcome back!

Welcome back Topaz! Give me a while, I am busy reorganising WP:RfCU right now, I'll be done in a second. Prodego talk 02:10, 7 June 2006 (UTC)

Wow, did we finally start using voting symbols while I was away? ...no, those are just indicators, not a vote.... alas... ~Topaz 02:11, 7 June 2006 (UTC)
Ok, there is one problem left with my monobook. I narrowed it down to this:
#p-cactions li
{
   position: relative;
   white-space: nowrap;    
   float: left;
}

in the .css file. This causes tabs at the top of the page to wrap after a certain amount of space is filled. I am not sure what can be done, and it is in the css file... Prodego talk 17:59, 7 June 2006 (UTC)

Well, it's acting like that because that's how float works... but you probably already knew that, right? I can fix it - how would you like it to act instead? Is it just not filling all of the space along the top? ~Topaz 18:05, 7 June 2006 (UTC)
I know that is the problem, but if I change it the userfunction tab stops working (the drop down gets very wide). That is what I don't know how to fix. :-) Prodego talk 18:11, 7 June 2006 (UTC)
Okay, well, exactly how would you like things to act instead? ~Topaz 18:51, 7 June 2006 (UTC)
I would like the tabs on the top of the page to be the distance apart they are when float is used (2 margins), not wrapping (wrapping makes the wrapped buttons useless), and of course working ;-). I already tried 'white-space: nowrap;', and that didn't work. Thank you so much for helping me out, if you ever need anything I can help you with, please ask, I just wish I could repay you. Prodego talk 18:56, 7 June 2006 (UTC)
Hmm... give me a series of steps I can take to get the tabs to wrap so I can see exactly what you're talking about. I've already switched to using your css and js. ~Topaz 19:06, 7 June 2006 (UTC)

The only way you can see it is with Firefox's DOM inspector. On user talk pages there should be a spt (semiprotect) tab that doesn't appear because it wraps. You can't see the tab once it wraps, so the only way to find it is with a tool like the DOM inspector. Prodego talk 19:09, 7 June 2006 (UTC)

It actually might appear for you, since you don't have the delete and protect tabs... The other page with this problem is the confirm delete page, which of course is admin only. I can take a screenshot if you would like, but it will just show the lack of the tab. Prodego talk 19:12, 7 June 2006 (UTC)
Alright, I see what you're talking about. Since the tabs are falling off the right side, would you prefer for the screen to just scroll to the right instead, or did you have a different solution in mind? ~Topaz 19:15, 7 June 2006 (UTC)
Scrolling is fine, I thought about a more complex solution, making drop down tabs like the userfunction tabs, for the different CSDs. For example a general tab, an article tab, ect for the CSDs, with A1, A2 and such under them, but I don't know how hard that would be to do, if possible and not to difficult, I would like that. Definitely scrolling for the User talk pages. Prodego talk 19:19, 7 June 2006 (UTC)
It turns out that it's really easy to move tabs to menus. Have a look at what I've done with my local copy of your monobook.js. ~Topaz 19:42, 7 June 2006 (UTC)
Very nice! Would it be possible to create three of those? One titled "Articles", one "General", and the last "Other"? Prodego talk 19:46, 7 June 2006 (UTC)
On second thought, no "Other" tab, just the other two. Prodego talk 19:47, 7 June 2006 (UTC)
Sure! Could you make me a list of exactly which buttons you want in each tab? ~Topaz 19:50, 7 June 2006 (UTC)

Remove everything there is now. here is the article one:

Articles Summary
Context [[WP:CSD#Articles|CSD A1]]: Little or no context.
Foreign [[WP:CSD#Articles|CSD A2]]: Foreign language articles that exist on another Wikimedia project.
Content [[WP:CSD#Articles|CSD A3]]: No content whatsoever.
Trnswiki [[WP:CSD#Articles|CSD A5]]: Transwikied articles.
Attack [[WP:CSD#Articles|CSD A6]]: Attack pages.
Bio [[WP:CSD#Articles|CSD A7]]: Unremarkable people or groups.
Cpv [[WP:CSD#Articles|CSD A8]]: Blatant copyright infringement.

Give me a minute to make the general. Prodego talk 20:46, 7 June 2006 (UTC)

Need I do anything with the text of the summaries? ~Topaz 20:52, 7 June 2006 (UTC)
That should be put in the reason for deletion field. It works this way in my current setup. Prodego talk 20:56, 7 June 2006 (UTC)
Alright; you make the other table and I'm going to go find some food. Back in a bit. ~Topaz 21:00, 7 June 2006 (UTC)
General Summary
Nons [[WP:CSD#General|CSD G1]]: Patent nonsense.
Test [[WP:CSD#General|CSD G2]]: Test pages.
Vand [[WP:CSD#General|CSD G3]]: Pure vandalism.
Recr [[WP:CSD#General|CSD G4]]: Recreation of deleted material.
Banned [[WP:CSD#General|CSD G5]]: Page created by a banned user.
Housek [[WP:CSD#General|CSD G6]]: Housekeeping.
Request [[WP:CSD#General|CSD G7]]: Author request.
Talk Talk page of a deleted...

Prodego talk 21:05, 7 June 2006 (UTC)

In what cases should each of these menus appear? ~Topaz 21:40, 7 June 2006 (UTC)
Both whenever the page titled "Confirm delete" is opened. Prodego talk 21:45, 7 June 2006 (UTC)
I think that'll work, but since I can't delete pages, I have no idea. Give my changes a try. ~Topaz 00:10, 8 June 2006 (UTC)
Perfect! Thank you so much! Prodego talk 02:48, 8 June 2006 (UTC)
Huzzah! ~Topaz 03:45, 8 June 2006 (UTC)
There is one last thing. Can you add purge and page log buttons in the toolbox? That is something I have always wanted. Page log will bring up the log of the page, and purge will purge the page cache. Prodego talk 00:12, 9 June 2006 (UTC)
That'll be easy. Purge is just &action=purge as per {{purge}}... What do you mean by page log? ~Topaz 05:58, 9 June 2006 (UTC)
The url would be http://en.wikipedia.org/w/index.php?title=Special:Log&page=PAGENAME, where PAGENAME is the name of the page loaded. Prodego talk 12:46, 9 June 2006 (UTC)
Alright, have a look at my local copy now. Both new buttons work for me. ~Topaz 16:52, 9 June 2006 (UTC)
I updated your local copy of my monobook to the current version, I have been tidying up mine, and yours was out of date. Prodego talk 13:43, 9 June 2006 (UTC)
Ah, thanks! I had no idea admins could change javascripts, too. ~Topaz 16:52, 9 June 2006 (UTC)
I also have coding question, is it possible to change if(document.title.indexOf("User talk:") == 0) to make it true for "User:" as well? (Without copying the whole thing and the code following). As it is I have a large section of code in my monobook 4 times because of this (User:, User talk:, Editing User:, and Editing User talk:. This is of course the user functions tab). Prodego talk 14:40, 9 June 2006 (UTC)
Absolutely. (Reducing code duplication like that is called refactoring in the industry, by the way.) You can make a compound conditional statement using || for 'or' and && for 'and', like so:
if(document.title.indexOf("User talk:") == 0 ||
   document.title.indexOf("User:") == 0) {
  // ... rest of the code ...
}
That simply says "the page title starts with 'User talk:' or the page title starts with 'User:'. ~Topaz 16:52, 9 June 2006 (UTC)
That's it! (It works like a charm). My monobook file is finally complete. You did an excelllent job, you might want to get involved with the toolserver or WP:US. I am sure VoA would like coding help as well if you are intersted. And yes, admins can edit others js and css files, if not someone could create a User:Vandal/Topaz's personal info.js or something else like that, and it would not be removable ;-). Prodego talk 17:21, 9 June 2006 (UTC)

Image Tagging for Image:Ub-hacksign.png

Thanks for uploading Image:Ub-hacksign.png. The image has been identified as not specifying the source and creator of the image, which is required by Wikipedia's policy on images. If you don't indicate the source and creator of the image on the image's description page, it may be deleted some time in the next seven days. If you have uploaded other images, please verify that you have provided source information for them as well.

For more information on using images, see the following pages:

This is an automated notice by OrphanBot. For assistance on the image use policy, see Wikipedia:Media copyright questions. 05:07, 8 June 2006 (UTC)

Image Tagging for Image:Ub-cowboybebop-ed.png

Thanks for uploading Image:Ub-cowboybebop-ed.png. The image has been identified as not specifying the source and creator of the image, which is required by Wikipedia's policy on images. If you don't indicate the source and creator of the image on the image's description page, it may be deleted some time in the next seven days. If you have uploaded other images, please verify that you have provided source information for them as well.

For more information on using images, see the following pages:

This is an automated notice by OrphanBot. For assistance on the image use policy, see Wikipedia:Media copyright questions. 20:08, 11 June 2006 (UTC)

More thanks

9900

I award Topaz my 9900th edit for his/her hard work on my monobook files. While I think I gave you enough awards already ;-), I can't thank you enough. Prodego talk 23:06, 16 August 2006 (UTC)
Yaaay, thanks Prodego! That's quite an edit count you've got there! Congratulations on almost having a lot of zeroes in the decimal representation of your edit count! ~Topaz 01:40, 17 August 2006 (UTC)

I give up

I have tried as hard as I can to get your Status Changer to work, but it wont :( --Deon555talkReview 08:11, 28 August 2006 (UTC)

Where are the includes for my statuschanger in your monobook.js? Have a look at the instructions in the first paragraph of my Wikiscripts page. ~Topaz 17:31, 28 August 2006 (UTC)
Added them, but only the text comes up (not the images, like I put in statuschanger.js), and i put false to usepersonalbar, but it still uses the person bar :| --Deon555talkReview 00:49, 29 August 2006 (UTC)
Your first problem is that your statuschanger include line,
inc("User:Topaz/statuschanger.js");
is including my copy instead of yours. Change it instead to read
inc("User:Deon555/statuschanger.js");
and see if that helps. ~Topaz 02:57, 29 August 2006 (UTC)
Fixed!. Thanks heaps, Topaz. Ur a legend :P