If you want to remove the monobook code, delete on
MonoBook.php lines...
[SNIP]
Personally, I'd avoid this if possible. Those links are there to aid
navigation if the user has CSS disabled or is using a text-to-speech
browser.
Try disabling CSS and you'll see what I mean. MediaWiki puts the pertinent
information (the article body) as close to the top of the page as reasonably
possible, with navigational and search elements further down the page. The
"Jump to" links are there to aid in skipping past the article (sometimes
they can be very long!)
In any case, if you don't care about the non-CSS or text-to-speech use case,
then this doesn't matter. However, if you're going to hack Monobook, I
_strongly recommend_ that you make a duplicate and call it something else -
then hack that one. This should make your next upgrade easier as you don't
have to worry about modified core code.
-- Jim
On 2/28/07, Platonides <Platonides(a)gmail.com> wrote:
Tim Ware wrote:
Since upgrading to 1.9.3, I have this new stuff
on the top of every
page.
First, under the page title (and unfortunately, the home page is back
to "Main Page" after I had fixed that in an earlier version!), there is:
From [wiki name]
Jump to: navigation, search
How do I get rid of that extra stuff? Thanks!
Tim
Put in CSS #siteSub, #jump-to-nav { display: none }
If you want to remove the monobook code, delete on MonoBook.php lines
104 and 108: "<h3 id="siteSub"><?php
$this->msg('tagline') ?></h3>" &
"<?php if($this->data['showjumplinks']) { ?><div
id="jump-to-nav"><?php
$this->msg('jumpto') ?> <a href="#column-one"><?php
$this->msg('jumptonavigation') ?></a>, <a
href="#searchInput"><?php
$this->msg('jumptosearch') ?></a></div><?php } ?>"
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l