User:Ingoolemo/Threads/06/08/02a
From Wikipedia, the free encyclopedia
[edit] Unitformatter and dateformatter for classic skin
Note: this comment is part of a synchronised thread. You can reply by clicking the [edit] link next to the comment's heading, or following this link. To ensure that you can see any further responses I make, add this page to your watchlist. Once you have replied, feel free to remove this boilerplate.
Hullo Bobblewik,
I figured out a way to add your javascript unitformatter and dateformatter in the classic skin. I added it to the topbar; the quickbar seems like a better option, but the number of links in the quickbar is by no means fixed, which makes it difficult to guarantee that they will always be in the same position.
You can check out the code for the formatters at User:Karl Dickman/units.js and User:Karl Dickman/dates.js. The code to insert the links is new, but the formatting code is copied from your scripts.
I might be wrong, but I don't think that the code to add the links can be rewritten as a function. I tried and it didn't work.
I thought about moving my scripts to the User:Userscripts namespace, but that seemed silly unless you did the same. Interested?
Thanks for writing the formatters. Ingoolemo talk 05:11, 2 August 2006 (UTC)
- Hi, you left a comment on my talk page requesting a reply using synchronised threads. However, I was blocked at that time and synchronised threads do not work for blocked users. I was able to reply on my own talk page but I don't know if you saw that. Can we talk now? bobblewik 12:14, 19 August 2006 (UTC)
Your original reply:
You wrote: I thought about moving my scripts to the User:Userscripts namespace, but that seemed silly unless you did the same. Interested?
I don't know what the Userscript namespace does. I am generally pro anything that makes things easier for editors but can you please let me know before I agree to it. Thanks. bobblewik 09:09, 2 August 2006 (UTC)
The Userscript namespace is intended to be a central repository of scripts. On scripts where multiple developers contribute, having scripts in the namespace of each individual developer can be a pain. The Userscripts namespace alleviates this problem.
However, if you are interested, I will have to provide you with the password to login as 'Userscripts', because non-admins cannot edit other users's .js files. Cheers, Ingoolemo talk 22:46, 19 August 2006 (UTC)