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!—Preceding unsigned comment 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 · deleted 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)
User:Ingoolemo/Threads/06/06/24a
[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)
User:Ingoolemo/Threads/06/07/06a
[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. —Preceding unsigned comment 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! —Preceding unsigned comment 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 —Preceding unsigned comment 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 —Preceding unsigned comment 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)
[edit] Signpost updated for February 26th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 9 | 26 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 08:24, 27 February 2007 (UTC)
[edit] Signpost updated for March 5th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 10 | 5 March 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:27, 6 March 2007 (UTC)
[edit] Adding XEB to another MediaWiki application
HI Mark, I'm a bit new to this, but I have been trying to install the extended toolbar to my MediaWiki application and all I have is the short toolbar. COuld you tell me how I can install this extension. Thank you MartinR —Preceding unsigned comment added by 193.120.95.141 (talk • contribs) 14:32, 6 March 2007
- Reply left on user's talk page -- MarkS (talk) 14:52, 6 March 2007 (UTC)
[edit] apology about "liver" edit
i apologize for the nonsense put up on "liver". i foolishly left my computer unattended and a silly child put that info up there. he will be dealt with. —The preceding unsigned comment was added by 69.205.42.186 (talk) 17:16, 6 March 2007 (UTC).
[edit] Extra edit buttons
How do I get them installed? Your guidelines suggests editing monobook.js - but this file does not exist - do I have to create it? I tried creting this file & it did not work. What else do I have to do? —The preceding unsigned comment was added by 47.230.0.45 (talk) 18:44, 7 March 2007 (UTC).
- It should work if you proceed as follows:
- Create a user ID in your MediaWiki application
- Copy the XEB code itself from User:MarkS/extraeditbuttons.js into the same location on your MediaWiki application, except change the MarkS to the ID you created in step 1.
- Create the monobook.js file for the User ID from step 1 (location: User:UserID/monobook.js - changing UserID as necessary)
- Copy the XEB install code from the XEB home page and place it in monobook.js. You will need to amend the code slightly to reflect the location from step 2 above.
- Refresh/Reload the web page(or even clear the browser cache entirely) and it should work.
- If you get stuck let me know and I'll tell you how you can debug the error. Finally if you are the same user who contacted me yesterday then would it possible for you to create a Wikipedia account - this will make it possible for me to contact you if needed (if you are the same user then your IP address has changed so I can't contact you if I need to). If your not the same user the I apologise. -- MarkS (talk) 19:19, 7 March 2007 (UTC)
[edit] Signpost updated for March 12th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 11 | 12 March 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:32, 13 March 2007 (UTC)
[edit] Ref tag button
Please see my comment. -- NigelG (or Ndsg) | Talk 12:28, 14 March 2007 (UTC)
[edit] Expandable toolbox buttons?
User:Kbh3rd/Vandal warning toolbox - interesting tool. Gave me an idea to have a button that could expand into a series of buttons - templates, usually, that one does not want to see in every edit, but sometimes are useful.-- Piotr Konieczny aka Prokonsul Piotrus | talk 21:02, 6 February 2007 (UTC)
- I have a plan for this sort of thing. The past month or two I have been working on some significant extra functionality in XEB. User:Olliminatore has something on the German XEB which has a popup when you click on the table button. I liked the idea but it used a popup window and I didn't like this. So I took the idea and worked it into something better. My version creates a floating popup (very similar to Lupin's popups) in which you fill in the parameters and then click insert and it adds the table markup. The key feature though is that the code is reusable and other popups can be easily added. So this evening I added a reference popup and I've got ideas for things like an advanced image popup etc. It would be very easy to add an extra button (with perhaps a speech bubble image) and then add a popup with a list of the possible templates. Click the template and it gets inserted at the current place on the page. I'll add something in the next few days. At the moment all this is on the dev version because I haven't fully tested the popup code on a wide range of browsers and browser version (I've only check Opera, Firefox 2.0 and IE7). If you want to have a look at the dev version feel free and let me know what you think. --MarkS (talk) 21:18, 6 February 2007 (UTC)
- Replying styles: That works too. Honestly I can't wait till they implement meta:LiquidThreads, or perhaps synchronized threads (which are kind of workable now). I am not sure how to use the dev version, but once the update is ready for testing I will do so on my computers (latest Mozilla and SeaMonkey builds).-- Piotr Konieczny aka Prokonsul Piotrus | talk 21:32, 6 February 2007 (UTC)
- Karl's threads work well but I always forget to edit the talk page itself so the new messages message appears; LiquidThreads though will be great. If you want to try the dev version then you could copy the code from the bottom of my monobook.js - everything from "//==== XEB Settings ====" down. The variable XEBSettings (at the very top of this code) just needs to be set to "dev","live" or "Karl" to switch between different versions of the script. Once setup it makes testing much easier. --MarkS (talk) 22:33, 6 February 2007 (UTC)
- I have added a popup menu for a list of templates to add to a user's talk page. To use it you need to setup XEBOrder to include the button "Talk". This will add a button with a face and speech bubble. Click on the button and a popup menu will open. Highlight the item you want and click it to insert it. At the moment this isn't in live XEB. However, I have tested the dev version in SeaMonkey. I have taken a copy of this dev version of the code and create a third version of XEB called "Test". This is to allow users to test a version of XEB that isn't going to be changing regularly. I won't update this Test version until Friday at the earliest to allow time for comment. If you want to use the Test version then have a look at my monobook.js to see how to set it up. Any comments on this popup (or any other part of the next popups or XEB itself please let me know). --MarkS (talk) 22:00, 11 February 2007 (UTC)
- Fixed. Mozilla didn't like the use of the word "float" as a class property in the javascript. Seems this is a reserved keyword and it prevented Mozilla from even reading XEB properly. Mozilla seems to be the only browser to object to the use of this as a property name. I have fixed this and promoted the code to live. Let me know if you have any further problems with it. --MarkS (talk) 15:59, 15 March 2007 (UTC)
- I have added a popup menu for a list of templates to add to a user's talk page. To use it you need to setup XEBOrder to include the button "Talk". This will add a button with a face and speech bubble. Click on the button and a popup menu will open. Highlight the item you want and click it to insert it. At the moment this isn't in live XEB. However, I have tested the dev version in SeaMonkey. I have taken a copy of this dev version of the code and create a third version of XEB called "Test". This is to allow users to test a version of XEB that isn't going to be changing regularly. I won't update this Test version until Friday at the earliest to allow time for comment. If you want to use the Test version then have a look at my monobook.js to see how to set it up. Any comments on this popup (or any other part of the next popups or XEB itself please let me know). --MarkS (talk) 22:00, 11 February 2007 (UTC)
- Karl's threads work well but I always forget to edit the talk page itself so the new messages message appears; LiquidThreads though will be great. If you want to try the dev version then you could copy the code from the bottom of my monobook.js - everything from "//==== XEB Settings ====" down. The variable XEBSettings (at the very top of this code) just needs to be set to "dev","live" or "Karl" to switch between different versions of the script. Once setup it makes testing much easier. --MarkS (talk) 22:33, 6 February 2007 (UTC)
- Replying styles: That works too. Honestly I can't wait till they implement meta:LiquidThreads, or perhaps synchronized threads (which are kind of workable now). I am not sure how to use the dev version, but once the update is ready for testing I will do so on my computers (latest Mozilla and SeaMonkey builds).-- Piotr Konieczny aka Prokonsul Piotrus | talk 21:32, 6 February 2007 (UTC)
[edit] Hi
I was wondering if you could remove a few buttons in your script. Several buttons are repeated in the string. eg: , , , , , , , , & finally . Install it to see what I mean. Thank you for your assistance, -- Darkest Hour 22:52, 2 March 2007 (UTC)
- Your right. What happened was that XEB was built to add these extra buttons. Then somebody incorporated the extra buttons in the standard English Wikipedia. The extra buttons weren't removed immediately because much of XEB is shared between the English and German Wikipedia's. If you want to remove individual buttons then you can always use the rmEditButtons option. However, I will also look at tidying up the standard buttons that XEB gives to people so there aren't any duplicates with the standard Wikipedia buttons. I'll try and do this in the next release which should be out within a week. -- MarkS (talk) 23:44, 3 March 2007 (UTC)
- This is fixed in the dev version of XEB. The dev version is ready to be promoted to live. However, I'd rather do that early tomorrow morning (to ensure that I don't make a change for US users and then promptly go to bed leaving them with no support at update time). The dev version removes all the duplicate buttons with one exception. The table button (Button array) will continue to be duplicated for the time being. This is because the XEB table button (the second one on the tool bar) will have a popup dialog box for the user to sepecify exactly what they want. I would like to move this to the standard table button but that would require playing with part of the code I know the least about (the code I just copied from the German version of XEB). I'll fix this when I get a chance. -- MarkS (talk) 20:55, 5 March 2007 (UTC)
Do I need to reinstall the EEB? Apparently since this 'update' the old EEB stopped working: I see the normal wiki buttons (with new ones), despite that EEB was supposed to remove the old ones, and I don't see any of the new ones... I'd understand why I see the new buttons, but I don't see why any old EEB changes were erased (my monobook has not been changed).-- Piotr Konieczny aka Prokonsul Piotrus | talk 15:21, 13 March 2007 (UTC)
- I've copied the relevant part of your monobook into my monobook for testing. It looks fine to me. I seem to remember you said that you were using SeaMonkey. I have tested in that and Firefox and the buttons look correct and seem to be working. The buttons I can see are:
- NoWiki (8), Signature (9), Redirect, Strikeout, Hidden Comment, Ref1,Ref2,Ref3, Footer, Advanced Image,Template, Sb, Category, Left-Align,Centre-align, right-align, unsigned comment, table and pipe.
- Is this what you are expecting or what you have got? Assuming it is still not working for you then it might need you to force a reload of page (or even clear the entire cache). If that doesn't work then can you let me know which browser/OS combination you are using (together with version numbers and I'll have another look for you). Any other info would be useful. --MarkS (talk) 20:04, 13 March 2007 (UTC)
- The computer were I am experiencing this problem is using Mozilla 1.7.13. The OS is XP (with most of the recent patches and such). Refreshing or restarting (browser and comp) doesn't help. I am seeing what I believe are standard buttons for all users (the old 14 and the new 7 (strike out, line break, sup and subscript, small, and four others). I am not sure what is the problem - I have not been doing anything with my mono (nor with any other software, at least nothing comes to mind...), and my best speculation is that some recent mediawiki update broke something... but apparently only for me? Strange.-- Piotr Konieczny aka Prokonsul Piotrus | talk 23:07, 14 March 2007 (UTC)
- You're right ! I've installed Mozilla 1.7.13 and I can see that the toolbar isn't working on Mozilla. This seems odd to me because I thought both Mozilla and Firefox are based on Gecko and I had assumed that what ran on one would run on the other. Apparently I was wrong. I'll have a look and come back to you. --MarkS (talk) 14:35, 15 March 2007 (UTC)
- For whatever reason, it's back to working now. Note it worked on this build before, too - so there was some external factor, proably with MediaWiki update (my guess) that destabilized something for a few days...-- Piotr Konieczny aka Prokonsul Piotrus | talk 18:45, 17 March 2007 (UTC)
- You're right ! I've installed Mozilla 1.7.13 and I can see that the toolbar isn't working on Mozilla. This seems odd to me because I thought both Mozilla and Firefox are based on Gecko and I had assumed that what ran on one would run on the other. Apparently I was wrong. I'll have a look and come back to you. --MarkS (talk) 14:35, 15 March 2007 (UTC)
- The computer were I am experiencing this problem is using Mozilla 1.7.13. The OS is XP (with most of the recent patches and such). Refreshing or restarting (browser and comp) doesn't help. I am seeing what I believe are standard buttons for all users (the old 14 and the new 7 (strike out, line break, sup and subscript, small, and four others). I am not sure what is the problem - I have not been doing anything with my mono (nor with any other software, at least nothing comes to mind...), and my best speculation is that some recent mediawiki update broke something... but apparently only for me? Strange.-- Piotr Konieczny aka Prokonsul Piotrus | talk 23:07, 14 March 2007 (UTC)
[edit] Signpost updated for March 20th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 12 | 20 March 2007 | About the Signpost |
|
WikiWorld comic: "Wilhelm Scream" | News and notes: Bad sin, milestones |
Features and admins | Bugs, Repairs, and Internal Operational News |
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 07:17, 21 March 2007 (UTC)
[edit] Nowiki button is malfunctioning
This button is giving wrong syntanx: -- ~~~~Insert non-formatted text here</nowiki> -- Piotr Konieczny aka Prokonsul Piotrus | talk 02:36, 22 March 2007 (UTC)
- I've promoted the latest version of the dev code to live and this seems to fix the problem (for me at least). Mozilla seems a little more strict (than IE, Firefox or Opera) about the Javascript it will accept and this seems to be the problem. The latest version of the code changes the way buttons are identified when adding popups and removes some code which manipulated the users signature which is used on German XEB but wasn't fully implemented in English XEB. Any problems let me know. --MarkS (talk) 20:54, 23 March 2007 (UTC)
- Well, I have good and bad news for you :D Good: nowiki fixed. Bad: Advanced image is broken, I see a nice box but always get garbage: [[Image:[object HTMLInputElement]|[object HTMLSelectElement]|[object HTMLSelectElement]|[object HTMLInputElement]|[object HTMLInputElement] :( PS. I tested a few other now-tabled elements and they work fine (reference, table).-- Piotr Konieczny aka Prokonsul Piotrus | talk 01:44, 25 March 2007 (UTC)
[edit] Regarding XEB.
Hi MarkS, I am new to wiki,and very much interested in it. Plz can you help me out with installing Extra edit buttons in my wiki site. I am using mediawiki(1.9.0) to built up my site. I went through all the related pages in mediawiki but the concept is not clear.can you please guide me in using XEB(step wise).
I also followed the steps you have mentioned in ur above reply but that doesn't work. Thankyou very much.—Preceding unsigned comment added by Capsule (talk • contribs) 12:56, 27 March 2007
- The only thing I can think of that has changed is that XEB now has a separate style sheet file that goes with it. This file is currently located at: User:MarkS/XEB/live.css and would need to be copied to your Wiki to ensure XEB works (assuming you have the latest code). The stylesheet is read in at the top of the XEB code and you may need to amend this to refer to wherever you put the stylesheet file.
- If this doesn't work then can you provide some more info (eg. error messages) and I'll see what I can do. --MarkS (talk) 15:03, 27 March 2007 (UTC)
Hi Mark. Thanks for the reply.I tried including XEB/live.css but still it doesn't work.It's not giving any error or error message,It's working with no change in the default list of edit buttons in the toolbar. Do i need to make any other changes in XEB code.--Capsule 04:59, 28 March 2007 (UTC)
[edit] Signpost updated for March 26th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 13 | 26 March 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 14:07, 27 March 2007 (UTC)
[edit] Regarding XEB
Hi Mark. Thanks for the reply.I tried including XEB/live.css but still it doesn't work.It's not giving any error or error message,It's working with no change in the default list of edit buttons in the toolbar. Do i need to make any other changes in XEB code.Plz Suggest.
- I can't think of anything else on the install. Things to try (1) There is an MediaWiki configuration option "$wgAllowUserJs" which must be set to true in LocalSettings.php on your mediawiki install. If this isn't set to true than users cannot run any javascript and XEB just won't run (2) When you say there are no errors have you checked the error console (Firefox) or equivalent in your browser? Just want to check you have checked here rather than say looking for a message popping up on screen. (3) I often start to debug this sort of thing by adding "
alert('Test');
" lines into the code. Put this into the top of monobook.js and the XEB script and see if you get a popup message. If you try it in monobook.js and you don't get a popup then its something general with monobook.js/javascript rather than XEB. If it works in monobook.js then try it at the top of XEB; this will identify if XEB is being read in correctly. Try these and then come back to me. --MarkS (talk) 13:43, 28 March 2007 (UTC)
[edit] Signpost updated for April 2nd, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 14 | 2 April 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:05, 4 April 2007 (UTC)
[edit] XEB
Are you aware of any major problems for this script on IE6 and Firefox 1.5? - Mgm|(talk) 11:36, 3 April 2007 (UTC)
- I'm not aware of any major problems on IE6 or Firefox 1.5 (or anything minor errors come to that). When the last big update was released (a month of so ago) I did test it on a range of browser including earlier versions of Firefox and IE. I have made a couple of small bug fixes since then (mainly because SeaMonkey is very strict about Javascript variable names). I'm happy to investigate any problems with XEB on English Wikipedia if you can let me know the details of the problem, any error message you see (if necessary looking in the Error Console on firefox), your browser version and your OS. --MarkS (talk) 16:23, 3 April 2007 (UTC)
- I've just customized my monobook to include the latest version of your script, but the enhanced image button and my own created button won't appear Other links like 'math formula' won't disappear as I set in the array. I suspect I mistyped something. Could you have a look at my monobook and see if you can spot the problem?- Mgm|(talk) 17:54, 3 April 2007 (UTC)
- I'm about to go crazy. If you take a look at the edit history of my monobook you'll see what I tried to make it work. I've purged the page cache with action=purge and also used ctrl or shift F5 for good measure depending on the browser I was using. - Mgm|(talk) 18:22, 3 April 2007 (UTC)
- Removing my potential problematic custom button didn't help either. I'll go back to the bare basics and see if it runs without custom settings. - Mgm|(talk) 18:48, 3 April 2007 (UTC)
- See this version of my monobook.js file. Apparently this version doesn't properly remove the chosen buttons from the list I've coded. When I chose to remove all buttons, the regular ones like bold disappeared, but the standard extra buttons labelled with * on the script explanation page stuck around. -Mgm|(talk) 19:05, 3 April 2007 (UTC)
- I'll have a look for you. Can't be tomorrow though so it will probably be sometime on Thursday. --MarkS (talk) 21:49, 3 April 2007 (UTC)
- That's fine. As long as you take a look at it, I'm happy. Please leave a note on my talk page when you're done. (You may also want to take a look at a version of my monobook from before April 3. It used to have the full code for some old version of the script included. - Mgm|(talk) 07:38, 4 April 2007 (UTC)
- I've had a look at the version of your monobook.js that you referred me to. The problem is the rmEditButtons code. rmEditButtons can only remove the standard English Wikipedia edit buttons (which use a number as the ID), it can't remove the extra edit buttons that XEB supplies (which use letters as their ID). As soon as the script comes across an instruction to remove one of the XEB buttons it crashes and the script doesn't process anything more so you don't get any XEB buttons at all. At the moment the way round this is to use rmEditButtons to remove some (or all) of the standard buttons then use the XEBOrder to define the XEB buttons you want. Can you try this and see if it solves the problem. If you want to see some examples of configuring XEB using rmEditButtons and XEBOrder then there are a number of examples at the bottom of my monobook. In the longer term I'll have a look at (1) Make sure the script doesn't crash when it comes across this sort of thing, (2) the possibility of useful error message in these case and (3) seeing if rmEditButtons can be extended to remove XEB buttons as well. Any problems then please come back to me and I'll have another look for you. --MarkS (talk) 06:53, 6 April 2007 (UTC)
- That's fine. As long as you take a look at it, I'm happy. Please leave a note on my talk page when you're done. (You may also want to take a look at a version of my monobook from before April 3. It used to have the full code for some old version of the script included. - Mgm|(talk) 07:38, 4 April 2007 (UTC)
- It looks like my computer occasionally doesn't want to cooperate when it comes to clearing the cache. I've managed to fix the buttons now (thanks for that! you may want to make a distinction between standard Wikipedia buttons and standard XEB buttons in the rmButtons tag, that's what threw me off), but my own button "_web" isn't showing and I think it has something to do with the fact it has template tags to display. It is supposed to help me repeatedly insert [[Wikipedia:Citation templates without continuously copy pasting. I hope I'm not becoming too annoying but can you take another look at User:MacGyverMagic/extrabuttons.js and tell me why that custom button isn't working? - Mgm|(talk) 11:58, 6 April 2007 (UTC)
-
- Its not annoying. I'm happy to try and solve problems. I'll have another look as soon as I have a couple of hours spare (I dislike having to break when I'm trying to solve a problem) - so it might be tomorrow. I'll leave a note as soon as I've found the problem. --MarkS(talk) 18:59, 6 April 2007 (UTC)
- I've reviewed the setup in the version of your monobook immediately after the version you refer to ( 18:32, 3 April 2007 ). This version has two problems:
- The importscript function isn't working. I fixed this using the longer "document.write" code. However, you can probably just fix this by adding '.js' at the end of the script name.
- The myButton definitions need the button names to be in capital letters. (so "_WEB" rather than "_web"). This will be my fault because at some point I change XEB so that XEBOrder is converted to uppercase. This was because a number of users were having problems with XEBOrder when they entered some button names in lowercase. However, I must have forgotten to update the custom buttons part of the program.
- You can see a working version of your configuration in my monobook. I'll also update the documentation to clear this up. --MarkS(talk) 06:31, 7 April 2007 (UTC)
- Thanks! Will you consider creating some custom buttons like mine to make using citation templates easier. A lot of people don't bother with them know, but I think it might change if there's an easy access button for it. You could even give 'em a popup and have XEB include a full referencing system. - Mgm|(talk) 09:55, 7 April 2007 (UTC)
-
- Have been considering expanding the reference popup. At the moment it only asks for the name and the text of the reference. I wanted to provide an option to choose which type of reference it was (plain text, cite web, cite book....). Once they selected the reference type they want the popup would then display the relevant fields. I've also just added some code to the dev version which picks up the selected text; this means if they selected a web address for example and clicked the reference button it would default to a web citation and display the appropriate fields. This is quite high up on the list to do. I look at adding some buttons to directly add citation references (some people don't like the popups) --MarkS(talk) 12:44, 7 April 2007 (UTC)
[edit] Signpost updated for April 9th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 15 | 9 April 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
Special note to spamlist users: Apologies for the formatting issues in previous issues. This only recently became a problem due to a change in HTML Tidy; however, I am to blame on this issue. Sorry, and all messages from this one forward should be fine (I hope!) -Ral315
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 08:10, 10 April 2007 (UTC)
[edit] Signpost updated for April 16th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 16 | 16 April 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:11, 17 April 2007 (UTC)
[edit] Signpost updated for April 23rd, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 17 | 23 April 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:50, 24 April 2007 (UTC)
[edit] Signpost updated for April 30th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 18 | 30 April 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:32, 1 May 2007 (UTC)
[edit] Signpost updated for May 14th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 20 | 14 May 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 08:52, 15 May 2007 (UTC)
[edit] Signpost updated for May 21st, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 21 | 21 May 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:24, 22 May 2007 (UTC)
[edit] Signpost updated for May 28th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 22 | 28 May 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:37, 29 May 2007 (UTC)
[edit] question about extra edit buttons
Thanks for the great extension! I'm trying to install it on my local mediawiki installation. I'm having a bit of trouble..
I created a user MarkS and copied the css file to User:MarkS/XEB/live.css and the .js file to User:MarkS/extraeditbuttons.js and added this line in MarkS/monobook.js:
- // Script from User:MarkS/extraeditbuttons.js
importScript('User:MarkS/extraeditbuttons.js'); //User:MarkS/extraeditbuttons.js
in the error console of firefox I get the following error:
- Error: invalid label
- Source File: :http://localhost/FLM/mediawiki-1.9.3/index.php?title=User:MarkS/monobook.js&action=raw&ctype=text/javascript&dontcountme=s
- Line: 1, Column: 16
- Source Code:
- {{subst:js|User:MarkS/extraeditbuttons.js}}
pointing to the colon after the word 'User' above
can you please point me to your previous answers regarding local installation
thanks a lot for your time and any help!
--Gargamel573 22:03, 24 May 2007 (UTC)
- Sorry for the delay in reply I've been away. My best guess is that your setup doesn't like the 'importScript' function. I suspect this function is somewhere in English Wikipedia rather than the MediaWiki software. Try using the following lines in monobook.js instead of the line importScript line:
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:MarkS/extraeditbuttons.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
- By the looks of it the top of XEB article has been updated for a new form of including scripts which might not work on other setups. I'll amend the main XEB documentation. Let me know how you get on. --MarkS(talk) 19:20, 28 May 2007 (UTC)
-
- Thanks for the help, it works great!
- one last Q: to what location (path) on the wiki do I copy the images I downloaded from the XEB page?
-
- Thanks a lot for the extension and the help :)
- Gargamel573 11:41, 30 May 2007 (UTC)
-
-
- Its going to be a long boring process to move the images! But my understanding is that it should be done because Wikimedia don't like external sites linking into their images. To get the images out of wikipedia the quickest way is to display the XEB toolbar and right click on each button and select SaveAs to save the images to your local machine. Then user the "Upload file wizard" in your wiki to upload them. I don't think it will offer you a choice where to save the image it just uploads it and gives it an almost random path name. You need to make a note of the path name (and make sure it is the path of the image itself rather than the page with the image and all its information). Once you've move the images you should see that the URL starts with the same path. Place this common route into the variable ISRC (you can see this at the top of the script). Then place the bit that changes for each button into the part of the script that contains the details of each button). Any problems let me know. --MarkS(talk) 19:35, 30 May 2007 (UTC)
-
[edit] Signpost updated for June 4th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 23 | 4 June 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:38, 5 June 2007 (UTC)
[edit] Hello Mark. A question about your "Extra buttons" script.
I installed your extra buttons script in my .js file however for some reason the extra buttons only work for talk pages of users. In articles or in talk pages of articles the extra buttons don't seem to work. Is there any way you can make them work everywhere?Wikidudeman (talk) 01:41, 2 June 2007 (UTC)
- XEB should work fine for both articles and talk pages. I've done a bit of testing and the problem seems to line in your monobook.js file. You call the "addOnloadHook" function at the bottom of your code and pass in a function to run. The bottom of that function has an if statement ('if ( show_cwli == true )'). JavaScript Debugger (a firefox extension that I use for checking for errors) reports 'show_cwli' as an undefined variable. If I remove the if statement (and the conditional block of code that goes with it) then it all works fine. The top of the function passed to addOnloadHook stops further execution for User and User_Talk pages which is why XEB works fine for these pages for you. My guess is that your function runs first, fails to complete and that stops XEB's code frrm running. I hope this helps, if you want to discuss some more let me know. --MarkS(talk) 19:31, 4 June 2007 (UTC)
-
-
- Do you know what I could change in my monobook file exactly to make it work? I'm not great with scripts so could you just copy the original flawed text and provide the new text that would fix the problem? Here's my monobook file [[9]].Wikidudeman (talk) 22:26, 4 June 2007 (UTC)
-
-
-
-
- From my testing removing the following lines near the bottom of your monobook.js should make it work:
-
-
if ( show_cwli == true ) {
addPortletLink("tags", "javascript:doCleanup('can we link it')", "can we link it", "can we link it", "Can we link it", "");
}
[edit] Signpost updated for June 11th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 24 | 11 June 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 02:47, 13 June 2007 (UTC)
[edit] User talk:MarkS/extraeditbuttons.js
Hi, please see this page. Thank you--OsamaK 10:27, 14 June 2007 (UTC)
- Answered on the script talk page --MarkS(talk) 19:54, 14 June 2007 (UTC)
[edit] Signpost updated for June 18th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 25 | 18 June 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 08:53, 19 June 2007 (UTC)
[edit] Signpost updated for June 25th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 26 | 25 June 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:49, 26 June 2007 (UTC)
[edit] Where is common.js ?
Hi Mark,
I am very interested in using your script on our own wiki. You mention at the end of your descriptions that it may be possible to add the script to common.js as a way of automatically enabling the extra buittons for all users. I would like to do this but can't find common.js on our wiki server. Where is it supposed to be?
Cheers, Geoff Glt101 21:17, 18 June 2007 (UTC)
Hi again,
For those, like me, who are utterly bemused by how this all works, here is what I have discovered so far. The Big Secret is that there is no file called common.js It is actually a page stored in the wiki. You take the javascript document.write that Mark shows and paste it into that page by going here: http://your.domain.name/index.php?title=MediaWiki:Common.js As yet, I haven't got these buttons to work on our wiki, so this is not the whole story.
Cheers, Geoff Glt101 18:04, 19 June 2007 (UTC)
Hi one more time,
I got the buttons working (hurrah!) ...but there is a strange problem. I can make the buttons work on our wiki if I use the document.write with the URL pointing to your page here User:MarkS/extraeditbuttons.js. If I try to load the code from a User page on our own wiki it does nothing.
I know that code in http://wiki.originlab.com/index.php?title=MediaWiki:Common.js is working from simple document.write statements -I see output. However, if I put the same statements into the top of the User:<UserName>/extraeditbuttons.js I see nothing.
Can you exaplin why it should work when the URL points to your page here and not when the URL is http://wiki.originlab.com/index.php?title=User:Originla/extraeditbuttons.js ? The code at both sites is identical.
We are using MediaWiki 1.9.3
Cheers, Geoff Glt101 18:43, 19 June 2007 (UTC)
- To be honest I don't know. A problem I've often had is knowing exactly how all the standard MediaWiki scripts interact with Wikipedia scripts and with XEB itself. If I look at http://wiki.originlab.com/index.php?title=User:Originla/extraeditbuttons.js then I can see the code. The top part of the code attempts to load a CSS file (you've updated the URL for your wiki) but when I follow that link I can't find the CSS file. Did you copy this over as well? It might be crashing here when it tries to load the CSS file. Another possibility is that users aren't allowed to run their own Javascript. To fix this you need to have '$wgAllowUserJs=true;' in your localsettings.php file. Without this turned on then MediaWiki won't run anything in the user space (took me ages to find this when I setup my own test wiki). It it still doesn't work then you could try running a debugger with it (I use a Firefox extension called JavaScript debugger and tell it to stop on all errors) to see if something is wrong. If you still can't solve it and your willing to let me setup an ID on your wiki then let me know and I'll have a look. --MarkS(talk) 19:42, 21 June 2007 (UTC)
-
- Hi Mark,
-
- Thanks for the response. Sorry I did not reply until now. I was on vacation. I fixed the URL for the CSS file and made sure it was present, but this still doesn't work. $wgAllowUserJs=true is already set. I'll try the FireFox route. Probably should have that handy anyway. Thanks for the help.
-
- Cheers,
- Geoff
- 207.180.39.130 18:15, 28 June 2007 (UTC)
[edit] Signpost updated for July 2nd, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 27 | 2 July 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:57, 3 July 2007 (UTC)
[edit] Signpost updated for July 9th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 28 | 9 July 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:56, 10 July 2007 (UTC)
[edit] User talk:MarkS/extraeditbuttons.js
Hi, Mark. You probably have it on your watchlist, but just in case you don't, please see this page. Thanks, Anas talk? 15:27, 15 July 2007 (UTC)
[edit] Signpost updated for July 16th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 29 | 16 July 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 19:30, 19 July 2007 (UTC)
[edit] Signpost updated for July 23rd, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 30 | 23 July 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:30, 24 July 2007 (UTC)
[edit] | button export?
I find myself missing the | button on other wikis (pl, commons, etc.) I edit frequently. Is there some simple script I could copy to my monobooks on other wikis to get this extra button? For the record, this, along with image and ref note are the three buttons I use all the time, the others - almost never. Would be fun to do some kind of statistics count on which buttons are used most often...-- Piotr Konieczny aka Prokonsul Piotrus | talk 22:20, 30 July 2007 (UTC)
[edit] Signpost updated for July 30th, 2007.
Apologies for the late delivery this week; my plans to handle this while on vacation went awry. Ral315
Weekly Delivery |
---|
|
||
Volume 3, Issue 31 | 30 July 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 00:13, 4 August 2007 (UTC)
[edit] Award?
Have you considered submitting your very useful script here?-- Piotr Konieczny aka Prokonsul Piotrus | talk 12:59, 4 August 2007 (UTC)
[edit] Signpost updated for August 6th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 32 | 6 August 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 09:04, 7 August 2007 (UTC)
[edit] Signpost updated for August 13th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 33 | 13 August 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 20:42, 14 August 2007 (UTC)
[edit] The Chain Barnstar of Recognition
Image:Bstar 500+.jpg | The Chain Barnstar of Recognition | |
For making a difference! This Barnstar isn't free, this is a chain barnstar, as payment please give this star to at least 3-5 others with 500+ edits but no barnstar. So that everyone who deserves one will get one. Hpfan9374 01:14, 19 August 2007 (UTC) |
[edit] The Chain Barnstar of Merit
Image:Mer2.jpg | The Chain Barnstar of Merit | |
For your hard work! This Barnstar isn't free, this is a chain barnstar, as payment please give this star to at least 4 others with 1500+ edits but no barnstar or has few barnstars. So that everyone who deserves one will get one. Hpfan9374 01:14, 19 August 2007 (UTC) |
[edit] The Chain Barnstar of Diligence
Image:Bstardil1.jpg | The Chain Barnstar of Diligence | |
For shaping Wikipedia! This Barnstar isn't free, this is a chain barnstar, as payment please give this star to at least 3 others with 2500+ edits but no barnstar or has few barnstars. So that everyone who deserves one will get one. Hpfan9374 01:14, 19 August 2007 (UTC) |
[edit] The Wikipedian's Chain Barnstar of Honour
Image:Wbstarhonour.jpg | The Wikipedian's Chain Barnstar of Honour | |
For building Wikipedia! This Barnstar isn't free, this is a chain barnstar, as payment please give this star to at least 2 others with 5000+ edits but no barnstar or has few barnstars. So that everyone who deserves one will get one. Hpfan9374 01:14, 19 August 2007 (UTC) |
[edit] Signpost updated for August 20th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 34 | 20 August 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:27, 22 August 2007 (UTC)
[edit] Signpost updated for August 27th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 35 | 27 August 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:17, 28 August 2007 (UTC)
[edit] Signpost updated for September 3rd, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 36 | 3 September 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. R Delivery Bot 04:03, 7 September 2007 (UTC)
[edit] Signpost updated for September 10th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 37 | 10 September 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. R Delivery Bot 20:35, 11 September 2007 (UTC)
[edit] Extra edit buttons
Please see User talk:MarkS/extraeditbuttons.js#Statusbar tooltip. —Remag Kee 08:31, 13 September 2007 (UTC)
[edit] Signpost updated for September 17th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 38 | 17 September 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 03:18, 18 September 2007 (UTC)
--Johnp125 00:46, 23 September 2007 (UTC)
Love the extra buttons. I'm trying to do the same on my wiki. I got to the point where you go to the monobook.php, but everytime I try to add it in there it seems to be in the wrong location and the wiki stops working. Could you tell me what I am doing wrong?
[edit] Signpost updated for September 24th, 2007.
|
||
Volume 3, Issue 39 | 24 September 2007 | About the Signpost |
|
|
|||||||||||||
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. R Delivery Bot 02:19, 27 September 2007 (UTC)
[edit] Signpost updated for October 03, 2007
|
||
Volume 3, Issue 40 | 1 October 2007 | About the Signpost |
|
|
|||||||||||||
Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST | ||||||||||||
|
[edit] Signpost updated for October 15th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 42 | 15 October 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 09:49, 16 October 2007 (UTC)
[edit] Extra Edit Buttons for all my users
Hi. I have my own installation of Mediawiki (1.9.3) that I am using on my site. However, it does not show all the edit buttons that I see here on this edit page, for instance. I found your page about editing monobook.js, but if I am reading this correctly that only applies to the individual user who has it. I want all my users to have all these buttons automatically, without having to look for them. I also see there is a file called common.js, but when I looked at it I couldn't tell what it did. Is this where I would apply the buttons across the site? It seems this is not part of the normal MediaWiki download.
You help greatly appreciated. Natcolley 14:36, 26 October 2007 (UTC)
I figured it out. For the sake of other newbies like me who want to run a MediaWiki site as if we had all the volunteers and resources of Wikimedia, as well as to save you some future hassles, here is what I did: Copy the code at http://en.wikipedia.org/wiki/User:MarkS/extraeditbuttons.js and paste it into your own installation. If you are like me you will need to create a new page. Go to the search box and put in "MediaWiki:Common.js" (without the quotes). When you hit go, you will be given the option to create a new page in the MediaWiki namespace called common.js. Paste the code you took from extraeditbuttons.js into this file and save. You are done. Refresh as directed and you will see all the extra buttons. Natcolley 20:55, 28 October 2007 (UTC)
[edit] Signpost updated for October 22nd, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 43 | 22 October 2007 | About the Signpost |
|
|
|
Home | Archives | Newsroom | Tip Line | Single-Page View | Shortcut : WP:POST |
|
Sorry for the tardiness in sending the Signpost this week. --Ral315
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 14:28, 29 October 2007 (UTC)
[edit] Signpost updated for October 29th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 44 | 29 October 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:52, 1 November 2007 (UTC)
[edit] User:MarkS/monobook.js
I cannot install ur toolbar into my personal wiki, did not really figured it out... If possible can u give me instructions on installing into a personal wiki? (And if not much complicated, to all users, otherwise ill use the
importScript('User: (MY USER HERE) /extraeditbuttons.js'); //User: (MY USER HERE) /extraeditbuttons.js
please if u can help me, reply to my email: mfpinhal@gmail.com
Thanks for ur help, Mario —Preceding unsigned comment added by 83.212.216.41 (talk) 10:19, 8 November 2007 (UTC)
[edit] Signpost updated for November 5th and 12th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 45 | 5 November 2007 | About the Signpost |
|
|
||
Volume 3, Issue 46 | 12 November 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:59, 13 November 2007 (UTC)
[edit] Signpost updated for November 19th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 47 | 19 November 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 (talk) 10:23, 20 November 2007 (UTC)
[edit] Signpost updated for November 26th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 48 | 26 November 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 (talk) 08:19, 27 November 2007 (UTC)
[edit] Signpost updated for December 3rd, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 49 | 3 December 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 09:35, 4 December 2007 (UTC)
[edit] Signpost updated for December 10th, 2007.
Weekly Delivery |
---|
|
||
Volume 3, Issue 50 | 10 December 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 (talk) 07:41, 12 December 2007 (UTC)