Jump to content

User talk:MarkS

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by MarkS (talk | contribs) at 19:31, 4 June 2007 (Hello Mark. A question about your "Extra buttons" script.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

If you leave a comment here then I will normally reply to your comment here unless:
  • you specifically ask me to reply somewhere else (in which case I may copy my reply to here as well)
  • you are using sychronised threads in which case I will use sychronised thread for the reply. In this case I don't guarantee that I will remember to update your talk page so you are aware than I have made a change.
  • I think there is a good reason to reply somewhere else !

Therefore if you leave a comment please add this page to your watch list.

Archive  

Archive 1

This talk page is automatically archived by Werdnabot. Any sections older than 32 days are automatically archived to User_talk:MarkS/Archive/Archive 1. Sections without timestamps are not archived.

Signpost updated for April 30th, 2007.

The Wikipedia Signpost
The Wikipedia Signpost
Weekly Delivery



Volume 3, Issue 18 30 April 2007 About the Signpost

Students in Western Civilization course find editing Wikipedia frustrating, rewarding Statistics indicate breadth of Wikipedia's appeal
Featured lists reaches a milestone Backlogs continue to grow
WikiWorld comic: "Calvin and Hobbes" News and notes: Board resolutions, user studies, milestones
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:32, 1 May 2007 (UTC)[reply]

Signpost updated for May 7th, 2007.

The Wikipedia Signpost
The Wikipedia Signpost
Weekly Delivery



Volume 3, Issue 19 7 May 2007 About the Signpost

Four administrator accounts desysopped after hijacking, vandalism Digg revolt over DVD key spills over to Wikipedia
Debate over non-free images heats up Update on Wikimania 2007
Norwegian Wikipedian awarded scholarship WikiWorld comic: "Friday the 13th"
News and notes: Election volunteers, admin contest, milestones 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:24, 8 May 2007 (UTC)[reply]

Signpost updated for May 14th, 2007.

The Wikipedia Signpost
The Wikipedia Signpost
Weekly Delivery



Volume 3, Issue 20 14 May 2007 About the Signpost

Administrator status restored to five accounts after emergency desysopping User committed identities provide protection against account hijacking
Academic journals multiply their analyses of Wikipedia WikiWorld comic: "Ubbi dubbi"
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 08:52, 15 May 2007 (UTC)[reply]

Signpost updated for May 21st, 2007.

The Wikipedia Signpost
The Wikipedia Signpost
Weekly Delivery



Volume 3, Issue 21 21 May 2007 About the Signpost

Corporate editing lands in Dutch media Spoiler warnings may be tweaked
WikiWorld comic: "Disruptive technology" News and notes: LGBT project mention, milestones
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 05:24, 22 May 2007 (UTC)[reply]


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)[reply]

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)[reply]


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)[reply]
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)[reply]

Signpost updated for May 28th, 2007.

The Wikipedia Signpost
The Wikipedia Signpost
Weekly Delivery



Volume 3, Issue 22 28 May 2007 About the Signpost

Controversy over biographies compounded when leading participant blocked Norwegian Wikipedian, journalist dies at 59
WikiWorld comic: "Five-second rule" News and notes: Wikipedian dies, Alexa rank, Jimbo/Colbert, 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 06:37, 29 May 2007 (UTC)[reply]

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)[reply]

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)[reply]