User talk:Wrelwser43

}}

If you can't think of any particular corners to improve on Wikisource, how about taking a look at Portal:Religious texts, Portal:Wars or Portal:Texts by Country for some ideas? Don't forget to list your contributions on those pages as well so others will find and read them in the future!

Yann (talk) 21:56, 26 June 2009 (UTC)

Script to force UC to Nice Sc
If you come across other pages that have the problem, you can wrap each line in the text If you have CUSTOM REGEX turned on in your Gadgets, and you can use that do a search and replace. I can provide the terms if you need them. billinghurst (talk) 01:14, 6 November 2009 (UTC)


 * Aha. That is how I did it the first time for the rest of the bleeding book. The things we learn!


 * To get the search and replace function on go to My Preferences | Gadgets tab, and look for the Custom Regex check box, click it and save. There will now be on the LHS a grey link below Toolbox.  That toggles the form on.billinghurst (talk) 03:48, 6 November 2009 (UTC)

Custom Regex
(if this gets too scary, not to worry, slap me and tell me to slow down)

the  contains the search term,   = start of the line,   means first character is upper case alphabet,   means a string of the same,  = global,  = multiline (so   = basically all document at a line) at a time. The parantheses are clever as they capture the variable for reuse.
 * To search for a line with all capitals, it is


 * Replace field
 * take $1 (our grabbed text, the capitals)
 * make it lower case
 * make first letter upper case
 * wrap it in sc

The subst: means substitute, and it will act in preview and maintain its code, though when you save it, it will convert it to exactly how you want it permanently. If it stuffs up, not to worry, we can just undo. Been there, done that, bought the t-shirt, and worn it out and replaced it again. -- billinghurst (talk) 03:48, 6 November 2009 (UTC)


 * It worked. billinghurst (talk) 10:35, 6 November 2009 (UTC) <- doing a little dance

Cheating ... Tools and scripts
At Tools and scripts there is a link to Tools and scripts/More editing buttons which allows you to create your own buttons for commonly used tasks. If you have a look at user:billinghurst/monobook.js (I think that you can see it) you will see that I have a number that I find useful for Page: namespace, and have recently added the [Force Sc]. billinghurst (talk) 10:01, 6 November 2009 (UTC)

I just want to make sure I understand correctly about the editing buttons. Do I first create a monobook.js page, and then copy:

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "", "speedTip": "f/sc ", "tagOpen": '', "sampleText": ""}; };

into it? Thanks so much for your help! Wrelwser43 (talk) 20:50, 10 November 2009 (UTC)


 * Yes. Easiest way to access the file is via Special:Preferences Appearance tab. Again do see the link in the title for the examples. -- 20:54, 10 November 2009 (UTC)