User talk:MarkS
From Wikipedia, the free encyclopedia
If you leave a comment here then I will normally reply to your comment here unless:
Therefore if you leave a comment please add this page to your watch list. |
Archive |
[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 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 —The preceding unsigned comment was 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] 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.—The preceding unsigned comment was 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] 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)
[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)