User talk:Topaz
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.
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
- Thanks Prodego - keeping me sane one talk page question at a time! ~Topaz♪♫∆ 05:40, 28 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)
- So "+\" was the suspect? You don't need to add pre you know, just purge the page cache (so useful now that you added it to my toolbox). Thanks for the barnstar! Prodego talk 03:55, 28 June 2007 (UTC)
- Oh, it just needed a cache purging? It's never done that to me before, so I just assumed they had changed something with Javascript rendering. ~Topaz♪♫∆ 05:39, 28 June 2007 (UTC)
- Hmm, it has always done that for me. Prodego talk 06:04, 28 June 2007 (UTC)
- So "+\" was the suspect? You don't need to add pre you know, just purge the page cache (so useful now that you added it to my toolbox). Thanks for the barnstar! Prodego talk 03:55, 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)
- That fixed it. Prodego talk 19:35, 28 June 2007 (UTC)
- ...you're really creepy, Prodego. Yeah, I found my bug (really dumb mistake on my part) and just pushed the changes to the main scripts. ~Topaz♪♫∆ 19:37, 28 June 2007 (UTC)
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)
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)
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)