On 6/9/05, Rowan Collins rowan.collins@gmail.com wrote:
On 08/06/05, b h bobhumphrey22@yahoo.com wrote:
Thirdly, sometimes I'd prefer to put my own headline at the top without actually moving the page. For instance, is there an easy way of changing the "Main Page" without breaking things? I presume that one might not be too hard. Also, one portion of our wiki has links between talk pages (ie, with Next and Previous links), but instead of going to article, we go to talk/discussion pages because we like how the "+" shows up for editing at the bottom of a page. Thus, all the pages in that portion of the wiki have the ugly Talk: at the beginning.
A better solution to this problem would be:
- create a custom namespace, if appropriate, for these pages
(http://meta.wikimedia.org/wiki/Help:Custom_namespaces); otherwise, just have them in the "main" namespace
- modify the skin so that the "add section" link shows up on every
page, or on the pages in your new namespace - the code to change (for monobook at least) is probably this bit in includes/SkinTemplate.php::buildContentActionUrls():
I wrote some Javascript to do this. See [[Wikipedia:User:Astronouth7303/monobook.js]] for the source. (you can copy it to [[MediaWiki:Monobook.js]]) Note that it will, as is, add the "+" link to every page. Also note that it has only been tested on FireFox, though it uses DOM level 2, so any modern should be able to run it.
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.