Hm, I don't think it's custom - it came with the standard download, and it's referenced in LocalSettings.php:
## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook': $wgDefaultSkin = 'nostalgia';
Still no toolbar if I change it to 'monobook' or 'standard' or ''.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l- bounces@lists.wikimedia.org] On Behalf Of VanBuren Darren, L. Sent: Monday, April 07, 2008 12:29 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] enable edit toolbar
Anthony Zepezauer wrote:
Hi all, please excuse what is probably a very simple question. I'm
new
to both mediawiki and PHP. (I searched the e-mail archives for an answer but didn't find one.)
I've installed mediawiki but I'm not getting the toolbar with bold, italic, etc. on edit pages (e.g. as shown here:
http://www.mediawiki.org/w/index.php?title=Category:MediaWiki_Introduct
i
on&action=edit).
Firebug shows a JS error 'addButton is not defined'
I see that the JS function addButton lives in
skins/common/wikibits.js,
so I modified the getEditToolbar function in includes/EditPage.php
like
so:
$toolbar = "<div id='toolbar'>\n"; $toolbar.="<script type='$wgJsMimeType'
src='/skins/common/wikibits.js' />"; <==== ADDED THIS LINE $toolbar.="<script type='$wgJsMimeType'>\n/*<![CDATA[*/\n";
This had no effect. Then I tried adding the entire addButton
function
at that same location, but got a parse error.
I suspect I'm going about this all wrong. Any help is greatly appreciated.
Thanks, Anthony Zepezauer
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Using Monobook and the latest Mediawiki should be just fine. Are you using a custom skin?
-- Darren VanBuren Admistrator of Onekopakaspace
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l