User talk:MarkS
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 |
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)
Signpost updated for May 7th, 2007.
Weekly Delivery |
---|
| ||
Volume 3, Issue 19 | 7 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:24, 8 May 2007 (UTC)
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)
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)
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/enwiki/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)
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)
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)