User talk:Topaz/Archive2
This is an archive of past discussions about User:Topaz. 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. |
cawiki StatusChanger
Hi,
I'm a user in Wikipedia in Catalan, and i am using the statuschanger.js. So In ca:w the status bar doesn't appears always. Do you know why? I am testing to change my monobook.css, but I can't reach my purpose. Pasqual (ca) · CUT 17:20, 30 September 2006 (UTC)
- By status bar, do you mean the buttons you use to change the status or the icon that shows your status? ~Topaz♪♫∆ 03:02, 1 October 2006 (UTC)
- Sorry, I was waiting an answer on my talk page...
- I refered to buttons,
- On the one hand, I didn't know that exit an icon that shows my status, what? This which appears on my user page, this is everytime visible, no problem.
- On the other, I would add an icon beside status buttons that shows everytime my status, is it possible? Otherwise I must go to my own user page to know my status, I never remember it!
- I'll wait the answers watching your talk page. ;)
- -sorry for my poor English- Pasqual (ca) · CUT 15:03, 4 October 2006 (UTC)
- If your statuschanger doesn't always appear, I'll need more specifics. Is there an error message you get when it doesn't appear? What browser are you using? Also, you could probably set up a bit of javascript that grabs your status page every time you load another page, but it'll probably be more resource-intensive in the end than you'd like. Probably best to just check it when you need to know. ~Topaz♪♫∆ 07:06, 9 October 2006 (UTC)
- I use FireFox browser.
- No error message appears.
- OK, for your comment about to know my current status user.
- Pasqual (ca) · CUT 14:16, 9 October 2006 (UTC)
- If you don't see any errors, try looking in the JavaScript Console (Tools -> JavaScript Console). Open the console and clear it before each time you move to a new page. If the error occurs, copy-paste the messages that appear in the console. ~Topaz♪♫∆ 22:15, 9 October 2006 (UTC)
- My console is in Catalan, and I have a lot of error messages, including when three status buttons appear. I don't want give you this work. I will follow searching... Thanks!
- And what do you think if you add a button who indicates a message with current status, it will not use great resources and it will be faster than go to your user page. Is it able? Pasqual (ca) · CUT 12:51, 10 October 2006 (UTC)
- Sure, I'll add it to my Wikiscript Todo List. ~Topaz♪♫∆ 08:45, 11 October 2006 (UTC)
- (This discussion was resolved in the topic 'Using cookies for new button of statuschanger'. ~Topaz♪♫∆ 09:25, 4 November 2006 (UTC))
- If your statuschanger doesn't always appear, I'll need more specifics. Is there an error message you get when it doesn't appear? What browser are you using? Also, you could probably set up a bit of javascript that grabs your status page every time you load another page, but it'll probably be more resource-intensive in the end than you'd like. Probably best to just check it when you need to know. ~Topaz♪♫∆ 07:06, 9 October 2006 (UTC)
- Sorry, I was waiting an answer on my talk page...
New js/css mission for you
Hi Topaz, I recently responded to a help desk message about changing the text of the new messages banner. While I know how to change the color, border, and such, I do not know about changing the text locally. Do you have any idea how to do this. (It is for User:Llama man). Thanks as always, Prodego talk 23:09, 2 September 2006 (UTC)
- Should be easy to do; leave me another message so I have a new messages banner to play with and I'll see what I can come up with. ~Topaz♪♫∆ 07:32, 3 September 2006 (UTC)
- Here you are. Prodego talk 11:44, 3 September 2006 (UTC)
- Excellent work. Thanks, Prodego talk 23:25, 3 September 2006 (UTC)
- Wow, edit conflict between my "it's up" post and your "thank you" post. You're quick! ~Topaz♪♫∆ 23:27, 3 September 2006 (UTC)
- I got really lucky ;-), you finished right as I was checking up on you (and other things) for the first time in hours. I'll credit it to you of course, unless you want to present it to Llama man yourself. Thanks, Prodego talk 23:31, 3 September 2006 (UTC)
- You can feel free to tell him as long as you give credit - I'll help him get it working if he's having problems you can't solve. (The script hasn't been fantastically tested yet.) ~Topaz♪♫∆ 23:41, 3 September 2006 (UTC)
- Well, I bypassed the browser's cache and left a new message by logging out, but it still says the same thing. On the bottom of the page, where it usually has the "Internet Explorer" logo, it says "done, but with errors on page." This probably has something to do with that. -- TheGreatLlama (speak to the Llama!) 01:39, 4 September 2006 (UTC)
- In your monobook.js, you have the source to usermessagechanger.js inline instead of included. The problem with doing that is that included files aren't run until the end of the current
<script>...</script>
block. Because of that, nothing was getting initialized before the inline script tried to make use of those objects. Instead, place that code into its own js file and include it withinc()
. ~Topaz♪♫∆ 17:24, 4 September 2006 (UTC)- I'm sorry, but I have zero knowledge of pretty much anything to do with JavaScript. I think I understand most of what you wrote, but what exactly do you mean by "include it with
inc()
"?-- TheGreatLlama (speak to the Llama!) 20:01, 4 September 2006 (UTC)- That is, you'll want a line like
inc("User:Llama_man/usermessagechanger.js");
such that the new javascript file you create is loaded. ~Topaz♪♫∆ 02:54, 5 September 2006 (UTC)- This discussion sure is getting long, huh? Anyway, I did that, but it still don't work. In some places it doesn't have the "code" format that automatically activates on the monobook.js. -- TheGreatLlama (speak to the Llama!) 19:10, 5 September 2006 (UTC)
- That is, you'll want a line like
- You've got your javascript in the wrong places now. Move everything from the
function inc (file) {
line to and including lines starting withinc(
from your usermessagechanger.js to your monobook.js. Then, in your newly modified monobook.js, move the lineinc("User:Llama_man/usermessagechanger.js");
after the rest of the lines starting withinc(
. ~Topaz♪♫∆ 03:09, 7 September 2006 (UTC)
- I'm sorry, but I have zero knowledge of pretty much anything to do with JavaScript. I think I understand most of what you wrote, but what exactly do you mean by "include it with
- In your monobook.js, you have the source to usermessagechanger.js inline instead of included. The problem with doing that is that included files aren't run until the end of the current
- Well, I bypassed the browser's cache and left a new message by logging out, but it still says the same thing. On the bottom of the page, where it usually has the "Internet Explorer" logo, it says "done, but with errors on page." This probably has something to do with that. -- TheGreatLlama (speak to the Llama!) 01:39, 4 September 2006 (UTC)
- You can feel free to tell him as long as you give credit - I'll help him get it working if he's having problems you can't solve. (The script hasn't been fantastically tested yet.) ~Topaz♪♫∆ 23:41, 3 September 2006 (UTC)
- What you said definitely worked for my usermessagechanger.js page, but not my monobook.js. -- TheGreatLlama (speak to the Llama!) 20:57, 7 September 2006 (UTC)
What error messages are you getting now? ~Topaz♪♫∆ 01:53, 8 September 2006 (UTC)
- None, besides the little "done, but with errors on page" on the bottom, which appears even when I don't have your script on my monobook. -- TheGreatLlama (speak to the Llama!) 22:36, 8 September 2006 (UTC)
- Found the sneaky bug; change
inc("User:Llama_man/statuschanger.js)
so that it has a closing quote on your string and a trailing semicolon:inc("User:Llama_man/statuschanger.js");
~Topaz♪♫∆ 03:23, 1 October 2006 (UTC)- Well, I fixed that bug and deleted the necessary "inc"s, and yet, it still doesn't work.
- Okay, now it looks like you have a stray tilde as the first character of the first line in your usermessagechanger.js. ~Topaz♪♫∆ 22:17, 1 October 2006 (UTC)
- Not quite... -- TheGreatLlama (speak to the Llama!) 23:05, 1 October 2006 (UTC)
- In your configured
newmessage
, you make use oftopaz.wputil.username()
(like the default value does). If you want that value in your user message, you need to include wputil and therefore also comm as noted on my main wikiscripts page: "Also depends on wputil if you want your current username." ~Topaz♪♫∆ 23:14, 1 October 2006 (UTC)
- In your configured
- Not quite... -- TheGreatLlama (speak to the Llama!) 23:05, 1 October 2006 (UTC)
- Okay, now it looks like you have a stray tilde as the first character of the first line in your usermessagechanger.js. ~Topaz♪♫∆ 22:17, 1 October 2006 (UTC)
- Well, I fixed that bug and deleted the necessary "inc"s, and yet, it still doesn't work.
- Found the sneaky bug; change
Yay! It finally works! -- TheGreatLlama (speak to the Llama!) 23:37, 1 October 2006 (UTC)
- More hoorays! I got the status changer to work, too! -- TheGreatLlama (speak to the Llama!) 23:42, 1 October 2006 (UTC)
Status changer beta
If you can help me, I'd like to know how to detect when the mouse starts moving and when it stops. Also, how to cancel timeouts. It's because I wanna try to create a beta version of your status changer for use on the Homestar Runner Fanstuff Wiki, as external image embedding is enabled over there. It's gonna be a lot more similar to Gmail's status changer. - Year2000Prob (email) 22:38, 8 October 2006 (UTC)
- There is an event fired when the mouse moves - you can hook it using something like this:
var onmousemove_old = document.onmousemove; document.onmousemove = function (e) { onmousemove_old(e); //the mouse just moved, act accordingly }
- If you'd like to cancel a timeout, you just need to keep a reference to it around and call clearTimeout with it later, I believe:
var timeout = setTimeout(.....); ... clearTimeout(timeout);
- Good luck! If you need anything else, just let me know. ~Topaz♪♫∆ 07:12, 9 October 2006 (UTC)
- That's OK. I should be able to take it from here. If you want, though, you can help me complete it. It's here. Hey, just a suggestion, but maybe you could try joining the Homestar Runner Fanstuff Wiki? (Provided you're already a H*R fan, although I very much doubt it.) - Year2000Prob (email) 07:29, 9 October 2006 (UTC)
- I'll let you try at it for now. What fun would it be if I did all the work? Seriously, though, if you have any other questions or just plain get stuck, let me know and I'll see what else I can do. I'll even make a H*R wiki account if needed - I am, in fact, a fan. ~Topaz♪♫∆ 22:17, 9 October 2006 (UTC)
- You actually could help by duplicating your wikiscripts on the Homestar Runner Fanstuff Wiki, only so that they work properly there. - Year2000Prob (email) 22:22, 9 October 2006 (UTC)
- I'd rather not maintain up-to-date versions of my scripts in more than one place. You can feel free to duplicate my scripts there yourself - all you'd need to change is the username in the includes. This has already happened on the Catalan and Spanish Wikipedias, it seems. Just make sure you give credit where credit is due. ~Topaz♪♫∆ 23:16, 11 October 2006 (UTC)
- You actually could help by duplicating your wikiscripts on the Homestar Runner Fanstuff Wiki, only so that they work properly there. - Year2000Prob (email) 22:22, 9 October 2006 (UTC)
- I'll let you try at it for now. What fun would it be if I did all the work? Seriously, though, if you have any other questions or just plain get stuck, let me know and I'll see what else I can do. I'll even make a H*R wiki account if needed - I am, in fact, a fan. ~Topaz♪♫∆ 22:17, 9 October 2006 (UTC)
- That's OK. I should be able to take it from here. If you want, though, you can help me complete it. It's here. Hey, just a suggestion, but maybe you could try joining the Homestar Runner Fanstuff Wiki? (Provided you're already a H*R fan, although I very much doubt it.) - Year2000Prob (email) 07:29, 9 October 2006 (UTC)
- Good luck! If you need anything else, just let me know. ~Topaz♪♫∆ 07:12, 9 October 2006 (UTC)
Solicitud
Hola Topaz: Disculpa el error con tu TODO list, pensé que era el lugar apropiado para dejar solicitudes (se me pasó leer la primera línea ;)
). Mas bien aprovecho para comentarte que tu statuschanger.js ha llegado a ser muy popular en la wiki en español donde hemos incluso llegado a implementar (aunque aún en pruebas) un portal de vigilancia de bibliotecarios, para saber si estan activos o no y así los wikipedistas sepan a quien acudir para una respuesta rápida. Sin embargo según veo son tus librerias las que tienen una enorme funcionalidad mas allá del status, justamente yo utilizo estas librerias para crear automáticamente consultas de borrado, votaciones a bibliotecarios y otras cosillas que he metido en mi botonera.
- p.d: Si que eres rápido, veo que mientras te escribía este mensaje ya atendiste mi solicitud... gracias!!!! ;) Saludos Axxgreazz (consultas?) 14:10, 11 October 2006 (UTC)
Hola nuevamente: ya implemnté el getpagecontent y funciona ok, aunque al parecer recortaba el texto a traer cuando encontraba un caracter dash. Por ello le añadí dos líneas a tu función
content = content.replace(/\&mdash\;/gi, "—"); content = content.replace(/\&ndash\;/gi, "-");
Saludos Axxgreazz (consultas?) 16:49, 11 October 2006 (UTC)
- Could you give me an example article with either of those dashes so I could see what's actually going on? It's likely I just need a more robust entity decoder. ~Topaz♪♫∆ 23:13, 11 October 2006 (UTC)
- Ok, for example: w:es:Palacio de Westminster. Entiendo que usar los mdash en artículos es a veces innecesario, pero te lo comentaba por siacaso. Saludos Axxgreazz (consultas?) 01:08, 12 October 2006 (UTC)
Meh?
How does your status changr work? It would really help if you explained it on the talk page. ~ Flameviper 15:51, 11 October 2006 (UTC)
- In terms of how you install it or what it's doing from a technical standpoint? ~Topaz♪♫∆ 23:14, 11 October 2006 (UTC)
- I figured it out, but I was talking about how to install it. A technical overview would also be nice, but what I was getting at was how to put it into your monobook; e.g. copy and paste the contents into your monobook. For n00bs like me, it would be a great help. Thanks for acnowledging my request. ~ Flameviper 17:49, 8 November 2006 (UTC)
- (note to others: this request was cleared by User:Topaz/Wikiscripts/Installation)
- I figured it out, but I was talking about how to install it. A technical overview would also be nice, but what I was getting at was how to put it into your monobook; e.g. copy and paste the contents into your monobook. For n00bs like me, it would be a great help. Thanks for acnowledging my request. ~ Flameviper 17:49, 8 November 2006 (UTC)
User message changer bug
Hi again, there seems to be a bug with the user message changer. Whenever I go to any page that a colored box with text in it (Such as User:Seadog.M.S or User:Kungfuadam, it replaces whatever is in that box with whatever message I put in to say when I had new messages. For instance, if I went to Kungfuadam's page, it would replace the "leave a message" box with "Yall got a llama-gram! (Last Llama-gram)" or whatever it's supposed to say. Can you fix this? Please note that I have deleted the user message changer on my monobook.js. Thanks in advance. --The Great Llama(speak to the Llama!) 23:20, 11 October 2006 (UTC)
- Good catch, O Llama! Fixed. ~Topaz♪♫∆ 23:44, 11 October 2006 (UTC)
- Thanks in...post-ance? --The Great Llama(speak to the Llama!) 23:51, 11 October 2006 (UTC)
- Darn, the bug's still there. --The Great Llama(speak to the Llama!) 22:08, 14 October 2006 (UTC)
- Never mind, my mistake. --The Great Llama(speak to the Llama!) 22:09, 14 October 2006 (UTC)
- Well, most of the bug went away, but when I go to KanuT's talk page, The bar at the top says whatever my chosen message is. This is the only page on which this occurred, so it's pretty minor. --The Great Llama(speak to the Llama!) 20:28, 17 October 2006 (UTC)
- I can't reproduce the bug myself. Try clearing your browser cache, perhaps? ~Topaz♪♫∆ 12:41, 18 October 2006 (UTC)
- Nope. Are you sure you checked the talk page? Might just be an annoying IE bug. --The Great Llama(speak to the Llama!) 19:10, 18 October 2006 (UTC)
- I can't reproduce the bug myself. Try clearing your browser cache, perhaps? ~Topaz♪♫∆ 12:41, 18 October 2006 (UTC)
Using cookies for new button of statuschanger
Hi! It's me again!
I was thinking if it'll be able to give the value of our user-status to a cookie, because, two weeks ago, I was trying to get page content with your function getpagecontent() and modify the font weight according to status. But processing was too hard and took hard resource.
Friendly, Pasqual (ca) · CUT 18:20, 22 October 2006 (UTC)
- Actually, that's not a bad idea at all. It bugs me a bit only because of the possibility of inconsistency between the cookie and the actual value, but it should work. Let me think about it a bit. ~Topaz♪♫∆ 19:13, 22 October 2006 (UTC)
- Alright, I think that's the best plan for now. Let's see what I can do. ~Topaz♪♫∆ 04:05, 4 November 2006 (UTC)
- There! Not only does it track the last status you set witha cookie, it also updates the toolbars and status transclusions on all open windows and tabs automatically! ~Topaz♪♫∆ 09:22, 4 November 2006 (UTC)
Borrado automático
Hola topaz: nuevamente te traigo una idea: Es posible crear una función similar al setpagecontent o al getpagecontent, pero que mande a borrar una página?. Es decir una función que reciba como parámetro el nombre de una página y un motivo de borrado y que como resultado la página pase por la página de borrado con el motivo indicado como parámentro y se borre automáticamente. Claro que esta función sólo podría ser usada por los bibliotecarios. que opinas? Saludos Axxgreazz (consultas?) 17:21, 26 October 2006 (UTC)
- No quiero crear una funcion que puede borrar una pagina - es peligroso y la actual paginas por eso son sufficientes en la mayoria del tiempo. ~Topaz♪♫∆ 21:27, 26 October 2006 (UTC)
- Bueno, no entiendo cual es el peligro, ya que sólo los administradores pueden borrar páginas... poniéndonos en el peor de los casos, si un administrador se vuelve loco y comienza a borrar páginas, igual lo puede hacer con un programa o manualmente... igual será detectado y las páginas serán restauradas...en fin gracias de todos modos. Axxgreazz (consultas?) 16:28, 27 October 2006 (UTC)
- No me preocupo de un administrador loco; me preocupo de algo en JavaScript que no fue escribiendo correcto y que borra muchos paginas en un accidente grande. Es importante que cambios majores tienen confirmacion de una persona, si? ~Topaz♪♫∆ 19:51, 27 October 2006 (UTC)
- Realmente, puedo comprender mejor si sabía - que quieres hacer con eso funcion? ~Topaz♪♫∆ 19:57, 27 October 2006 (UTC)
- Bueno, no entiendo cual es el peligro, ya que sólo los administradores pueden borrar páginas... poniéndonos en el peor de los casos, si un administrador se vuelve loco y comienza a borrar páginas, igual lo puede hacer con un programa o manualmente... igual será detectado y las páginas serán restauradas...en fin gracias de todos modos. Axxgreazz (consultas?) 16:28, 27 October 2006 (UTC)
- Bueno te comento que asi como Uds tienes WP:AFD nosotros tenemos w:es:Wikipedia:Páginas para borrar. Cuando no queda claro si un artículo debe o no permanecer en la wiki se realiza una consulta de borrado, cuyo resultado luego del conteo de votos puede ser de "mantener" o "borrar" el artículo. Justamente tu opción de borrar automaticamente la queria para los casos en que la decisión fuera borrar, el artículo votado se borrará automáticamente en el momento en que se archiva la votación. De esta manera el mantenimiento es un poco más rápido. (Ojo que en la wiki en español una consulta de borrado se decide por una suma simple de los votos a favor o en contra.). Saludos Axxgreazz (consultas?) 15:28, 4 November 2006 (UTC)
- Todavía me preocupo, pero voy a crearlo si puedes darme una manera para probarla. No soy un sysop en ningunas wikipedias. ...o, puedo crearlo en mi wiki personal (tambien esta mediawiki) y podria trabajar en wikipedia. Que piensas? ~Topaz♪♫∆ 21:57, 8 November 2006 (UTC)
Image tagging for Image:Ub-princesstutu.png
Thanks for uploading Image:Ub-princesstutu.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. 03:16, 4 November 2006 (UTC)
Status changer thingy
Sorry for bothering you, but I have no clue how to fix this, Sango123 set mine up and I'm completely lost. Any help would be great. Cheers, Highway Ringo Starr! 11:52, 4 November 2006 (UTC)
- Well, first of all, I just released a new version of my status changer, so you're probably going to want to replace your copy with the new one while preserving your configuration. Beyond that, can you be more specific? What's it doing wrong or not doing? Are you getting any particular error messages? ~Topaz♪♫∆ 12:01, 4 November 2006 (UTC)
- But how do I replace it while keeping my configurations? I don't know what my configurations are, I didn't set it up. Highway Ringo Starr! 12:10, 4 November 2006 (UTC)
- Ah, I see. Well, you're going to want to replace the content of your statuschanger script with my newer copy, but copy the lines between
/* configuration */
and/* end configuration */
in your script before the copy and replace them in the new version once you've replaced your copy with mine. That process is also explained on my wikiscripts page if that's of any use. ~Topaz♪♫∆ 12:15, 4 November 2006 (UTC)
- Ah, I see. Well, you're going to want to replace the content of your statuschanger script with my newer copy, but copy the lines between
- But how do I replace it while keeping my configurations? I don't know what my configurations are, I didn't set it up. Highway Ringo Starr! 12:10, 4 November 2006 (UTC)
And now it's splurged. I hate coding, Highway Ringo Starr! 13:54, 4 November 2006 (UTC)
- Splurged? I tried using your monobook.js in place of mine for a moment and everything seemed to be working fine except for some error over in User:AndyZ/peerreviewer.js. ~Topaz♪♫∆ 22:02, 4 November 2006 (UTC)
- If it's any help, try starting over and following these installation instructions. ~Topaz♪♫∆ 04:08, 6 November 2006 (UTC)
Sobre la nueva versión del Statuschanger
Bueno he realizado mi adaptación de tu nueva versión del statuschanger (que por cierto está genial!!) y todo funciona ok ;)
. Puedes verla aquí: w:es:Usuario:Axxgreazz/statuschanger.js. Las diferencias básicamente son las sgtes (por si te sirven para una nueva versión):
- En el statuscode yo uso números en vez de código html. (ejemplo 1,3,5) y esto lo guardo en una página w:es:Usuario:Axxgreazz/Estado. Porque hago esto? Porque luego puedo mostrar el estado actual de diferentes maneras: por ejemplo uso la página w:es:Usuario:Axxgreazz/Estado actual para mostrar el estado en la cabecera de una página de usuario; también uso la página w:es:Usuario:Axxgreazz/Status firma para mostrar el estado en una imagen pequeña que puede ser usada en una firma o en una lista como esta: w:es:Usuario:Axxgreazz/Bibliotecarios.
- He agregado dos variables de configuración:
- topaz.statuschanger.ubicacion: para que el usuario decida si pone la barra de estado al inicio o final del p-personal. (en la wiki en español la prefieren al inicio, es decir antes del link a la página de usuario). Por cierto para ubicarla antes, cree la función addsidepanelbutton2 que usa una función add2, abajo te copio el código.
- topaz.statuschanger.textocompleto: para que el usuario decida si muestra el nombre completo de estado en la barra o si muestra la inicial del nombre de estado. Esto lo hice debido a que algunos usuarios usan la resolución 800x600 y tienen la barra de estado al inicio de p-personal. En estos casos la barra de estado se superpone al logo de wikipedia y al hacer clic en lugar de cambiar el estado se dirigian a la Portada. Lo único que se me ocurrió fue disminuir el espacio ocupado por la barra usando sólo las iniciales.
- La sección de actualizar el span con estado, me parece excelente pero no la puedo usar debido a que mi configuración (descrita en el punto 1) difiere a tu configuración.
Bueno eso es todo, muy buena la actualización (gracias por avisar!!). Ya más adelante te estaré haciendo algunas consultillas sobre programación. Saludos Axxgreazz (consultas?) 15:51, 4 November 2006 (UTC)
addsidepanelbutton2:function(id,label,targhref) { var li = topaz.util.add2((topaz.util.getobj(id).getElementsByTagName("ul"))[0],((topaz.util.getobj(id).getElementsByTagName("ul"))[0].getElementsByTagName("li"))[0],"li"); with(topaz.util.add(li,"a")) { innerHTML = label; href = targhref; } return li;
add2:function(parent, el0, tag, attr) { var el = document.createElement(tag); if (attr) { for (key in attr) { el[key] = attr[key]; } } return parent.insertBefore(el, el0); }
Status Changer bug
Is it a bug or is it just me? Take a look at these two pages (where my stati are), [1] and [2]. Happens with any status. — Deon555talk 03:23, 6 November 2006 (UTC)
- What exactly should (or shouldn't) I be seeing with your stati on those pages? ~Topaz♪♫∆ 04:06, 6 November 2006 (UTC)
- Top right instead of actually displaying the image it says:
I am currently: [[Image:In Icon.PNG|right|80px]]
It (the image) appears for a sec, then quickly disappears.. :s — Deon555talk 07:55, 6 November 2006 (UTC)
- It might just be you; I don't see that happening at all. What browser are you using? Your talk page looks a bit distorted, but nothing's appearing and disappearing like that. Try clearing your cookies, logging back in, and setting your status again. ~Topaz♪♫∆ 05:57, 7 November 2006 (UTC)
- It worked for me when I was logged out.. Try logging out and looking at this page [3]. My actual status page (/status)[4] appears fine... but for some reason when I'm logged in, and I look at my user/user talk page its screwed (text only).. Also I've noticed that my old config used to be set out nicely.. take a look at my new one (after the two updates) [5]. Ta — Deon555talk 23:03, 7 November 2006 (UTC)
<includeonly><span class="topaz.statuschanger.inlinestatus.Deon555"></includeonly>
- it works fine :s — Deon555talk 03:05, 8 November 2006 (UTC)
- Okay, I think I have a basic idea of what might be happening... Thanks for all the information, it really helps track down the problem. Let's see... do you have cookies enabled? ~Topaz♪♫∆ 04:47, 8 November 2006 (UTC)
- Yes — Deon555talk 05:06, 8 November 2006 (UTC)
- Hmm... seems to be working now :) Thanks — Deon555talk 05:17, 8 November 2006 (UTC)
- Nope... works now and then.. and only for online / offline. Won't work for help, openproxy, abusereport, working.. Again.. sorry to flood u :) — Deon555talk 05:20, 8 November 2006 (UTC)
- Hmm... seems to be working now :) Thanks — Deon555talk 05:17, 8 November 2006 (UTC)
- Yes — Deon555talk 05:06, 8 November 2006 (UTC)
- Okay, I think I have a basic idea of what might be happening... Thanks for all the information, it really helps track down the problem. Let's see... do you have cookies enabled? ~Topaz♪♫∆ 04:47, 8 November 2006 (UTC)
- it works fine :s — Deon555talk 03:05, 8 November 2006 (UTC)
- Okay, it's reverting back to the wikisource of the status, and I understand why it's doing that: an oversight on my part. Since there's no easy way for javascript to know what the resulting html would be of some wikisource, I'll have to add an option that disables the auto-updater. For now, your quick fix will do the job. ~Topaz♪♫∆ 06:04, 8 November 2006 (UTC)
- Fantastic :) Is there any way I can add the <!--tags--> or somehow stop it from occurring? My fix is fine, but each time I select a new status, it places that line back into the Status Page. You can see here: [7] and [8] that I tried to fix it, but it still kept doing it.. :s — Deon555talk 06:23, 8 November 2006 (UTC)
- From the original version, remove these two lines:
- Fantastic :) Is there any way I can add the <!--tags--> or somehow stop it from occurring? My fix is fine, but each time I select a new status, it places that line back into the Status Page. You can see here: [7] and [8] that I tried to fix it, but it still kept doing it.. :s — Deon555talk 06:23, 8 November 2006 (UTC)
'<includeonly><span class="topaz.statuschanger.inlinestatus.' + escape(topaz.wputil.username())+'"></includeonly>' +
- ...and the string
<includeonly></span></includeonly>
from thetopaz.statuschanger.setstatus
function. ~Topaz♪♫∆ 14:43, 8 November 2006 (UTC) - Okay, I've updated the status changer; grab it and then try setting
enablewikimarkup
totrue
. Before you do, though, could you do me a favor and clear your browser cache? I'd like to see if my update notifier is working for other people. You should get a box at the top of your screen indicating that there's a new version of status changer available. ~Topaz♪♫∆ 22:27, 8 November 2006 (UTC)- Sorry, didn't check back here, and just for no reason cleared my cache this morn, yes the version notice came up. I updated to 20061108, and its bugging again :( I was just starting to enjoy having a status again too :P — Deon555talk 00:02, 10 November 2006 (UTC)
- Still looks like you have 20061106 to me... User:Deon555/statuschanger.js ~Topaz♪♫∆ 02:21, 10 November 2006 (UTC)
- Sorry, didn't check back here, and just for no reason cleared my cache this morn, yes the version notice came up. I updated to 20061108, and its bugging again :( I was just starting to enjoy having a status again too :P — Deon555talk 00:02, 10 November 2006 (UTC)
- ...and the string
- I upgraded to 20061108 here [9], but then reverted to 20061106 so it would work again.. Should I leave it on 20061108 so you can see whats happening? — Deon555talk 22:56, 10 November 2006 (UTC)
- Well, not necessarily; I just need to know exactly what you mean by "bugging again". ~Topaz♪♫∆ 23:08, 10 November 2006 (UTC)
- Exactly what was happening before (raw text, no images), and I've also noticed that for eg If i'm using the stats "working" it says something like
- Well, not necessarily; I just need to know exactly what you mean by "bugging again". ~Topaz♪♫∆ 23:08, 10 November 2006 (UTC)
Working [[Image:whatever|right|80px]] Working
ie: says the status twice.. Just something else to look into.. not as big as the other bug :) — Deon555talk 00:21, 11 November 2006 (UTC)
Problem with JavaScript pages
Hey Topaz...
I saw your status indicator and looked into installing a few other scripts. I followed the directions fine, but my pages turn out formatted incorrectly. Here are a few samples:
User:StonedChipmunk/usermessagechanger.js
User:StonedChipmunk/enhanceduserpage.js
User:StonedChipmunk/statuschanger.js
User:StonedChipmunk/monobook.js (this one is really bad)
Any ideas what is going wrong? (In turn, the bad formatting doesn't allow the scripts to run.) Oh, and it would be great if you could reply on my talk page. --StonedChipmunk 20:58, 16 November 2006 (UTC)
Editing StatusChanger
I was screwing around with the statuschanger code to turn it into a different thing (Anti-Vandalism Meter) and probably screwed up the code... would two instances of statuschanger work separately? Or would I have to change things around? Here is a link to my messed up file: User:StonedChipmunk/avm.js Tell me what you think and what I should do. (I have the original statuschanger here: User:StonedChipmunk/statuschanger.js.) --StonedChipmunk 03:01, 17 November 2006 (UTC)
- Yay! Works fine. Thanks for your help. (And the formatting problem is not important, got the scripts to run anyways.) --StonedChipmunk 15:26, 17 November 2006 (UTC)
Incompatibility with wikEd
Hi Topaz, your sectionsplitter is incompatible with the MediaWiki editing page extension wikEd. wikEd puts parts of the edit page in container DIVs in order to re-sort the elements and to make them invisible for fullscreen mode. This seems to interfere with your script. The edit iframe content simply disappears after a few milliseconds. Cacycle 23:00, 17 November 2006 (UTC)
- If you can point me to where in the wikEd source the split-into-divs function is, I'll see what I can come up with. ~Topaz♪♫∆ 06:38, 18 November 2006 (UTC)
- Check the source code for "// create wikEd element wrappers" and "// fill the wrappers". It is probably the easiest way to use the DOM inspector to see what wikEd does. Cacycle 20:29, 25 November 2006 (UTC)
Status code
Can you give me the status code? As in the "This user is offline/online"? Thanks. I was wanting it for me user page. --RedPooka 03:59, 28 November 2006 (UTC)
- Have you seen User:Topaz/Wikiscripts? ~Topaz♪♫∆ 20:28, 28 November 2006 (UTC)
Error
Hola Topaz. Vengo a comentarte que el statuschanger no funciona más. Estoy probando ahora en esta wiki tu monobook.js y aún así no funciona. El Firefox no muestra error en su Consola Javascript pero no ejecuta el código. El IE si dispara un error en la función setpagecontent en la segunda línea de código:
- responseText.match().1...es nulo o no es un objeto
No sé si esto puede deberse a una actualziación del software de Mediawiki. Si puedes averiguarlo te lo agradeceré bastante. Saludos --Axxgreazz (consultas?) 14:30, 5 December 2006 (UTC)
- Gracias, Axxgreazz; no se funciona en mis probandos tambien. Pienso que estas correcto: es probablemente que hay un cambio in el software de MediaWiki. Estoy ocupado ahora, puedo quiero arreglarlo manana o Jueves si tengo tiempo. ~Topaz♪♫∆ 16:52, 5 December 2006 (UTC)
- Arreglélo! Estuviste correcto, fue una actualizacion de Mediawiki. Ahora, hay un backslash en wpEditToken; no se porque es alli. Gracias! ~Topaz♪♫∆ 19:34, 5 December 2006 (UTC)
Statuschanger
On the statuschanger side panel, the text is not there, i only have three dots. I use IE7, and have done all in the installaton instruction... Dvyjones 19:11, 10 December 2006 (UTC)
- Could you post a screenshot? ~Topaz♪♫∆ 21:03, 9 December 2006 (UTC)
- I'v uploaded it here Dvyjones 19:20, 10 December 2006 (UTC)
- I'm not fantastically familiar with IE7, and my scripts aren't tested there yet; do you get any error messages when the page finishes loading? Also, just out of curiosity, does it work if you set
topaz.statuschanger.usepersonalbar
to true? ~Topaz♪♫∆ 21:11, 10 December 2006 (UTC)
It worked when I used Firefox 2, i will be using it for WikiPedia now. —Preceding unsigned comment added by Dvyjones (talk • contribs)
- Alright. Thanks for the heads up. ~Topaz♪♫∆ 21:20, 12 December 2006 (UTC)
Pregunta
Hola Topaz, ahora te traigo una nueva consulta: la función getpagecontent es capaz de traer el contenido de otra página aún cuando esta esté ubicada en una wiki diferente? Digamos que ejecuto el código en la wiki en inglés para traer el contenido de una página de la wiki en español... se puede hacer esto? Saludos Axxgreazz (consultas?) 20:09, 10 December 2006 (UTC)
- No es possible; la technologia XMLHttpRequest tiene un restriction de seguridad que dice que no puede communicar entre hostnames (como se dice in espanol?) differentes. ~Topaz♪♫∆ 21:09, 10 December 2006 (UTC)
Wikistress
Hi!
I have used the StatusChanger, and tried to make a wikistress version, but it dowsn't quite work. I can see the statuschanger panel, but not the wikistress panel. See the script here: User:Dvyjones/wikistress.js --Dvyjones 22:49, 22 December 2006 (UTC)
- Change the 4a to a plain number (not sure why you need to) and all the 'dvyjones' back to 'topaz'. Make sure you have all the required subscripts. Prodego talk 20:43, 1 January 2007 (UTC)
- So I'd try, ut now I found it, the status changer should be in the personal bar, not as a panel, so this is a example for Topaz to use as a script: User:Dvyjones/wikistress.js
--Dvyjonest·c·e 14:52, 31 January 2007 (UTC)
- What difference does that make? Also, the script you linked is using a panel, not the personal bar; did you link the script you meant to link? ~Topaz♪♫∆ 16:39, 31 January 2007 (UTC)
- What I meant was that the Statuschanger and the Wikistress-changer must be on each "side", if the statuschanger is a panel, the wikistress-changer must be in the personal bar, and vice versa. And since the wikistress-changer takes up most space, it should be a panel... Dvyjonest·c·e 12:06, 4 February 2007 (UTC)
- If it's acting funny, I'd call that a bug. I'll put it on my todo list. ~Topaz♪♫∆ 03:02, 5 February 2007 (UTC)