User:Ingoolemo/Threads/06/07/05a
From Wikipedia, the free encyclopedia
[edit] Award
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.
![]() |
The da Vinci Barnstar | |
For your work on scripts, especially the very useful extra edit buttons script, I, Piotrus, present you with the da Vinci Barnstar.Piotr Konieczny aka Prokonsul Piotrus Talk 16:25, 4 July 2006 (UTC) |
- I am honoured, of course, at receiving this recognition, but I must be completely honest about my programming skills. I have never learned JavaScript in even the most rudimentary fashion; my additions to Mark's buttons were a fine example of the 'cut, paste, and pray' school of programming. But nevertheless, thank you for your recognition. I'm sure I will earn it as time goes on. Ingoolemo talk 00:28, 5 July 2006 (UTC)
[edit] My extra buttons suggestions
- Can the order be changed, especially the order of 'standard' buttons?
- can you add 'hide button' option, allowing people to easily customize which buttons they want to have visible? I'd guess what would be easier would be if people could have a personalized script in their monobook, with easy 'how-to' on/off for buttons, and changing order option.
- New button ideas:
- for tl templates: {{tl|Template name}}
- for subst templates: {{subst:Template name}}
- for advanced references: <ref name="Insert ref name">Insert reference material</ref>
- for advanced images: [[Image:Example.jpg|thumb|left/right|100px|Caption]]
- for one-click insertion of specific templates. This I'd suggest be exportable to individual user monobook, because it would most certainly clutter the toolbar for other users with useless templates. I, for example, would like to have buttons for {{disambig}} and {{User:Piotrus/w}}.
--Piotr Konieczny aka Prokonsul Piotrus Talk 16:37, 4 July 2006 (UTC)
- I'm not necessarily the person to approach with these suggestions; I would suggest talking to MarkS, but you probably have already.
- With regards to your first question, I really have no idea. A possibility for the second one: if there was a way to insert CSS id tags into the images, then a user could hide the buttons with their personal CSS.
- And now, some brief comments about your suggestions:
- Easy to add using cut, paste, and pray (CPP)
- use CPP
- I've considered this one as well, but I'm not sure how to do it. MarkS might know.
- CPP may work
- CPP may work
- Thank you for your kind words and for your involvement in userscripts. Good luck! Ingoolemo talk 00:28, 5 July 2006 (UTC)
- Thank for the barnstar. Turning to your questions:
- The order of the extra edit buttons could be changed by actually copying the code into your monobook.js and then just changing the order it builds the buttons. I am not aware of any way to change the order of the standard buttons - at the moment any onload events the user creates for manipulating pages (which allows you to move elements around) are called before the toolbar is built (this is a problem I had with the old version of extra edit buttons). It might be possible to hide inidividual buttons on the standard toolbar (using some sort of CSS) and then expand extra edit buttons to recreate the standard buttons in the middle of the extra edit buttons.
- Good idea. I will look into this. Not sure the CSS ID option will work because the code that builds the actual toolbar (which is provided by wikimedia not the extra edit buttons) doesn't seem to allow you to add a ID.
- New button ideas
- Cut and paste would allow you to do this.
- Cut and paste would allow you to do this.
- Not sure - I will have a look when I get a chance (see below)
- Cut and paste would allow you to do this. Having said this I am willing to look at expanding the standard toolbar and then allowing the user to turn individual buttons on/off so it doesn't get too big.
- We could look at having some customize buttons with very simple settings in your monobook to turn them on and off.
- I'm probably not around for the next week or so, so I can't look immediately. I will look back here as soon as I can, and will then look at the code. Would you be willing to comment on a test version? --MarkS (talk) 19:49, 6 July 2006 (UTC)