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():
if ( $istalk ) { # this is the conditional statement you need to tweak somehow $content_actions['addsection'] = array( 'class' => $section == 'new'?'selected':false, 'text' => wfMsg('addsection'), 'href' => $wgTitle->getLocalUrl( 'action=edit§ion=new' ) ); }