User talk:Topaz
From Wikipedia, the free encyclopedia
Protocol
Generally, posts on this page will be replied to on this page. Posts on other pages will be replied to on those pages. I like keeping discussions in one place.
When posting something code or anything that should use a monospace font, please use one. Two options are <code>html tags</code>
or {{User:Topaz/fmt-code|my wiki template}}
. The template is preferred because it makes code stand out and makes its start and end more obvious.
If you're looking for help with scripts, start with the script installation manual first.
[edit] Image:Ub-azumangadaioh.png
Hello Topaz, an automated process has found an image or media file tagged as nonfree media, such as fair use. The image (Image:Ub-azumangadaioh.png) was found at the following location: User:Topaz. This image or media will be removed per statement number 9 of our non-free content policy. The image or media will be replaced with Image:NonFreeImageRemoved.svg , so your formatting of your userpage should be fine. The image that was replaced will not be automatically deleted, but it could be deleted at a later date. Articles using the same image should not be affected by my edits. I ask you to please not re-add the image to your userpage and could consider finding a replacement image licensed under either the Creative Commons or GFDL license or released to the public domain. Please note that it is possible that the image on your page is included vie a template or usebox. In that case, please find a free image for the template or userbox. Thanks for your attention and cooperation. User:Gnome (Bot)-talk 05:15, 19 May 2007 (UTC)
[edit] Image:Ub-cowboybebop-ed.png
Hello Topaz, an automated process has found an image or media file tagged as nonfree media, such as fair use. The image (Image:Ub-cowboybebop-ed.png) was found at the following location: User:Topaz. This image or media will be removed per statement number 9 of our non-free content policy. The image or media will be replaced with Image:NonFreeImageRemoved.svg , so your formatting of your userpage should be fine. The image that was replaced will not be automatically deleted, but it could be deleted at a later date. Articles using the same image should not be affected by my edits. I ask you to please not re-add the image to your userpage and could consider finding a replacement image licensed under either the Creative Commons or GFDL license or released to the public domain. Please note that it is possible that the image on your page is included vie a template or usebox. In that case, please find a free image for the template or userbox. Thanks for your attention and cooperation. User:Gnome (Bot)-talk 05:16, 19 May 2007 (UTC)
[edit] Image:Ub-hacksign.png
Hello Topaz, an automated process has found an image or media file tagged as nonfree media, such as fair use. The image (Image:Ub-hacksign.png) was found at the following location: User:Topaz. This image or media will be removed per statement number 9 of our non-free content policy. The image or media will be replaced with Image:NonFreeImageRemoved.svg , so your formatting of your userpage should be fine. The image that was replaced will not be automatically deleted, but it could be deleted at a later date. Articles using the same image should not be affected by my edits. I ask you to please not re-add the image to your userpage and could consider finding a replacement image licensed under either the Creative Commons or GFDL license or released to the public domain. Please note that it is possible that the image on your page is included vie a template or usebox. In that case, please find a free image for the template or userbox. Thanks for your attention and cooperation. User:Gnome (Bot)-talk 05:16, 19 May 2007 (UTC)
[edit] Image:Ub-haibanerenmei.png
Hello Topaz, an automated process has found an image or media file tagged as nonfree media, such as fair use. The image (Image:Ub-haibanerenmei.png) was found at the following location: User:Topaz. This image or media will be removed per statement number 9 of our non-free content policy. The image or media will be replaced with Image:NonFreeImageRemoved.svg , so your formatting of your userpage should be fine. The image that was replaced will not be automatically deleted, but it could be deleted at a later date. Articles using the same image should not be affected by my edits. I ask you to please not re-add the image to your userpage and could consider finding a replacement image licensed under either the Creative Commons or GFDL license or released to the public domain. Please note that it is possible that the image on your page is included vie a template or usebox. In that case, please find a free image for the template or userbox. Thanks for your attention and cooperation. User:Gnome (Bot)-talk 05:16, 19 May 2007 (UTC)
[edit] Image:Ub-hellsing-seras.png
Hello Topaz, an automated process has found an image or media file tagged as nonfree media, such as fair use. The image (Image:Ub-hellsing-seras.png) was found at the following location: User:Topaz. This image or media will be removed per statement number 9 of our non-free content policy. The image or media will be replaced with Image:NonFreeImageRemoved.svg , so your formatting of your userpage should be fine. The image that was replaced will not be automatically deleted, but it could be deleted at a later date. Articles using the same image should not be affected by my edits. I ask you to please not re-add the image to your userpage and could consider finding a replacement image licensed under either the Creative Commons or GFDL license or released to the public domain. Please note that it is possible that the image on your page is included vie a template or usebox. In that case, please find a free image for the template or userbox. Thanks for your attention and cooperation. User:Gnome (Bot)-talk 05:16, 19 May 2007 (UTC)
[edit] Image:Ub-kino.png
Hello Topaz, an automated process has found an image or media file tagged as nonfree media, such as fair use. The image (Image:Ub-kino.png) was found at the following location: User:Topaz. This image or media will be removed per statement number 9 of our non-free content policy. The image or media will be replaced with Image:NonFreeImageRemoved.svg , so your formatting of your userpage should be fine. The image that was replaced will not be automatically deleted, but it could be deleted at a later date. Articles using the same image should not be affected by my edits. I ask you to please not re-add the image to your userpage and could consider finding a replacement image licensed under either the Creative Commons or GFDL license or released to the public domain. Please note that it is possible that the image on your page is included vie a template or usebox. In that case, please find a free image for the template or userbox. Thanks for your attention and cooperation. User:Gnome (Bot)-talk 05:17, 19 May 2007 (UTC)
[edit] Image:Ub-mononoke.png
Hello Topaz, an automated process has found an image or media file tagged as nonfree media, such as fair use. The image (Image:Ub-mononoke.png) was found at the following location: User:Topaz. This image or media will be removed per statement number 9 of our non-free content policy. The image or media will be replaced with Image:NonFreeImageRemoved.svg , so your formatting of your userpage should be fine. The image that was replaced will not be automatically deleted, but it could be deleted at a later date. Articles using the same image should not be affected by my edits. I ask you to please not re-add the image to your userpage and could consider finding a replacement image licensed under either the Creative Commons or GFDL license or released to the public domain. Please note that it is possible that the image on your page is included vie a template or usebox. In that case, please find a free image for the template or userbox. Thanks for your attention and cooperation. User:Gnome (Bot)-talk 05:17, 19 May 2007 (UTC)
[edit] Image:Ub-princesstutu.png
Hello Topaz, an automated process has found an image or media file tagged as nonfree media, such as fair use. The image (Image:Ub-princesstutu.png) was found at the following location: User:Topaz. This image or media will be removed per statement number 9 of our non-free content policy. The image or media will be replaced with Image:NonFreeImageRemoved.svg , so your formatting of your userpage should be fine. The image that was replaced will not be automatically deleted, but it could be deleted at a later date. Articles using the same image should not be affected by my edits. I ask you to please not re-add the image to your userpage and could consider finding a replacement image licensed under either the Creative Commons or GFDL license or released to the public domain. Please note that it is possible that the image on your page is included vie a template or usebox. In that case, please find a free image for the template or userbox. Thanks for your attention and cooperation. User:Gnome (Bot)-talk 05:17, 19 May 2007 (UTC)
[edit] Image:Ub-voads.png
Hello Topaz, an automated process has found an image or media file tagged as nonfree media, such as fair use. The image (Image:Ub-voads.png) was found at the following location: User:Topaz. This image or media will be removed per statement number 9 of our non-free content policy. The image or media will be replaced with Image:NonFreeImageRemoved.svg , so your formatting of your userpage should be fine. The image that was replaced will not be automatically deleted, but it could be deleted at a later date. Articles using the same image should not be affected by my edits. I ask you to please not re-add the image to your userpage and could consider finding a replacement image licensed under either the Creative Commons or GFDL license or released to the public domain. Please note that it is possible that the image on your page is included vie a template or usebox. In that case, please find a free image for the template or userbox. Thanks for your attention and cooperation. User:Gnome (Bot)-talk 05:18, 19 May 2007 (UTC)
[edit] The message
I can see your message "You seem to be using outdated...", however I cannot find the encoding for the Status Changer. Could you please give me the link for the status changer?
Thanks,
Booksworm Talk to me! 10:42, 21 May 2007 (UTC)
- Link to the status changer. Prodego talk 23:41, 22 May 2007 (UTC)
The status changer is broken because wputil can't find the edittoken. Neither can I actually, where is it stored? Prodego talk 00:28, 28 June 2007 (UTC)
- It's grabbed out of a regex for edit pages:
var edittoken = prelimresp.responseText.match(/\<input type='hidden' value="([0-9a-f]+\\?)" name="wpEditToken" \/\>/)[1];
- I see the input it's supposed to be matching when I view the source of the page. Where exactly is it having trouble? Topaz 00:42, 28 June 2007 (UTC)
- When I try to change my status, the edit fails with
GET http://en.wikipedia.org/w/index.php?title=User:Prodego/Status&action=submit (375ms)index.php (line 8) prelimresp.responseText.match(/\<input type='hidden' value="([0-9a-f]+\\?)" name="wpEditToken" \/\>/) has no properties [Break on this error] var edittoken = prelimresp.responseText.match(/\<input type='hidden' value="([...
in the error console. Prodego talk 00:50, 28 June 2007 (UTC)
-
-
- Okay, I've applied my patch to my copy of wputil - anyone linking back to my copy should have everything working again! Thanks for the quick response and debugging help! ~Topaz♪♫∆ 01:48, 28 June 2007 (UTC)
-
Hola. Con la corrección que hiciste ya no me sale el mensaje de error comentando por Prodego, sin embargo aún no funciona el setpagecontent. Podrías ver a que puede deberse este error?. P.d En mi monobook tengo una copia exacta del tuyo. Saludos --Axxgreazz (consultas?) 14:57, 28 June 2007 (UTC)
- Hmm, that is correct. I don't think you are grabbing the full token, and the edit is being rejected. Prodego talk 15:25, 28 June 2007 (UTC)
-
- It is correctly grabbing the token, is it possible for it to change before the edit is submitted? The edit is failing with "Sorry! We could not process your edit due to a loss of session data Please try again. If it still doesn't work, try logging out and logging back in." Prodego talk 15:33, 28 June 2007 (UTC)
-
-
- Ojo que la negrita si funciona en la barra de estado, pero la página "Status" no se está modificando. Ejemplo: 1 y 2. Saludos --Axxgreazz (consultas?) 17:44, 28 June 2007 (UTC)
-
The WPEditor class in AWB seems to be broken, and my debugging suggests that token parsing is the problem. Google brought me here! :)
Perhaps you'd be so kind to let me know of any observations or findings you made. Specifically, when the client receives a token like this:
<input type='hidden' value="61977308c47243b7f83e2d4a1894a196+\" name="wpEditToken" />
what exactly should it be sending back? The "+\" don't look right to me, but I've tried removing them in the debugger and still didn't get a save... I couldn't help but notice you mention "+\" here too :) Any help would be appreciated, otherwise it's another late night in front of the debugger! --kingboyk 00:16, 18 July 2007 (UTC)
- It's alright, I think we've cracked it :) Cheers. --kingboyk 17:24, 18 July 2007 (UTC)
[edit] Custom status messages
I was thinking of this idea for a while: You right-click on the status type you want, then a textbox appears where the status type label was and you enter the custom message in that textbox and press Enter.
For example, say I wanted and away message that said "On Vacation." I right-click on "away" and a textbox appears where "away" was. Then I type "On Vacation" and press Enter.
I bet I'm not the only one who'll benefit from this. --[[ year2000prob ]] 21:14, 1 July 2007 (UTC)
- Okay, how would you define how status types act? Would you define templates for online, away, offline, and then have the script load text into those? Some people differentiate their status types with images or colors or both. ~Topaz♪♫∆ 15:48, 2 July 2007 (UTC)
-
- Yeah, let's go with that. Maybe the templates will have to be, in my case, something like:
topaz.statuschanger.statustypes = { online: { template: "[[Image:messenger-online.png]] <font color=\"green\">" + text + "</font>", defaultText: "Online" }, busy: { template: "[[Image:messenger-busy.png]] <font color=\"orange\">" + text + "</font>", defaultText: "Occupied" }, brb: { template: "[[Image:messenger-away.png]] <font color=\"orange\">" + text + "</font>", defaultText: "Be Right Back" }, away: { template: "[[Image:messenger-away.png]] <font color=\"red\">" + text + "</font>", defaultText: "Away From My Desk" }, offline: { template: "[[Image:messenger-offline.png]] <font color=\"grey\">" + text + "</font>", defaultText: "Offline" } };
-
- That is, unless you can think of an easier way. Though maybe it would be best if you put this new version in a separate script file. --[[ year2000prob ]] 11:09, 3 July 2007 (UTC)
[edit] New features = new requests!
Hello again Topaz, I have returned! Yes, as you may have noticed the page history now displays (undo) after every item. It would be great if you could hide this for me. The problem is that the class the undo link is in does not include the parenthesis, complicating the hiding process. For the top edit (rollback|undo) is displayed, with rollback and undo in their own classes (mw-rollback-link for rollback). I would like the undo link hidden, and the whole message replaced with [rollback] with rollback being the rollback link, if that is at all possible. In addition, another new feature, Special:DeletedContributions now exists, so if a link could be added to it from (1) the contributions page (wherever you think best), and (2) userpages, possibly changing the toolbox entry from "User contributions" to "contribs (deleted)", each word linking to the different contribs page. Thanks for all your work, Prodego talk 22:25, 10 July 2007 (UTC)
[edit] Question about statuschanger installation.
Hi, I followed your instructions and these ones, except I also included the quickedit script which I created this page for. I included this script in the "include" section on my monobook page. And I tested it. The quickedit script works fine, however the statuschanger didn't work. I had edited the script for the statuschanger slight (I had included a "away" status). So I removed this and tested again, and again it didn't work. So I started from scratch and ignored the quickedits section, and copied exactly what you had put on the installation page. But still no luck. At the moment, I've got both scripts supposedly "running" (only the quickedits one is working properly). (I'm running FireFox (latest version) by the way). It seems, that the statuschanger sometimes works on different pages. That is I get my "online | away | busy | offline" toolbar at the top of some pages...! In particular it always appears on my contributions page. Could you offer any help/ideas? Cheers! -- Halo2020 Talk 11:54, 12 July 2007 (UTC)
- Try temporarily disabling all scripts but mine on your monobook.js and checking Firefox's error log:
- Go to tools -> error console
- Navigate to a page that isn't working
- Click 'clear' in the error console
- On the broken page, hold down Shift while clicking Reload (or press Ctrl-Shift-R)
- In the error console, look for Javascript errors - they'll have a red background and give the file and line number of the error
- Copy any errors that come up and paste them here. That'll give us a hint as to what's going wrong. ~Topaz♪♫∆ 18:37, 12 July 2007 (UTC)
OK, I did that, and navigated to the status page. I had no errors, but I did have one warning:
Warning: Unknown property 'column-count'. Declaration dropped. Source File: http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400 Line: 42
Though to add, I get exactly the same warning message when navigating to a page (such as my contributions) where it does display the options at the top! -- Halo2020 Talk 09:41, 13 July 2007 (UTC)
- That is normal, and is not an error. Are you sure it isn't working? I see changes to your status in your contributions. Prodego talk 16:20, 13 July 2007 (UTC)
Yeah, but if you read the above, I can change my status, but not on every page. I can't change my status on my user page, nor my talk page (and lots more) but I can change it on my contributions page (and a few others). And when I mean I can change it, I mean I can use the toolbar (online | away | busy | offline) at the top of each page. It doesn't both me an amazingly large amount, it's just the fact that it's not working properly and the reason for it. Have I done something wrong with my monobook page, and not initialized the scripts properly? -- Halo2020 Talk 20:32, 13 July 2007 (UTC)
- The only difference I see between your monobook.js and mine is that you use Special:MyPage instead of User:Halo2020. While I don't think that's the issue, try naming the page explicitly. Also try reverting your statuschanger.js to an exact copy of mine in case something got changed accidentally. ~Topaz♪♫∆ 20:42, 13 July 2007 (UTC)
I've done that, and I still don't get any errors from FireFoxes error console. I do get, however, two new warnings, that haven't appeared before:
Warning: Unexpected end of file while searching for closing } of declaration block. Source File: http://en.wikipedia.org/skins-1.5/monobook/main.css?82 Line: 1261
Warning: Expected ':' but found 'background-col'. Declaration dropped. Source File: http://en.wikipedia.org/skins-1.5/monobook/main.css?82 Line: 1261
Oh and it still doesn't display the toolbar on my user page. Nothing has changed there... -- Halo2020 Talk 21:12, 13 July 2007 (UTC)
- I am using your monobook right now, and it works fine for me. Try hard refreshing your user page, and if that doesn't work, try this link. Prodego talk 21:20, 13 July 2007 (UTC)
Do you get the toolbar on every page? I've already done all that (purging the page, clear the cache etc) -- Halo2020 Talk 21:28, 13 July 2007 (UTC)
[edit] New Javascript code
Hey there Topaz! I currently use your status changer code, and it works wonders for me, I even managed to implemented it into my signature, so that it updates live on any page (this took me a while to work around, since if i tried putting a template into my sig, it would auto-substitute it, and so then obviously, it didn't update properly) but I found a way around it and now it's all good. However, I have a request for you (if you do requests). I think this will be a good challenge, but since I don't know a work of javascript (or any other programming language, except html) I can't do it. Basically, you know when someone writes a new message on your talk page (like this one), and you get that little message saying: "You have new messages. Last change(s)." ? well, Because my MAIN talk page ISN'T the one that is directly on my user account (User talk:GBenemy), I DON'T get that message when someone writes on my talk page. If you could write me a script that detects new changes on my main talk page (User talk:GBenemy/Main}, and givs me that message, then I would be very grateful. (of course all credit will go to you.) If you would like more details, just ask, and I hope it's not beyond your amazing capabilities :D:D Despite your policy of wanting to keep discussions in the one place, could I please request that you write your reply on my talk page (or give a link to here on my talk page), because I often forget whose talk pages I have written on, and which ones I must check to look for replies. (and my watchlist is kind of full-up, I miss alot of things). If not, I will try to remember to look here. Thanks alot, GBenemyoffline (it.wiki • bot) 09:42, 30 July 2007 (UTC)
- Please do not make a transclusion in your signature, as every time your status changes you are requiring Wikipedia to recache every single page you ever signed. The reason templates auto substitute in signatures is that they are not permitted, see WP:SIG#Transclusion of templates. Prodego talk 13:41, 30 July 2007 (UTC)
[edit] Thanks
I now use your status changer scripts, with some help from Goyston. Thanks for the fine work. Baccyak4H (Yak!) 14:06, 19 September 2007 (UTC)
[edit] Hello
Hi Topaz, could you please fix whatever I did to my monobook.js? I tried to get your Status Changer, but alas, I am an idiot. xD
L337p4wn 04:34, 17 October 2007 (UTC)
.......................................................
Sorry, forget about that...it's working fine. :)
-L337p4wn 05:23, 17 October 2007 (UTC)
[edit] Status changer broke after upgrade to MSIE7
Hello, I was sucessfully using the status changer script and I noticed tonight that I do not have a set of links in my personal bar anymore for setting my status. I tried changing the configuration to use the sidebar instead, and there is provided a section with four dots, but still no links. The only change I am aware of between now and the last time I knew it to be working is a forced upgrade from MSIE6 to MSIE7 (Version 7.0.5730.13, 128-bit cipher strength, update versions 0). Are you aware of any problems with this browser version and your script(s)? Thanks, JERRY talk contribs 00:26, 11 January 2008 (UTC)
- I have verified that in MSIE6 (6.0.2900.2180.xpsp_sp2_rtm.040803-2158, 128-bit cipher strength, update versions ;SP2;), it all still works. This must be a problem with Internet Explorer version 7. Any ideas? JERRY talk contribs 16:07, 11 January 2008 (UTC)
- Note the message at the top of my wikiscripts page: "It seems that IE7 won't run some of my scripts, but it won't throw any errors either. It seems to ignore the three 'Script Debugger' settings in the options, too. Feel free to suggest a debugging strategy on my talk page. Might I suggest Firefox?" In short, since IE7 doesn't report any errors, I have no idea what to fix, but I do know they don't work. Sorry... ~Topaz♪♫∆ 23:35, 11 January 2008 (UTC)
[edit] Yay for you as well!
The Inverted Barnstar | ||
For your help in nega-fying the wiki! --omtay38 01:29, 21 January 2008 (UTC) |
(User:Prodego said you deserve credit too for the MediaWiki:Gadget-Blackskin.css and so here you go!)
- You do realize you have to figure it out now, right Topaz? :) Prodego talk 01:34, 22 January 2008 (UTC)
- Background colors all look fine for me; I'm using Firefox. The font color on the contribs page looks okay after I did this:
#bodyContent { color: #00dd00; }
[edit] Y2P
Your JavaScripts have inspired me to create my own MediaWiki utility set. Maybe I'll start competing with you; I don't know. What i know is, I'm likely to give a more feature-rich service than you. --[[ year2000prob ]] 03:56, 5 April 2008 (UTC)
[edit] User:Year2000Prob/monobook.js
Could you please roll it back? When I log in, all I see on any pages is the left sidebar and the footer! --58.173.104.186 (talk) 07:30, 3 May 2008 (UTC)