User talk:MarkS/Archive/Archive 1
From Wikipedia, the free encyclopedia
Hello MarkS/Archive/Archive 1 and welcome to Wikipedia! Hope you like it here, and stick around.
Here are some tips to help you get started:
- To sign your posts (on talk pages, for example) use the '~' symbol. To insert just your name, type ~~~ (3 tildes), or, to insert your name and timestamp, use ~~~~ (4 tildes).
- Try the Tutorial, and feel free to experiment in the test area.
- If you need help, post a question at the Help Desk
- Follow the Wikipedia:Simplified Ruleset
- Eventually, you might want to read the Manual of Style and Policies and Guidelines.
- Remember Wikipedia:Neutral point of view
- Explore, be bold in editing pages, and, most importantly, have fun!
Good luck!—The preceding unsigned comment was added by Meelar (talk • contribs) 24 July 2004.
[edit] Ryanair
Nice graph - thanks. --CGorman 21:26, 2 Oct 2004 (UTC)
[edit] Ryanair graph
What I meant when I said it was easier for editing was it removes all the code required to produce the graph which can be confusing to newbies. While yes, it is harder to change, the data isn't too much so wouldn't take long to enter into excel (the whole graph and screenshot took me less than 5 mins to make). Also, this will only change yearly (won't it?!) so it doesn't need updating very often. The old graph was good, but I felt my one just a) looked a bit nicer (kudos to the excel team) and b) was better as a trend graph. Thanks. JOHN COLLISON | (Ludraman) 15:37, 3 Oct 2004 (UTC)
[edit] Copy/Paste moves
Hey there. I'm just fixing the Surrey East (UK Parliament constituency) article after a WP:RM request. I noticed you moved the article by copy and pasting it, something we should always avoid in order to adhere to the GFDL. If a move needs to be done in the future please use the move button or ask at WP:RM. Your intentions were obviously to help though, so please don't take this the wrong way. Cheers, violet/riga (t) 14:48, 14 May 2005 (UTC)
[edit] Invitation
Hi MarkS, you made a nice timeline some time ago. I would like to invite you to read and comment on my project proposal for a Grand Unified Timeline of Human History. Erik Zachte 8 July 2005 23:21 (UTC)
[edit] Edit buttons
Feel free to use the code as you wish. I stole it from the Hebrew Wikipedia :) — 0918BRIAN • 2006-03-10 14:06
[edit] Extra edit buttons problems
Hello! Thanks for your extra edit buttons - however, a recent change to the standard edit buttons seems to have introduced problems. Now, with your extra buttons installed, the normal buttons don't work anymore. See e.g. the Village pump and Brion's talk. I wonder if you have any idea as to why this is so? I'd hate to forgo use of your buttons, as I've grown to appreciate them very much. Thanks, Sandstein 05:22, 23 April 2006 (UTC)
[edit] Edit buttons help
I'm having a hard time installing the tool. Can you please help me out? Thanks! --Evan Robidoux 01:47, 1 May 2006 (UTC)
[edit] Articles you might like to edit, from SuggestBot
SuggestBot predicts that you will enjoy editing some of these articles. Have fun!
SuggestBot picks articles in a number of ways based on other articles you've edited, including straight text similarity, following wikilinks, and matching your editing patterns against those of other Wikipedians. It tries to recommend only articles that other Wikipedians have marked as needing work. Your contributions make Wikipedia better -- thanks for helping.
If you have feedback on how to make SuggestBot better, please tell me on SuggestBot's talk page. Thanks from ForteTuba, SuggestBot's caretaker.
P.S. You received these suggestions because your name was listed on the SuggestBot request page. If this was in error, sorry about the confusion. -- SuggestBot 02:08, 5 May 2006 (UTC)
[edit] Thank you
Thanks for the award ! Appreciated. Travelbird 19:01, 10 May 2006 (UTC)
Thank you very much for helping me. Cheers. SovietComrade
[edit] Aneurin
He did not live in Wales, nor write about Wales, nor in Welsh (Old Brythonic was all over Britain, Old Welsh was a dialect of it). 87.90.203.65 20:41, 11 May 2006 (UTC) When I read the article I find
- he was Welsh (I cant agree)
- although he lived in the North and wrote about princes of the North (I do agree).
It seems a bit of a contradiction.
[edit] My Elton John revert error
Hello. Thanks for the notice on my talk page, but what actually occurred was that, while I was reverting the vandalism from user 58.178.205.185, I clicked on the wrong version to revert to. My mistake. Kaijan 10:01, 16 May 2006 (UTC) (Wikipedian since 2003)
[edit] Re:Vandal report for 217.33.207.195
- 217.33.207.195 (talk · contribs · logs · block user · block log)
If you look at the block log (link above) you can see that this particular IP is used by an admin. There is also a notice to this effect on its talk page. So blocking it would probably do more hard than good. I do block school IPs when it seems like there is less chance of collatoral damage. "the only downside is that legitimate users would need to register as a user" - if only... Blocking the IP also blocks all registered users using that IP. See this to join the list of people wanting this changed (I think it will be changed, it just needs Rob, a developer to implement it). Hope that answers your question. Petros471 11:43, 16 May 2006 (UTC)
[edit] VandalProof 1.2 Now Available
After a lenghty, but much-needed Wikibreak, I'm happy to announce that version 1.2 of VandalProof is now available for download! Beyond fixing some of the most obnoxious bugs, like the persistent crash on start-up that many have experienced, version 1.2 also offers a wide variety of new features, including a stub-sorter, a global user whitelist and blacklist, navigational controls, and greater customization. You can find a full list of the new features here. While I believe this release to be a significant improvement over the last, it's nonetheless nowhere near the end of the line for VandalProof. Thanks to Rob Church, I now have an account on test.wikipedia.org with SysOp rights and have already been hard at work incorporating administrative tools into VandalProof, which I plan to make available in the near future. An example of one such SysOp tool that I'm working on incorporating is my simple history merge tool, which simplifies the process of performing history merges from one article into another. Anyway, if you haven't already, I'd encourage you to download and install version 1.2 and take it out for a test-drive. As always, your suggestions for improvement are always appreciated, and I hope that you will find this new version useful. Happy editing! --AmiDaniel (talk) 02:56, 21 May 2006 (UTC)
[edit] Italian cuisine
Hi - thanks. I'm new to popups so I am checking manually as well but I must have missed that. I'll be more careful - thanks for letting me know. Sophia 12:51, 2 June 2006 (UTC)
- I would too but I'm a Mac user. Sophia 12:59, 2 June 2006 (UTC)
[edit] Extra edit buttons (from the village pump)
- (Also posted at Wikipedia:Village pump (technical)#Edit buttons not working in Firefox.)
With the new code, adding extra edit buttons is very simple. You can see an example at User:Ilmari Karonen/editbutton user.js. —Ilmari Karonen (talk) 13:45, 3 June 2006 (UTC)
[edit] Template "Meals"
Thanks for the help. skorpion 10:15, 5 June 2006 (UTC)
[edit] about the deletion in Idealism
Hi, I notice that you deleted lots of content in Idealism on June 3. The deleted content has been restored. I assume that you made this mistake unintentionally. Please be cautious in the future. Thank you for your contribution. --Neo-Jay 20:01, 6 June 2006 (UTC)
- Thanks for pointing that out that I had deleted part of the content in this article. Wasn't deliberate. Have had the occasional trouble with only the first part of some articles loading. I presume only the first part loaded and I didn't notice because the edit was at the top of the page. Thanks for fixing it. (copy of text placed on Neo-Jay's talk page). --MarkS (talk) 20:07, 6 June 2006 (UTC)
-
- You are welcome. Orz --Neo-Jay 20:10, 6 June 2006 (UTC)
[edit] extra buttons
for some reason, it isn't working in my monobook. Can you help me? Thetruthbelow 19:31, 8 June 2006 (UTC)
- NEver mind I fixed it. Thetruthbelow 19:33, 8 June 2006 (UTC)
[edit] Problems with Image:Times New Roman versus Georgia.svg
Thanks for fixing up the SVG trouble I had, which I posted on the Village Pump. But, now I have another one: Image:Times New Roman versus Georgia.svg. The basic idea is to have a Times New Roman alphabet over a Georgia alphabet. (See Image:TNR-Georgia.png.) This time, the Georgia alphabet won't appear and the Times New Roman is covered in black as last time. Maybe, I'm saving the file wrong. Do you save it in "Inkscape SVG" or "Plain SVG"? Thank you. —Black and White (TALKCONTRIBS) 21:01, 19 June 2006 (UTC)
Reply copied from User_talk:Black and White
- I have had a long play with this and come up with something that works. You might want to adjust the final size of the Georgia font to get the two fonts to line up exactly.
- I am not entirely happy with my solution, because I do not know why the new version is working and the old wasn't. The original did have a rectangle object in the XML which seemed to cover all the text. I removed this in the XML editor but it still didn't work. I also noted that the Georgia text was actually two parts (the letter "a" and the rest of the text); changing this made no difference. In the end I removed all your original text and put new text in. This seemed to fix it. The only thing I can see is that the Inkscape said the original text was "linked flowed text" whilst the new text is just "text". I do not know what the difference is.
- There are a couple of other things I discovered:
- Whilst inkscape displayed the original correctly neither Wikipeida (which seems to convert it to PNG), Internet Explorer (opening the file directly from my local disk) or GIMP (which converts it to a bitmap) seemed to be able to display it correctly. Suggesting Inkscape might be the culprit (or at least doing something fancy not supported elsewhere).
- The new version looks about right in Wikipedia (with both fonts being the same length). However, in Inkscape the line of Georgia text is distinctly longer. This time the problem looks to be Wikipedia as opening the file directly in IE or GLIPS Graffiti Editor both produce exactly what Inkscape shows.
- As Wikipedia seems to be rendering the images to PNG I will try and see if the render engine is available to download. This will at least avoid the need to keep uploading the files to Wikipedia to see if they work.
- Finally it doesn't seem to matter whether you use Inkscape SVG or Plain SVG --MarkS (talk) 19:56, 20 June 2006 (UTC)
-
- UPDATE: Have had a quick look round and text in SVG does seem to be a problem. Batik seems to offer a fairly full SVG implementation and refuses to open the original SVG images because of the flow element. I can't find what Wikipedia is using to convert the images but Batik is mentioned as a possible method to convert from SVG to PNG (which is what Wikipdia seems to do). Looking a W3C there is version 1.1 of SVG which doesn't mention Flowing text. Version 1.2 (which is still draft) does have flowing text. My best guess is that Inkscape has implemented the draft version 1.2 but most other packages haven't. The trick seems to be to draw text in Inkscape either by just clicking where you want the tick (rather than streching out a text box) or drawing the text and selecting Text-Unflow from the menus. Then test it in Batik. --MarkS (talk) 20:35, 20 June 2006 (UTC)
[edit] Ryde Secondary College and VandalProof
You just did a revert on this article to remove vandalism. Thought I would let you know that two vandals were at work at the same time on the article and your revert took it back one revision to an already vandalised article. It needed to go back two revision to get to the clean article. This is a bit of a problem with VandalProof and worth watching for. I often check the previous edit as well if this wasn't made by a logged in user. --MarkS (talk) 10:35, 22 June 2006 (UTC)
- Thanks for the tip and for fixing my mistake. These school articles are such vandalmagnets ! - Peripitus (Talk) 10:40, 22 June 2006 (UTC)
[edit] ultraviolet vandalism
In recent months I have been dismayed by the current rash of 'editors' infesting our beloved Wiki. It has become the domain of Little Britain-type fan boys editing from their council offices and dispatching editorial decisions with a godlike hubris. Again, self-styled priests of the faith are deciding what they want people to see. I have no complaint when my editions are adjusted, or sometimes removed if need be, by better qualified people, but the Ultra Violet/Hammer Space fiasco is ramming home the point the Guardian makes that wiki is less and less to be trusted. Most of my contributions remain untouched, merely added to from time to time; However, on some sites, the editors protect theitr subject matter like fanatical temple guardians. If this continues, Wiki will become just another fan site/film buff hideout, for people decorating their club house personal spaces, and the encyclopedia will become just another elitist chat room.
Captain John Lazarus, Bsc Ma.
My additions were correct, Mark. We are trained to render ourselves combat-effective with a broken arm. —The preceding unsigned comment was added by 195.8.190.54 (talk • contribs) .
- This comment was added by user after I removing inappropriate edits by this user. See for example [1] which is comment to to fairly new user that fails to state the article it is talking about or [2] which is on the this user's own scrapbook (not talk) page and is nothing to do with the user in general but is a general complaint (put poorly about WIkipeida in general. The disputed Ultraviolet edit is this one [3] which I removed as this is not appropriate in the article. --MarkS (talk) 10:21, 23 June 2006 (UTC)
[edit] MediaWiki:Edittools
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.
As you may have noticed, some wikimarkup shortcuts were recently added there, some of which are redundant with existing buttons and some of which are redundant with your buttons. Because I like the editbuttons better than the edittools, I have written some scripts for those edittools that don't have equivalent editbuttons. If you would like to add them to your own Extra editbuttons script, visit User:Ingoolemo/extraextraeditbuttons.js.
Thanks for the good work with the extra buttons by the way. I absolutely love them.
If you have any better ideas for the GIFs I've created for my scripts, feel free to revise them. The files are: , , , and .
By the way, if you don't want to see the wikimarkup section of edittools, add
#edittools_wikimarkup {display:none;}
to User:MarkS/monobook.css. Ingoolemo talk 01:41, 24 June 2006 (UTC)
- Thanks for the comments. The new shortcuts they have added at the bottom makes the editing interface a little inconsistent. It was okay having just characters at the bottom. However, now they have added markup to the bottom the result is some markup at the top and some markup at the bottom. Just feels confusing to me.
- I like your new buttons and have added them into the development version of User:MarkS/Extra edit buttons.
- However, the images look a little different to the main buttons. My intention is edit the images to make them look consistent and then upload these new version as a separate version from your originals (they will probably be PNG anyway to ensure consistency with the existing buttons). Once that's done (and tested on IE/FireFox and Opera) I will move it to live. --MarkS (talk) 19:56, 24 June 2006 (UTC)
[edit] Award
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 20:25, 4 July 2006 (UTC) |
Also, can you take a look at my button suggestions at User_talk:Piotrus#My_extra_buttons_suggestions?--Piotr Konieczny aka Prokonsul Piotrus Talk 01:36, 5 July 2006 (UTC)
- Sure, I would. And it's a good idea to 'remove' the normal buttons and replace them with yours, especially if the user could change the order (to be more intuitive) and hide the ones they don't want to (honestly I use less then a third of the original and yours, so most my buttons are useless clutter - and I suspect it's the same for others, too - although of course a button useless to me may be pretty good for sb else).--Piotr Konieczny aka Prokonsul Piotrus Talk 16:45, 8 July 2006 (UTC)--Piotr Konieczny aka Prokonsul Piotrus Talk 16:45, 8 July 2006 (UTC)
[edit] My latest idea for the extra edit buttons
To: MarkS
CC: Piotrus
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.
I decided it was best to start a new thread on this topic.
I had an idea for the editbuttons script that may or may not work. See User:Ingoolemo/extraeditbuttons.js for the code and User:Ingoolemo/Extra editbuttons for a correspondence table.
- I move each editbutton script to a separate subpage of the main script. Each editbutton is assigned a numerical name; currently spanning 1-22.
- I create a
wincbutton
function that imports the button script from its numerical page. This allows editors to perform very easy customisation of the order and placement of their buttons. By referencing the correspondence table mentioned above, for example, they can cherrypick the buttons they want and decide which order they want. Because the buttons are referenced numerically, all one needs to do is paste the main editbutton script--easy to do with a template--, then type something as simple aswincbutton('12')
. - The
custombutton
function allows users to create their own buttons. I don't know if multiple variables are even possible in JavaScript, or if I treated them correctly, but if I did, it will allow Piotr to implement many of his ideas. I include examples below, but note that the following MAY NOT WORK, due to my lack of JavaScript skills:custombutton('blahblah/Button_tl_template.png','Tl','{{tl|','}}','template name')
custombutton('blahblah/Button_subst_template.png','Subst','{{subst:','}}','template name')
custombutton('blahblah/Button_disambig','Disambig','{{disambiguation}}','','')
custombutton('blahblah/Button_welcome_from_Piotrus','Welcome','{{User:Piotrus/w}}','','')
- I have also developed an advanced linebreak button (User:Ingoolemo/extraeditbuttons.js/6a.js) that allows the user to define
clear
. - I have developed Piotr's advanced references option. First, you click on the 'advanced references' button, which inserts
<ref name="Insert reference name
. Then, you either click on the 'c' button or the '/' button. The 'c' button allows you to add citation information, and the '/' button allows you to refer to a previous footnote.
Update: I have not yet tested the custombutton feature, but it seems that my current editbutton design is causing major rendering issues. I will get back to you guys when I have explored the problem further. Ingoolemo talk 00:58, 9 July 2006 (UTC)
- The rendering issues have disappeared now that I've moved it from a subpage to my main javascript, but I still haven't got them up and running yet. Ingoolemo talk 02:21, 9 July 2006 (UTC)
My previous technique did not work. I have now developed a new system at User:Userscripts/Extra editbuttons/source2.js. Under this system, each button is defined as a function, and the buttons can be activated within a user's javascript by calling each button by its function name. (See User:Ingoolemo/standard.js for an example.)
I have not yet tested the custombutton(s,o,c,t,i)
function. Ingoolemo talk 21:33, 14 July 2006 (UTC)
[edit] Final report
I have tried several methods that would allow end-users to alter the order of the buttons (and to cherry-pick them) with more ease. They all failed. The only option—or so it seems to my untrained opinion—is to paste the XEB script (awesome acronym, isn't it?) to a subpage of their own and edit it there.
I still have not tested custombutton(s,o,c,t,i)
, but I do expect that to work.
I would like to suggest that the XEB code (currently at User:MarkS/extraeditbuttons.js) be moved to User:Userscripts/Extra editbuttons/source.js. While I was doing my experiments, I intended for them to be moved to your namespace, but didn't want to do that until I had permission. It just seems so much more logical to me to have them in a central location.
Mark: thank you for XEB. Piotrus: thank you for getting me thinking about ways to improve it. Ingoolemo talk 02:14, 18 July 2006 (UTC)
- I also strongly recommend taking a look at some of the differences between the current XEB code and my code at User:Ingoolemo/xeb.js. Ingoolemo talk 02:33, 18 July 2006 (UTC)
I am back (at last). Thanks for trying different ways of altering the code so the order of buttons can be amended.
I have had a play as well and have a method which might work. Broadly if the user defines a variable XEBOrder in their javascript before including the XEB code then this variable will override the standard order. For example: XEBOrder="A,C,E" will not display the standard XEB buttons, instead it will only display buttons A,C and E (in that order).
How does it work? The code first tests to see if XEBOrder has been defined. It it has it takes the user's value. If it hasn't been defined then it creates the variable with the default XEB buttons. It then works through each button in XEBOrder and creates the buttons requested (each button is now in a separate function).
The advantages I see in this method are:
- For user's who aren't bothered by the button order the XEB script works without any changes and produces a default set of buttons.
- You can change the order of buttons easily.
- You can hide buttons you don't want.
- The XEB script can contain extra non-standard buttons which user's can turn on if they want.
- The configuration is easy.
The current code is in the dev version of XEB and you can see the use of XEBOrder in my monobook.js. If you want to test it then simply include the dev version of XEB in your monobook rather than the standard version.
This is just a piece of code to test at the moment. Depending of the feedback I might look to:
- Change the button names from A,B,C,D... to more relevant names
- Add the extra buttons that have been requested. These might be non-standard buttons (i.e. only show if you use XEBOrder) to stop the toolbar getting too long.
- Move the code out of my userspace.
Any feedback is welcome. --MarkS (talk) 08:34, 24 July 2006 (UTC)
[edit] XEB Development version
I have updated the dev version of XEB. The new version includes:
- The ability to change the order of the buttons as requested by Piotrus
- The ability to hide buttons or show 'non-default' buttons.
- An optional set of buttons for adding references. These buttons are copies of those current in Ingoolemo's XEB script. These extra buttons are optional and only appear if requested by the user.
This new development version is in the form I would like to go live with and should include the main changes that were originally requested. The only thing missing is the other buttons requested by User:Piotrus - these can be added later.
Details (including how to make the extra refernce buttons appear) can be found on the XEB page. I invite your comments before I move the code to the live version. --MarkS (talk) 20:23, 5 August 2006 (UTC)
[edit] Extra edit buttons
Thank you for the extra edit buttons! Fruggo 09:38, 30 July 2006 (UTC)
- Great! It may take me few days to get to this, I am at Wikimania, but I just saw something very useful mentioned by Andrea: briefly, she has designed a pop-up box for adding references. She needs help from developers and people like you to update it for the newest MediaWiki, so I thought you may want to get in touch with her; she actually had a button in toolbox for that, and it would be a MAJOR thing in terms of making adding references user-friendly (I'd assume it would become a part of Wikipedia:WYSIWYG announced a Jimbo). Btw, are you on Wikimania?-- Piotr Konieczny aka Prokonsul Piotrus | talk 20:38, 5 August 2006 (UTC)
You will have to excuse me for my lack of dev literacy, but I am not sure how should I test the script: should I copy the entire page (save the introduction) and add replace the current stable version at User:Piotrus/monobook.js?-- Piotr Konieczny aka Prokonsul Piotrus | talk 19:50, 7 August 2006 (UTC)
- Answered at: User_talk:Piotrus#Extra_Edit_Buttons_-_Dev_Version
[edit] Support
Hello Mark, I'm from the German Wikipidia, I found your nice collection of edit button only now. (I see in your code your mentioned JavaScript ability is not so very much :-o.) I've copied and converted the toolbar from fr: (all this suggested by de:User:Löschfix to me) for de: /customToolbar.js. And I would do this with your script too, but I'll strong optimizing this (laborious) code, so you will profit from this too. Greeting --Olliminatore 23:30, 12 September 2006 (UTC)
I think the button code in your developers version is not user friendly (XEBOrder="A,B,C...). The code mwCustomEditButtons[mwCustomEditButtons.length]
is JavaScript1.0 and very out of date (over 10 years old, I think nobody in the world used such old browser to edit here) use push()
for this. What do you think about adding the buttons from fr: ? Okay, no trouble, you could see I'll do that all. --Olliminatore 11:17, 13 September 2006 (UTC)
- I've now completted/ optimized your development version with XEBOrder too. Let me know what do you think. --Olliminatore 20:58, 13 September 2006 (UTC)
- Greetings, It seems now, that the XEB be outdated so an released dev-version is needed (hopefully expected). Thanks. (I've answered your on my talk page too) If your could make a dev-version for all (editing), that would be nice too. --Olliminatore 06:58, 4 October 2006 (UTC)
[edit] Saw you used my AWB spellchecker, thought I should send you this message
Note that the replace list is actually updated daily - sometimes many times a day - to fix problems and add new words. These problems can be important.
Please check for a new version each and every time you use AWB. Add a bookmark to the top of your favorites. That will ensure you always have the best, most complete, bug-free version. Or you can get the same exact version I'm using at that second by using Subversion. You get to see how I work, change, and develop the list, edit by edit, since it shows you the differences between versions. All old versions of the list can be shown so you can see the progress the list has made. If you need any help setting this up, it's actually really easy, I'd be glad to help you out.
Download the latest releases all the time from the project page. Please update right now. Several problems have been found and fixed, and many many words have now been added.
Current version as of this message: 0.0.4.9 --mboverload@, 23:45 18 July 2006
[edit] Thankyou
Hi, I am Tromsogirl and I've been editing the Jason Shand page with the assistance of Jason, I believe there was some acts of Vandalism on the Jason Shand page yesterday that you reverted back to its origional. Just like to say thankyou for sorting that out. Do you know if the member for the IP Address of the vandalism - 193.195.220.34 has been banned from Editing? or any other information about the IP owner that I could assist Jason with in finding the person responsible as they seem to possibly be responsible for a number of personal attacks out of Wikipedia aswell.
Thanks again for Sorting the Vandalism, Much Appreciated. (Tromsogirl 13:19, 6 September 2006 (UTC))
Thankyou for that information you sent regarding the IP address, The fact its somebody connected to EMAP is encouraging in finding out the responsiblity of the person behind it, Anyway I'll pass on the information to Jason that its somebody connected to EMAP and see what he wants to do next. (Tromsogirl 14:30, 6 September 2006 (UTC))
[edit] Windows 95
How do you get all the extra edit buttons? Windows 95 gets none of them and Windows XP only gets the default buttons, and sometimes it takes a long time. The image of the first button seems to be missing today.--Chuck Marean 20:36, 4 October 2006 (UTC)
[edit] The edit summary
In this edit: [4], where is the cleanup? :) →AzaToth 14:27, 12 October 2006 (UTC)
[edit] Jason Shand Vandilism early September
Hello, Id just like to get around to thanking you for the help with the IP tracing in early September regarding the vandalism to the Jason Shand page it was much appreciated. Just to update on from that, I notified Jason about it coming from EMAP and following private discussions the matter has been dealt with Internally at his place of work, and Hopefully there will be no further abuse by those responsible of his page anyway from anybody connected with EMAP. (EditorSH 05:20, 13 October 2006 (UTC))
[edit] Extra buttons
Your change on extra edit buttons last night somehow broke my js at sr: wiki. Before i have one more toolbar under your buttons, and now i don't have it. Can you please help me somehow, or revert your edits and save it to another place. You can see my js here. Thanks. --SasaStefanovic • 14:38, 14 October 2006 (UTC)
- Ok, i fixed it, i just copy old version of your code to User:Sasa Stefanovic/extraeditbuttons.js and it all works again. --SasaStefanovic • 14:52, 14 October 2006 (UTC)
[edit] User:MarkS/Extra edit buttons/dev2.js
I don't know if you know this or not, but this doesn't redirect to your desired location. I don't even think it's possible to redirect pages that have .js at the end of them. So it might be better to blank it that have that there. Regards, — Moe 15:56, 14 October 2006 (UTC)
-
- I suggest asking an active admin to delete it. You can delete the history of those pages somehow. — Moe 20:17, 14 October 2006 (UTC)
Hello, MarkS. I can delete it, but I would prefer seeing a note directly from you before I do so. Alternatively, you may want to try Wikipedia:Miscellany for deletion, or contact any admins at Wikipedia:Administrators' noticeboard. Hope this helps. -- PFHLai 00:24, 15 October 2006 (UTC)
[edit] Button suggestion
I'd love a button that would add the | symbol. now I have to scroll down and take one from the symbols below the edit window - and I use it all the time. Kudos for great work on the script! PS. Is there any progress on how to get rid of the standard buttons and replace them with selection from your toolbar?-- Piotr Konieczny aka Prokonsul Piotrus | talk 14:56, 29 October 2006 (UTC)
- Yes this function to get rid of the standard buttons is in the german version of XEB. I've posted this function also separate here: Help_talk:Edit_toolbar#How_to_remove_buttons.3F @symbol: May you can typing it with [<]+ [Alt Gr]!? --Olliminatore 16:44, 29 October 2006 (UTC)
- That's great, it works for me!-- Piotr Konieczny aka Prokonsul Piotrus | talk 20:27, 31 October 2006 (UTC)
[edit] extra edit buttons
Hello,
Thank you for the script to add extra edit buttons. It has been chosen as the tool-of-choice for the Marathi Wikipedia.
asnatu 22:14, 9 November 2006 (UTC)
[edit] Tl button
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.
Hi Mark,
Per the invitation on your XEB page, I tried adding a TL button to the code, right below the Subst button (Z). I used the following code:
'TL':['3/37/Button_tl_template.png','Template link',"{{tl|","}},'Template name'],
However, it didn't like this. In fact, it caused the entire script to stop working altogether.
So I guess you can count this as a feature request. Cheers, Karl Dickman talk 01:57, 17 November 2006 (UTC) (formerly Ingoolemo)
- A few more things. XEBOrder isn't allowing be to use any more than 17 buttons, which is as likely as not due to some error in User:Karl Dickman/standard.js. Also, What does
XEBOrder.split
do? Does it allow the end-user to add buttons between the buttons added by your XEB script. For example, a script exists that can suppress the standard editbuttons; if such a feature existed, I could reinsert the standard buttons in the order I wanted (for example, putting the standard link button right before the sub-link button, and the standard image button right before the advanced image button, etc.) Just some thoughts to chew on. Cheers, Karl Dickman talk 11:30, 17 November 2006 (UTC)
-
- Okay I've had a look:
- The TL button wasn't working because it was missing a closing quote for the last but one argument (}}). The odd thing was that the missing quote showed up if you looked at the new code on its own, but appeared when you compared the two versions of the code. I have now added the TL button. It isn't a standard button at the moment so you will need to use XEBOrder to include the button.
- I had a quick look at the 17 buttons issue. There was an issue if you used the all option for XEBOrder. You had to get the case right (so 'ALL' and 'aLL' did not work for example). I'm not sure if this (or any of the other changes) will fix the issue for you. Can you let me know if you still have a problem. If you do then I'll have another look.
- I have updated the images with your newer PNG version - much better.
- One thing, which I hadn't thought about properly, is that changes to the live version may possible affect all the XEB users immediately. I'm going to change the XEB instruction page to encourge users to test changes in a development version before putting them on the live version. At the moment I don't have any way to prevent changes to the live version because as a non-admin I can't protect the page. Hopefully some better instructions on this will help. --MarkS (talk) 19:12, 19 November 2006 (UTC)
-
- Regarding your final point: I just realised this: because I am an admin, I am in fact one of the few people who can edit your javascript page. I'm pretty sure that any .js file in another user's userspace cannot be edited by any other user who doesn't have administrative privileges.
- Also, thanks for fixing the 17-buttons issue. I now have all the buttons in operation. Tschüs. Karl Dickman talk 19:53, 26 November 2006 (UTC)
- Okay I've had a look:
[edit] Your warning
http://en.wikipedia.org/wiki/User_talk:139.98.2.108#School_computer <--- Here's the answer...
This is a school computer, as are almost all of the computers in this IP range. You should block it from editing stuff. —The preceding unsigned comment was added by 139.98.2.108 (talk • contribs).
- Preceeding comment left from an IP address currently vandalising. User will receive warnings in the normal way until it is obvious they will not respond when it will be passed to an admin to consider blocking. Risk of collateral from blocking an IP address with a potential large number of users so can't block on first attempt.--MarkS (talk) 13:51, 20 November 2006 (UTC)
[edit] Feedback from vandal
your bot reported me of editing 'sarea silverman' and the white house although i didnt even visit them! —The preceding unsigned comment was added by 194.83.245.252 (talk • contribs).
Response:
- It wasn't a bot. It was a real person!
- I didn't comment on the white house. See the user's talk page.
- sarea silverman was not reported. However, Sarah Silverman was and the user's contributions show that this was edited by the user.
- User has now been blocked by an admin anyway. --MarkS (talk) 10:44, 22 November 2006 (UTC)
[edit] Thanks!
Thanks for reverting vandalism on my user page! — Alex (T|C|E) 21:46, 24 November 2006 (UTC)
[edit] Adding standard editbuttons to XEB script
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.
As you know, scripts exist to suppress the standard editbuttons (bold, italic, link, headline, image, etc.) I see this as a first step toward maximum customisation. For example, it make ssense to have purely formatting buttons, like underline, strike, bold, and italic right next to each other, and to have both the basic image button and the advanced image button right next to each other. The easiest way to do this would be to make the following change to User:MarkS/extraeditbuttons.js:
Current revision | Your text | ||
Line 23: | Line 23: | ||
} | } | ||
- |
var Isrc='http://upload.wikimedia.org/wikipedia/commons/'; |
+ |
//Converting Isrc into an array would probably be the easiest way to deal with the fact that the standard buttons and custombuttons are on different servers. The other options are: specify the whole URL in the code, or upload all of the standard buttons to the commons. |
+ | var Isrc[0]='http://upload.wikimedia.org/wikipedia/commons/'; | ||
+ | var Isrc[1]='http://en.wikipedia.org/skins-1.5/common/images/button_'; | ||
var BDict={ | var BDict={ | ||
+ | '0A':['bold.png','Bold text','\'\'\,'\'\'\,'Bold text'], | ||
+ | '0B':['italic.png','Italic text','\'\,'\'\,'Italic text'], | ||
+ | '0C':['link.png','Internal link','[[',']]','Link title'], | ||
+ | '0D':['extlink.png','External link (remember http:// prefix)','[',']','http://www.example.com link title'], | ||
+ | '0E':['headline.png','Level 2 headline','\n== ',' ==\n','Headline text'], | ||
+ | '0F':['image.png','Embedded image','[[Image:',']]','Example.jpg'], | ||
+ | '0G':['media.png','Media file link','[[Media:',']]','Example.ogg'], | ||
+ | '0H':['math.png','Mathematical formula (LaTeX)','<math>','<\/math>','Insert formula here'], | ||
+ | '0I':['nowiki.png','Ignore wiki formatting','<nowiki>','<\/nowiki>','Insert non-formatted text here'], | ||
+ | '0J':['sig.png','Your signature with timestamp','--~~~~',,], | ||
+ | '0K':['hr.png','Horizontal line (use sparingly)','\n----\n',,], | ||
'A':['e/e9/Button_headline2.png','Secondary headline','\n===','===','Secondary headline'], | 'A':['e/e9/Button_headline2.png','Secondary headline','\n===','===','Secondary headline'], | ||
'B':['1/13/Button_enter.png','Line break','<br />',,], | 'B':['1/13/Button_enter.png','Line break','<br />',,], | ||
Line 70: | Line 81: | ||
for (var b in XEBOrder) { | for (var b in XEBOrder) { | ||
var bc = BDict[XEBOrder[b]]; | var bc = BDict[XEBOrder[b]]; | ||
+ | //Not sure what to do about Isrc here | ||
addCustomButton(Isrc+bc[0],bc[1],bc[2],bc[3],bc[4]) | addCustomButton(Isrc+bc[0],bc[1],bc[2],bc[3],bc[4]) | ||
} | } |
Karl Dickman talk 00:00, 28 November 2006 (UTC)
- I defintely think its a good idea to include the standard buttons within XEB so you can then group similar buttons together.
- Isrc is a just a way of keeping the urls in each button definition line short. Just like you I can't see a way to do the final section of code if we use an array. The only alternative I can think of is to add Isrc to the rest of the url when each button is declared. This would make each button line slightly longer but would still be manageble.
- I have just been looking at the German version by Olliminatore. As far as I can see he has added some really nice pieces of extra code. Firstly he has something to remove the standard toolbar buttons (which would go nicely with being able to add them back in whereever you want with XEB) and he looks to have some code to extend the functionality of the buttons - it looks like when you press the table button you get a popup asking what size table you want.
- I will get the standard buttons added asap and then look at seeing if we can copy some of the German code over. --MarkS (talk) 17:27, 30 November 2006 (UTC)
I seem to remember a popup for tables being imported here from the French Wikipedia, but it didn't work in Internet Explorer. Just something for you to check. Karl Dickman talk 19:23, 30 November 2006 (UTC)
Update: I successfully added said buttons to the script. My apologies if you feel I've trespassed in any way by doing so.
Cheers and good luck, Karl Dickman talk 08:01, 1 December 2006 (UTC)
-
- That XEB buttons are not really needed, we can load these from
mwEditButtons
to add these to BDict (and give these simply the indexes as names (1-10)), but we need BDict first load inaddOnloadHook
. These give us a additional possibility to add an optional parameter for additional custom user buttons (what you've requested too). I think I will do these for the german version. —Olliminatore 12:48, 1 December 2006 (UTC)
- That XEB buttons are not really needed, we can load these from
- Thanks for adding the buttons to the script. I have now added Olliminatore's remove buttons function to the dev version. This seems to be working for me. You just need to add something like var rmEditButtons = [2,6,7,10]; to your monobook.js to remove the buttons. The index of the buttons to remove starts from 0. I haven't tested this in IE or Opera at the moment. I also think it might be nice to make this a little simpler perhaps for people who want to remove all the buttons (for example we could have rmEditButtons="All"). I'll look into this and testing the code asap so we can get it on the live version.--MarkS (talk) 16:35, 1 December 2006 (UTC)
-
- Here the alternative code with paramter (var myButtons, I hope you'll give it a try). Good idea to do them with rmEditButtons="All". p.s. browser compatibility: it works for me in Opera and IE too. Cheers, looking forward —Olliminatore 17:31, 1 December 2006 (UTC)
- Well I've added an "all" option and it sort of works. However, it highlights a problem in Olliminatore's remove edit buttons function. Olliminatore's function is added to the page load event to remove the buttons. However, when the page is loading there are only 11 buttons in mwEditButtons. The media wiki software must be adding the 10 other standard buttons later. The remove buttons functions works fine with these 11 buttons but can't remove the other 10 standard buttons (because they don't exist when the function runs). It might be possible to run the remove buttons function later but that would risk removing any buttons the user has added themself. The only answer I can think of is to delete the buttons when XEB is running by searching for the individual buttons themselves. This seems a heavy handed way to do it. Will need to think about this or hope Olliminatore has a good idea.
- Haven't looked at your alternative code yet. Will do when I get a chance. --MarkS (talk) 18:54, 1 December 2006 (UTC)
By the 'ten other standard buttons', do you mean the ones that have been MediaWiki:Common.js? If so, you can suppress them (thanks, Olliminatore) by adding mwCustomEditButtons = [];
to your local javascript file, or to the XEB script page. Karl Dickman talk 19:12, 1 December 2006 (UTC)
-
- Yes, Karl Dickman is right (I forgot the other custom buttons are now standard too), we should delete them all (if we would extend the
eraseButtons
function (you can correct my typo "erease", or better called removeButtons!?), it must be indexes from 0-20. That would be too complicated/ elaborated for an user friendly parameter). —Olliminatore 20:39, 1 December 2006 (UTC)
- Yes, Karl Dickman is right (I forgot the other custom buttons are now standard too), we should delete them all (if we would extend the
Plus, I don't think that extending the indices on your script would work, i.e. I don't think that ereaseButtons(15,20);
would successfully erase the sixteenth and twenty-first buttons in the toolbar. I seem to remember trying that, and didn't succeed. Karl Dickman talk 23:14, 1 December 2006 (UTC)
- At the moment you are right, because the function is not modified (in de: are no custom standard buttons). But if you really want it, it would be easy to do, connect both lists:
- first made a copy:
var mwCustomEditButtonsOld = mwCustomEditButtons;
- then erase those:
mwCustomEditButtons = [];
- Because the mwEditButtons is filled after the mwCustomEditButtons. Then put this line in the erase function:
for (i in mwCustomEditButtonsOld) mwEditButtons.push(mwCustomEditButtonsOld[i]);
. —Olliminatore 23:54, 1 December 2006 (UTC)
-
- For the record (and this is just summarizing what Olliminatore has already said) and so that I don't forget, the buttons are working like this:
- mwCustomEditButtons is populated with the 10 extra standard buttons
- monobook.js is called and we add the XEB buttons
- mwEditButtons is populated with the standard buttons
- The eraseButtons function is run which removes the standard buttons from mwEditButtons
- Olliminatore's proposed code should work fine and would allow any of the 21 standard buttons to be removed by index number. However, I would need to adapt the remove all function I added and probably hard code it to remove 21 buttons. I think this overall approach is the best way forward. I'll test it on the dev version as soon as possible. --MarkS (talk) 07:24, 2 December 2006 (UTC)
- I have now changed the rmEraseButtons function so it can remove all the standard buttons. You can now specify either
rmEditButtons=[2,3,4]
orrmEditButtons="all"
. The code is currently in the dev version. I also want to have a look at Karl Dickman's alternative code for adding the standard buttons in and then test again before moving this up to live. That might need to wait until this evening. If you want to test the code or suggest/make any other changes that would be helpful --MarkS (talk) 07:53, 2 December 2006 (UTC)
- I have now changed the rmEraseButtons function so it can remove all the standard buttons. You can now specify either
- For the record (and this is just summarizing what Olliminatore has already said) and so that I don't forget, the buttons are working like this:
[edit] Signpost updated for November 27th.
Weekly Delivery |
---|
|
||
Volume 2, Issue 48 | 27 November 2006 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 01:46, 29 November 2006 (UTC)
[edit] Comment from vandal
um, my change was very much accurate —The preceding unsigned comment was added by 128.12.80.82 (talk • contribs) 30 October 2006.
- I reverted this edit by the vandal: [5]. The revert was entirely valid. --MarkS (talk) 10:38, 30 November 2006 (UTC)
[edit] Thanks
..for rvv on my user page. amitch (talk) 12:55, 30 November 2006 (UTC)
[edit] Editbuttons at MediaWiki:Common.js
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.
As you probably know, there are ten buttons from the XEB script you originally wrote that have now been added to the Common.js. Of course, they are redundant for those of us who use XEB; also, their order can't be customised.
Do you have a way of suppressing them? Adding variables to Common.js seemed to kill all editbuttons. The best way I can think of is to enclose them within a div tag and suppress the id of the div tag using CSS. Karl Dickman talk 17:07, 30 November 2006 (UTC)
- There is no really problem. In the new version of XEB (which is optimized and more dynamically) you can manually choose each button (XEBOrder). —Olliminatore 19:06, 30 November 2006 (UTC)
-
- I know how the XEBOrder variable works. The problem that I'm trying to deal with is the duplicates of the XEB script at MediaWiki:Common.js. Frankly, I would like to have all of my formatting buttons together in one sequence. This would be bold, italic, underline, strike, superscript, subscript, and small. I couldn't do this with XEBOrder, because the order of the buttons at MediaWiki:Common.js cannot be manipulated in any way that I'm aware of. The only way I can think of dealing with them is to find some way to suppress them, and control all my buttons with my personal javascript. Karl Dickman talk 19:28, 30 November 2006 (UTC)
-
-
- Oh yes, I see only now you have asked before similarly, and MarkS answered (today) with: remove the standard toolbar buttons. Which is a solution, if he would copy this function (ereaseButtons from me, example option: var
rmEditButtons = [6,7,10])
. Either this function must (modify) do the same with mwCustomEditButtons for the buttons in :Common.js, or you must simply first delete them all:mwCustomEditButtons = []
. (p.s. my automatic signing script don't works on this site :-P) If any additional question you can ask me here or there. —Olliminatore 20:36, 30 November 2006 (UTC)
- Oh yes, I see only now you have asked before similarly, and MarkS answered (today) with: remove the standard toolbar buttons. Which is a solution, if he would copy this function (ereaseButtons from me, example option: var
-
-
-
-
- Thanks so much for a good solution (finally). Note: by finally, I don't mean "took you long enough", but rather, "I finally found someone who could help me." Karl Dickman talk 02:56, 1 December 2006 (UTC)
-
-
[edit] More on XEB
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.
One final thing: at User:Karl Dickman/standard.js I tried adding some buttons by adding more to the variable BDict
at my local .js. However, that didn't work. I assume I got the syntax wrong for whatever I was doing. When you get a moment, I would appreciate it very much if you could take some time to help me out.
Cheers, Karl Dickman talk 08:34, 1 December 2006 (UTC)
- Example custom button for XEB:
document.write("<script> addCustomButton(Isrc+'1/13/Button_enter.png','Line break','<br style=\"clear:all','','\">') <\/script>");
Hmm ... I updated the code, I can't say way but the code must be in script tag (local it works without). Currently you can only add buttons at the end (or beginning, or end of standard buttons), but we could make a optional parameter for additional custom buttons, which are changeable in order too. (don't forget to share your ideas) happy editing :) (p.s. I was a bit inactive in wikipedia) —Olliminatore 09:19, 1 December 2006 (UTC)
-
- I really suggest an user friendly parameter like
var myButtons={ 'Mm':['http://upload.wikimedia.org/wikipedia/commons/f/fd/Button_blockquote.png','Insert block of quoted text','<blockquote style="padding:2em;">\n','\n<\/blockquote>','Block quote'], 'Ba':['http://upload.wikimedia.org/wikipedia/commons/1/13/Button_enter.png','Line break','<br style=\"clear: ','all',''\">'] }
Here the code therefor that works: [6] —Olliminatore 17:21, 1 December 2006 (UTC)
- This code is now on the dev version. I'll try and test it tomorrow. --MarkS (talk) 21:00, 5 December 2006 (UTC)
-
- I'm having some problems with the code. Whenever I open any Wikipedia page, it gives me a popup that says:
intiButtons
mwEditButtons.length=0
mwCustomEditButtons.length=10
-
- This popup appears twice, and I must click OK twice before I can see the page I went to. Karl Dickman talk 17:42, 6 December 2006 (UTC)
-
- I see: it's your debugging report. Here's what I suggest: add
if(user=='MarkS') { \\debugging code here }
; that should help prevent those of us who are also checking out your dev source from having to deal with the debugger thing. Cheers, Karl Dickman talk 01:55, 7 December 2006 (UTC)
- I see: it's your debugging report. Here's what I suggest: add
-
-
- You mean
if(wgUserName=='MarkS')
? Or you can made a debug parametervar debug = true;
, so more user can test it. p.s. Maybe I wrote a hint on the dev talk. —Olliminatore 09:31, 7 December 2006 (UTC)
- You mean
-
-
-
-
- I have commented out the code and will add something to stop the messages popping up for other users (although in my defence this is the development version of the code !). The reason for the popup boxes is that I'm having trouble getting the remove edit buttons to work. The problem is that firefox and IE/Opera fire the onload event at different times. Specifically it seems to me that IE/Opera fire the onload event after drawing the toolbar (so you can't use the event to remove buttons from the toolbar). Even worse is that in IE/Opera it appears that the standard 10 toolbar buttons are added immediately before the toolbar is drawn (so you can't remove the buttons). When you include the extra 11 buttons that English Wikipedia adds in Common.js to mwCustomEditButtons rather than mwEditButtons it all gets very confusing. I've started a new page called Development notes which contains some technical information on how the toolbar buttons work. If you have any extra info (or know of links to other places in Wikimedia/Wikipedia) that might be relevant then please expand this page. In the meantime I'm going to do a bit more testing. --MarkS (talk) 17:19, 7 December 2006 (UTC)
-
-
-
-
-
- Oh* I think I've tested only with IE6 and Opera8.5. Here the fix for Opera 9 [7] I now install IE7 (IE6 works). —Olliminatore 20:46, 7 December 2006 (UTC)
-
-
-
-
-
-
- I'll have a look at this tomorrow. Testing tonight (before your fix) suggests the biggest problem is the 11 extra standard buttons added on en wikipedia. In Firefox these are added before the onload event fires (so I can remove them). However, in IE (and probably Opera) these are added very late on in the process. Development notes contains what I believe is the order the various functions run in. If you use an onLoad routine then the toolbar has been drawn before the onLoad event runs whereas if you setup the toolbar directly in monobook.js then these extra 11 buttons are added to mwCustomEditButtons after the monobook.js code has run. Hopefully your code will fix this. --MarkS (talk) 22:16, 7 December 2006 (UTC)
-
-
-
-
-
-
-
-
- This is odd. I've updated the XEB code as you suggested. I actually copied the piece of code that does the onload hooks from the German version. In Firefox its working fine. However, in IE7 its not drawing any of the XEB buttons all. It does seem as if the execution order of the various steps matches my notes in Development notes. After this test I added the German version of XEB to my German account (SMark). That version works fine and adds the buttons in, so its not my browser. I'm left with two possible explanations: (1) somewhere in the code (on the English version) I've made a mistake or (2) The German and English versions of Wikipedia execute in a slightly different order. Is it possible for you to have a look over the code for me and test the English version to see if the result is different to the German version. --MarkS (talk) 19:49, 8 December 2006 (UTC)
-
-
-
-
In general I think IE tends to have problems with XEB. Until I got to college and started using the computers here, I never met a version of IE6 that could execute XEB at all. Karl Dickman talk 23:12, 8 December 2006 (UTC)
Yes that IE (is not working for me too) bug is new in wikibits.js, I'll report this. —Olliminatore 01:25, 9 December 2006 (UTC)- I think and hope I solved the putative IE problem :/ (works now really for me) [8] (look at addOnloadHook(initButtons)) p.s. sometimes the IE is a mystery —Olliminatore 04:48, 9 December 2006 (UTC)
- I have copied over your code from the German version and it looks to be working for me too. There is one issue to sort and that is the eraseButtons function can't handle the extra 11 buttons inserted by the English Wikipedia (they are added to mwCustomEditButtons rather than mwEditButtons). I did have something that solved this once before so I will try putting that back . Hopefully I'll get a chance tomorrow to look at this and tidy up the code in general. Then hopefully it will be ready to go. I'll post another update as soon as I have looked at it again. In the meantime thanks for all your help. --MarkS (talk) 21:40, 9 December 2006 (UTC)
- The code looks fine now and I have tested it. I have updated the eraseButtons function to handle the extra 11 buttons in English Wikipedia. I have also added sorting to the rmEditButtons variable in case the user defines the buttons in the wrong order. My intention is to do another quick test tomorrow and then relase it at some point tomorrow. I'll will also look to update the documentation at that time. If you have any comments or notice any problems let me know and I will delay the release. --MarkS (talk) 20:05, 11 December 2006 (UTC)
- I have copied over your code from the German version and it looks to be working for me too. There is one issue to sort and that is the eraseButtons function can't handle the extra 11 buttons inserted by the English Wikipedia (they are added to mwCustomEditButtons rather than mwEditButtons). I did have something that solved this once before so I will try putting that back . Hopefully I'll get a chance tomorrow to look at this and tidy up the code in general. Then hopefully it will be ready to go. I'll post another update as soon as I have looked at it again. In the meantime thanks for all your help. --MarkS (talk) 21:40, 9 December 2006 (UTC)
[edit] Spelling corrections on user pages
Please don't run AWB spelling correction on user pages - I'll keep my own spelling errors, thank you. ;-) JesseW, the juggling janitor 20:20, 1 December 2006 (UTC)
- Sorry. Entirely my fault. I should have told it to remove non-mainspace pages from the list of pages to update and I forgot. Sorry. --MarkS (talk) 07:57, 2 December 2006 (UTC)
[edit] Signpost updated for December 4th.
Weekly Delivery |
---|
|
||
Volume 2, Issue 49 | 4 December 2006 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 05:43, 5 December 2006 (UTC)
[edit] Bug with extraedit buttons
For some time now (two weeks?) I have a bug with my buttons. After I customized the order and type (and for some time it worked perfectly), suddenly I got a series of 'extra buttons' I don't want between the official buttons and the buttons I customized - as if I had the following buttons before the ones I want (which display correctly at the end of the taskbar): S, B, I1, I2, J2, H (the not implemented 'instert hidden comment' fro talk dev version!), 'Insert picture gallery' (used only at User_talk:Jwalling/monobook.js!), M, E. Also, Olliminatore script I was using to remove official buttons I don't want seems to have stopped functioning (see my my monobook (all button scripts are at the bottom). I am sure I have not changed my monobook recently - everything worked for some time, and about 2-3 weeks ago stopped. Removing Olli's script or reisntalling yours don't seem to have any impact on my problem. Perhaps you can figure out what I should do? PS. Custom buttons I want: R1,R2,R3,R4,AI,T,Z,K,A,C,E,G,S,H,FS. Official button to remove: 0,1,2,3,4,5,6,7,10. PS2. Any chance of getting a button to instert | symbol? Icon should be easy to make (just the symbol).-- Piotr Konieczny aka Prokonsul Piotrus | talk 21:39, 2 December 2006 (UTC)
- Picking up the points in no praticular order:
- There is a 'picture gallary' button on the XEB buttons (its button G)
- A few weeks ago (not certain of the time but I'll assume it was two weeks judging by your comment) the English version of the Wikimedia software was updated to include 11 extra standard buttons. These were added in an odd way (at least to my way of looking at it). The new buttons are not in the standard
mwEditButtons
variable, instead they were added tomwCustomEditButtons
so there are standard buttons in the custom buttons code. Olliminatore's script to remove buttons can't remove these extra standard buttons. The dev version of XEB does have a new function to remove these extra standard buttons as well as the standard-standard buttons. - I've looked quickly the function in your monobook.hs to remove the standard buttons. To me it looks ok. I could try debugging it but my Javascript isn't that great so it might take a while to solve. I think the best way forward on this is to wait until the dev version of the code is prompted to live. At this point the live version of XEB will include a function to remove the standard buttons and your function would become redundant.
- I have done an icon for the | button and uploaded it to commons. It just needs to be include in the script. I got distractedmby other things particularly the remove buttons functions which is why I haven't got round to putting it on the XEB script. I'll get it on as soon as the other changes are tested (so hopefully within a week at most).
- Olliminatore and Rick.Dickman have been reviewing and testing the revised code. Once I've had a final look and tested it then we should get an upgrade out shortly (although work commitments mean this might be Wednesday). If I've missed anything or misunderstood the problem then please let me know. --MarkS (talk) 07:53, 3 December 2006 (UTC)
-
- Thanks for the replies, I'll be waiting for the new version then. Another button request :) Custom (per user) templates they specify (images could be simple T1, T2, T3, etc.). Reason: I often welcome users with {{User:Piotrus/w}} and {{Portal:Poland/Welcome}} - I'd love to be able to 'click' and do them isntead of writing them :) And I am sure many other users have other templates they often use. I think it would not be difficult to have a button that would insert a template either from user own js page or perhaps from a subpage you'd host that people could add the text to insert and then link somehow too...-- Piotr Konieczny aka Prokonsul Piotrus | talk 04:37, 4 December 2006 (UTC)
-
The da Vinci Barnstar | ||
For bringing us the wonderful extra edit buttons and keeping working on it I award this to you for the second time. Piotr Konieczny aka Prokonsul Piotrus | talk 04:38, 4 December 2006 (UTC) |
-
-
-
- Thank you very much for the Barnstar. The option of having extra buttons was raised by Olliminatore previously and he generously supplied some code to show me how to do it. I have added that code to the dev version. To use the extra buttons you need to define
myButtons
in your monobook.js and populate it the same wayBDict
is populated in the XEB script itself. Then just add the extra button code to your XEBOrder variable and you can add any button you want. This would allow the individual user to add a button to insert anything they wanted. I'll add some documentation to XEB homepage when this goes live. --MarkS (talk) 20:59, 5 December 2006 (UTC)- Grrrreat :) -- Piotr Konieczny aka Prokonsul Piotrus | talk 21:41, 6 December 2006 (UTC)
- I know I said I hoped to get this out on Wednesday but I'm having a problem with the code that removes standard buttons from the toolbar. I'm still trying to find a way to make it work so I haven't been able to release the changes you wanted. Higher up mytalk page under this thread is a bit more info and you might want to keep an eye on. I'll keep you updated. --MarkS (talk) 17:22, 7 December 2006 (UTC)
- Grrrreat :) -- Piotr Konieczny aka Prokonsul Piotrus | talk 21:41, 6 December 2006 (UTC)
- Thank you very much for the Barnstar. The option of having extra buttons was raised by Olliminatore previously and he generously supplied some code to show me how to do it. I have added that code to the dev version. To use the extra buttons you need to define
-
-
[edit] Thank you and a question...
Hi MarkS,
I just recently installed my own MediaWiki and I've been in the process of setting it up. I would very much like the extra functionality of the extra buttons and after hours of looking around and banging my head, I was extremely relieved to find your page.
I wanted to ask two questions if I may, though. How would I change this so that it would be Wiki wide (in the case of my own private Wiki) rather than through my User-page? Do you know what I would need to do in order to have the extra edit buttons available for all edit pages on a personal wiki and how one would go about doing this?
I also thought I would ask, as you might know: standard MediaWiki doesn't have the 'special character box' available for the edit page. Unfortunately a lot of the work I do is in linguistics and so having the special characters is essential to me. All of the information I have found at either Meta or through MediaWiki-L has been conflicting or old and not useful. Would you have any suggestions as to how to go about adding this?
Thanks again, your response is much appreciate!
Best wishes,
Chris
email address removed to reduce risk of spam —The preceding unsigned comment was added by 84.190.234.137 (talk • contribs) 09:33, 11 December 2006.
- Not sure how much help I can be as the inner workings of MediaWiki software are something I'm not familar with. In addition I don't know anything about installing your own version of the software. However, after this pessimistic note, this is what I do know:
- You might want to start looking at MediaWiki:Common.js. This contains Javascript functions that run for all users whatever the theme. This was changed a few months back to include some of the extra edit buttons. You should be able to reproduce the code in there to add extra buttons to the toolbar. The full extra edit buttons is more flexible (as a user you can change the order, add extra buttons anywhere in the toolbar and remove some of the standard buttons). However, you probably don't need this extra flexibility. I'd just look at copy the code from MediaWiki:Common.js to your version and then amending as necessary.
- I don't know on the special character box at the bottom of the page. Sorry. I can't see anything in MediaWiki:Common.js that creates it. However, when I look at the Spanish and German Wikipedias I can see they have a different Special characters box so I assume that the code to control the box is local to each Wikipedia. The people who edit MediaWiki:Common.js seem to know a lot about how all the MediaWiki code works so you might want to ask one of them. I've had a fair amount of help from User:Karl_Dickman and User:Olliminatore so they might be able to help. The only other user I am aware of who might have knowledge of in this area is User:Voice_of_All, altough I'm sure there must be other users out there who can help.
- If you find a really good source of info the please let me know for my future reference. Sorry I can't be of more help. (As you 've supplied an email address I will send you a copy of this reply)
[edit] Signpost updated for December 11th.
Weekly Delivery |
---|
|
||
Volume 2, Issue 50 | 11 December 2006 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 05:09, 12 December 2006 (UTC)
[edit] Grendel
This may well be true; I have been watching recent edits using the vandal fighter, and perhaps misjudged this one. - Mike Rosoft 09:15, 12 December 2006 (UTC)
[edit] Wikilogos
I thought you might be interested in my proposal for Wikipedia to use logo variations created by members of the wiki community to mark national and international awareness days, Remembrance Days, notable anniversaries, and observance days. Please comment on Wikipedia:Village_pump_(proposals)#Logo Variations and on my talk page. Thanks! FrummerThanThou 11:26, 14 December 2006 (UTC)
[edit] XEB
Hey Mark. XEB isn't working for me, and I'm almost certain that I've implemented it correctly. The script I use to import XEB is:
function importScript(s) { document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:' + s + '.js&action=raw&ctype=text/javascript&dontcountme=s"></script>'); XEBOrder="A0,B0,U,S,I1,I2,J1,J2,C0,P1,D0,E0,A,F0,AI,G,G0,H0,I0,J0,FS,K0,V,H,O,P,T,Z,TL,Y1,Y2,K,B,D,C,D1,F,Q,W,X,L,R1,R2,R3,R4,N"; importScript('MarkS/extraeditbuttons');
I know that importScript()
works, because it's working for other scripts. My JS console isn't registering any errors. I cannot find any errors on my end. Any thoughts? My only one is that you have several if()
statements in the initButtons()
function that don't have opening and closing braces. Karl Dickman talk 02:36, 17 December 2006 (UTC)
- Karl, I've had a quick look. I haven't solved it (but have run out of time for the moment) so I thought I would update you on what I think might be the problems:
- The importScript function above looks to be missing a bracket at the end of the function. This might just be a problem with the code you've copied to my talk page rather than what's in your monobook.
- When I got importScript working by adding the bracket it still didn't seem to import the function. Not solved this but its probably me because I was trying to get it to import the dev version rather than the live version.
- I think the main issue is the buttons. 'A0','B0','C0'... are not standard XEB buttons. Olliminatore suggested a change (which he uses on the German version) that copies the standard buttons from what MediaWiki has setup rather than requiring XEB to define them. The piece of code that does the copy gives the buttons the codes 0,1,2,3.... I'd probably start by removing these buttons from your XEBOrder variable and seeing if it works. I haven't got round to updating the documentation for this yet. The other problem is that XEBOrder just fails if you request a button that doesn't exist rather than skipping the button. This makes it harder to find the problem. I've added something to the dev version to fix this but it might be a while until I move the dev code over to live again.
- The If without brackets came from code supplied by Olliminatore. I didn't trust this originally, but I think they are OK if its just a single command after the if function. I think you only need braces if you want to have a series of commands. This bit seemed to work fine in testing.
- If you get a chance have a look at this and let me know how you get on. Otherwise I'll have another look later today when I get chance.--MarkS (talk) 20:45, 17 December 2006 (UTC)
- Karl, I've had another look. I can't get your importScript function to work for me. But I'm sure that's not the problem you have. Your problem is because you have requested buttons that XEB believes doesn't exist. As I mentioned above these are the buttons 'A0','B0' etc. Instead you need to use button codes 0,1,2,3 (and I need to update the documentation!). I have put a fix on the dev version of the code so that XEB will just skip a button if it doesn't exist rather than fall over. However, it might be a while before the dev version goes live because it includes a load of extra code from the German version to display a popup when the table button is clicked. I like the idea but don't like the popup (doesn't work well on my setup in Firefox) so I want to convert it to a floating layer. All of which will take some time. In the mean time just remove the problem buttons and it should work. --MarkS (talk) 20:45, 17 December 2006 (UTC)
[edit] Signpost updated for December 18th.
Weekly Delivery |
---|
|
||
Volume 2, Issue 51 | 18 December 2006 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 06:14, 19 December 2006 (UTC)
[edit] XMAS gift
Lots of good intentions flying around, but not much in the way of useful stuff. Here is a nice template I found to organize your ever-growing collections of awards :) -- Piotr Konieczny aka Prokonsul Piotrus | talk 14:38, 22 December 2006 (UTC)
Finally I got around to playing with the new version (Great). One word of advice: as good as 'rmEditButtons=['all']' idea is, until all the standard buttons are duplicated in your tool, it is not that useful (I don't think anybody would like to get rid of signature button, for example).-- Piotr Konieczny aka Prokonsul Piotrus | talk 15:22, 24 December 2006 (UTC)
- Haven't fully done the documentation yet. rmEditButtons does remove the 21 standard buttons. 11 of these buttons are already in XEB. These 11 buttons are actually only in English Wikipedia and are set up in mwCustomEditButtons. The other 10 buttons (which include the signature) are in all versions of Wikipedia. These are setup in mwEditButtons. These 10 standard buttons are added to the XEB buttons when the script runs and can be access using the codes 0,1,2.... If you remove all the standard buttons using rmEditButtons=['all'] you can then add them back in using XEBOrder. As I say this is because I haven't updated the documentation yet.-- MarkS (talk) 18:34, 24 December 2006 (UTC)
I'll be doing a button gallery. Note: eeb buttons R and R1 are using the same image.-- Piotr Konieczny aka Prokonsul Piotrus | talk 16:08, 24 December 2006 (UTC)
- R and R1 do use the same image. This is partly because it is unlikely somebody will be using both R and R1 at the same time: 'R' give a full reference entry (and is aimed at those with less experience) whilst R1 goes with R2 and R3 and is aimed at those who want to build references from scratch. However, the big reason they use the same button is that whilst doing the last XEB update I didn't think it was low of the list of things to do and then I forgot. -- MarkS (talk) 18:34, 24 December 2006 (UTC)
- I'm also thinking of changing the way the references buttons work. I've just managed to get the dev version to display a floating layer when the user clicks the table button. The layer allows the user to set the number of columns/rows/header rows etc. The user then clicks the insert button and the customized version of the table is inserted. I was thinking of doing the same sort of thing for references: display a popup layer, let the user set the info and then the complete reference is inserted. -- MarkS (talk) 18:34, 24 December 2006 (UTC)
Salad'o'meter™ | |||||
---|---|---|---|---|---|
put barnstars here (no thumb or direction) | |||||
n00b | involved | been around | veteran | seen it all | older than the Cabal itself |
[edit] Signpost updated for December 26th.
Weekly Delivery |
---|
|
||
Volume 2, Issue 52 | 26 December 2006 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 07:18, 27 December 2006 (UTC)
[edit] Signpost updated for January 2nd, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 1 | 2 January 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 07:29, 3 January 2007 (UTC)
[edit] Signpost updated for January 8th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 2 | 8 January 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 06:53, 9 January 2007 (UTC)
[edit] VandalSniper
You've been approved to use VandalSniper. Please let me know if you have any problems getting it working. --Chris (talk) 19:26, 12 January 2007 (UTC)
Hi Marks, I like you extra buttons on editor bar. I want to know if I can use it on my own wiki system which is running on my personal computer? Of it can, how could I do to install? Thanks a lot! --Bashee--
[edit] Signpost updated for January 15th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 3 | 15 January 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 05:56, 16 January 2007 (UTC)
[edit] Signpost updated for January 22nd, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 4 | 22 January 2007 | About the Signpost |
|
Wikipedia modifies handling of "nofollow" tag | WikiWorld comic: "Truthiness" |
News and notes: Talk page template, milestones | Wikipedia in the News |
Features and admins | The Report on Lengthy Litigation |
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 06:35, 23 January 2007 (UTC)
[edit] Question about VandalProof
I tried your suggestion about how to modify the custom messages file for VandalProof, but when I do that the button does not even give me the template at all, just my signature on the user's talk page. Could you help me with editing this file to where the buttons will work properly? --Willy No1lakersfan (Talk - Contribs) 21:09, 23 January 2007 (UTC)
- I've looked at the CustomButtons.txt in a bit more detail. For each button the first line identifies the button (<button name>). The second line is the text in VandalProof on the button. The third line is the text to insert into the talk page. The fourth line is the message to place in the edit summary. In your case I would suggest you replace the entire of the second line with something that points to an alternative welcome template. This alternative template can then include the heading/wording laid out exactly as you would like. To give you an example I have changed the rollback buttons so they insert a heading and then the standard warning text. To do this I have amended the entry under CustomButtons.txt to read:
<ROLLBACK 1> RB-1-Experiment {{test1-n}} {{Subst:User:MarkS/Warnings/Test1-n|%P}}
- This forces the program to insert a template from my userpages into the talk when I click the Rollback button 1. In my case the template receives a parameter of the page name which it uses to create the header line. My template then includes the standard Test1-n code. In your case you probably want something like:
<TALK 0> My welcome {{Subst:User:No1lakersfan/Welcome}}
- Then all you have to do is create your Welcome message under under User:No1lakersfan/Welcome. Let me know how you get on. --MarkS (talk) 17:12, 24 January 2007 (UTC)
- I edited what was alrady in the CustomButtons file in order to achieve the result I wanted. All I needed was an extra space between the heading and the template. Thanks for your suggestion, and if I have problems again I will consider putting it to use. --Willy No1lakersfan (Talk - Contribs) 21:20, 24 January 2007 (UTC)
[edit] Unsigned button correction
From {{subst:unsigned|user name or IP|date}} to {{subst:unsigned|user name or IP|~~~~~}} which creates the desired effect (I'd guess the 'date' is a forgotten placeholder?).-- Piotr Konieczny aka Prokonsul Piotrus | talk 19:34, 14 January 2007 (UTC)
- Sorry for not coming back quicker on this (I have been busy elsewhere). This button probably came from the German version of XEB. I think 'date' is deliberate. Looking at Template:Unsigned this suggests that the second parameter of the template should be the date the unsigned post was added, by having 'date' it reminds the user that they need to put the date in manually. Using ~~~~ would insert the date the unsigned template gets added rather than the date of the original post (it would also insert the signature of the person adding the unsigned template). I'm inclined to not change the button, but come back to me if you think my interpretation of the template is wrong. --MarkS (talk) 21:32, 28 January 2007 (UTC)
- Good point. The problem I had is that the automated archival bot needs date to archive such comments, and the reminder just means one has to manualy archive them. I guess there is no simple elegant solution for that, though.-- Piotr Konieczny aka Prokonsul Piotrus | talk 21:37, 28 January 2007 (UTC)
[edit] Locator Map
Hello! I just came across your work in the Map Locator used (today) in many infoboxes... I invented something of the sort early last year for Template:Paris_streetbox, but yours is much better. My version is in use in "Paris" and a few other French-city articles. I have had a few problems with IE explorer - was all this your work? Anyhow, the whole together was a quite amazing project - bravo!
I think I may just incorporate your version into France infoboxes in place of mine, although I do like my pointer better : )
Take care, best,
THEPROMENADER 20:27, 28 January 2007 (UTC)
- Wrong person then! I did see your name at the end of the first message on the concerned template's talk page... I should have looked further. Sorry for the bother! THEPROMENADER 22:57, 28 January 2007 (UTC)
[edit] Problem with extra edit buttons
Please see my query on User_talk:MarkS/Extra_edit_buttons. --NigelG (or Ndsg) | Talk 18:37, 31 January 2007 (UTC)
- Answer is now on XEB talk page --MarkS (talk) 18:19, 3 February 2007 (UTC)
[edit] Signpost updated for January 29th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 5 | 29 January 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 17:58, 30 January 2007 (UTC)
[edit] AddEditButtons
Hi,
I would like to allow users to add new buttons on my wiki as well. What is the license and are there any precautions? Aretai 15:50, 31 January 2007 (UTC)
- Extra edit buttons are part of wikipedia and licensed under the same terms as the rest of Wikipedia - GFDL. So you can take a copy of the code and develop/use as you wish. However, you can't sell the code. I'm not aware of any particular precautions you need to take if adding something based on XEB to your own wiki. Its just javascript and no more dangerous than anything else. However, I must mention I have no experience in installing them on another wiki, so it is uncharted territory. --MarkS (talk) 19:58, 2 February 2007 (UTC)
Maybe could you just let me know what are the steps to have it installed on my wiki? For example:
- 1) You login as an admin and paste the code from http://en.wikipedia.org/wiki/User:MarkS/extraeditbuttons.js to yourwiki/User:Admin/extraeditbuttons.js
- 2) You change the code to reflect your directory hierarchy:
'C':['5/5f/Button_center.png','Center','<div style="text-align: center;">\n','\n<\/div>','Centred text'
(If I understand it OK it points to a directory on a wikipedia server so it should be probably changed??!!??) Any other changes necessary due to diff wiki?
- 3) Then you make the tutorial for your wiki users similar to http://en.wikipedia.org/wiki/User:MarkS/Extra_edit_buttons
(Does the changed to edit buttons affect admin user as well?)
Regards, Aretai 10:49, 5 February 2007 (UTC)
- I've never tried to put it on another wiki myself but this is what I know:
- You will need to copy the javascript code as you suggest
- You can then paste it either to the location you suggest or any other location you would like. I would suggest that you paste it into yourwiki/User:Admin/extraeditbuttons.js if you only want some users to have access to it. You then need to add the code each user's monobook.js to import the code into monobook.js so it runs whenever you load a page. The XEB documentation tells you how to do this.
- The alternative place to put it is either directly in yourWiki/MediaWiki:Common.js or into something like yourWiki/XEB.js (and then use the code very similar to the way user put XEB into their monobook.js to import it into yourWiki/MediaWiki:Common.js). If you do it this way it is available to all users. yourWiki/MediaWiki:Common.js runs whenever a page is accessed for all users. If you look at the wikipedia version you should see that it adds 11 buttons to the standard 10 wikimedia buttons.
- My understanding is that there is nothing to physically stop you using the images in Commons (ie. the ones XEB uses at the moment) so you don't need to update the code to reflect alternative locations whilst testing. However, my understanding is that using commons images in external web pages (ie. outside wikimedia) is strongly discourage. I would install the code first, see if it works and then move the images.
- You might want to make sure you have a recently up to date version of the wikimedia code. I know they have been adding variables to wikimedia over the month and it might be the case that XEB is using a newish variable
- Copy the tutorial and away you go
- That's the theory anyway. Let me know how you get on.--MarkS (talk) 21:43, 5 February 2007 (UTC)
Thx for answers MarkS. I tried both ways. I've pasted the code to my page (I'm an admin). and then have updated monobook.js (still admin account) however it wasn't working. Then I've just pasted code from the Common.js as you have suggested.
Do you think that version of the software I'm using MW 1.6.7 is significant? Do you think I should change sth in the code?
Regards, Aretai 16:28, 7 February 2007 (UTC)
- I've tried this myself and got it to work. The test was done using Wiki on a stick. Wiki on a stick was downloaded and setup. I haven't made any significant changes to the configuration. The only change to the basic configuration that might be relevant here was allowing the shorter url method (so you can type http://127.0.0.1/wiki/article rather than http://127.0.0.1/wiki/ndex.php?title=...). The steps where:
- Create a user MarkS on my own wiki
- Copy the XEB javascript file from wikipedia into User:MarkS/XEB.js.
- Copy the short piece of code into monobook.js that writes XEB.js into monobook.js. This is the piece of code detailed at the top of the XEB page that all users require to use XEB. You need to make sure that the URL of the code to include points to User:MarkS/XEB.js. You might want to just test the URL directly in your browser to make sure it works pulls up the page javascript itself (and not a complete MW page).
- Set $wgAllowUserJs=true; in localsettings.php. This is the bit that I got stuck on for 20 minutes before realising that monobook.js wasn't running at all.
- Refresh the page and XEB should be running.
- I used the dev version of XEB in my testing (this is because I wanted the dev version installed on WOS for possible testing). However, I suggest you use the live version of XEB-the version of MW you use shouldn't affect the live version. Once it is installed and running you then need to move the button images to your own wiki. Let me know how you get on. If it works for you then I'll write this up on the main XEB page. --MarkS (talk) 10:14, 9 February 2007 (UTC)
Hi,
thx for all help. I tried all this (even have created user MarkS on my wiki;)) but still it's not working:( Probably it's because of my MW 1.6.7 - will try to upgrade to 1.9.*. Tried this WOS (version 1.6.7) btw. what version have you used?
Regards, Aretai 15:24, 9 February 2007 (UTC)
- Just check the version and it is 1.7.1 (I've got my version of a couple of WOS a couple of weeks ago, I know since I downloaded it they have done an update to remove a bug from the WOS exe. One thing to check first is to see if monobook.js is being run at all. I did this version by simply adding
alert("hello world");
into monobook.js. When that didn't work I knew it was a general problem rather than XEB. You could also try the code in common.js and see if it works their. It might help narrow down the problem. --MarkS (talk) 16:23, 9 February 2007 (UTC)
[edit] Signpost updated for February 5th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 6 | 5 February 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 05:16, 6 February 2007 (UTC)
[edit] Signpost updated for February 12th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 7 | 12 February 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 05:19, 13 February 2007 (UTC)
[edit] Signpost updated for February 19th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 8 | 19 February 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
You are receiving this message because you have signed up for the Signpost spamlist. If you wish to stop receiving these messages, simply remove your name from the list. Ralbot 07:22, 20 February 2007 (UTC)