I suggest you use a <script/> tag to insert the button. JavaScript buttons in the page which don't have any functionality when JS isn't enabled are evil. If the button won't do anything without JS, then it should be created by JS. Actually, you could probably just use a Site JS to insert the button instead of needing to edit the skin.
~Daniel Friesen(Dantman) of: -The Gaiapedia (http://gaia.wikia.com) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) -and Wiki-Tools.com (http://wiki-tools.com)
Christopher Grant wrote:
Go into /skins/MonoBook.php add <a href="javascript: history.back();">BACK</a> just below <?php if($this->data['catlinks']) { $this->html('catlinks'); } ?>
- Chris
On Tue, Apr 15, 2008 at 2:02 AM, Dan Sinclair Dan.Sinclair@boxer.co.uk wrote:
Anthony Zepezauer wrote
"javascript: history.back();"
Where does this code have to go in order for it to work?
Original message:
2008/4/14, Dan Sinclair Dan.Sinclair@boxer.co.uk:
Hi,
I'm trying to make my Wiki as less confusing and complicated as
possible
for the end users. So I'm trying to add a small icon below all the
text
on every page that is simply a "Back" button. How would I be able
to
do
this, linking the image to the page previously?
Cheers
Dan
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l