Greetings all
(I'm new to MediaWiki but enjoying opening up the hood a little)
I've modified the latest install of Vector skin but have trouble enabling the EDITOR TOOLBAR (it doesn't display in the browser). How do I enable this? I see in the page source code the output has a script. Perhaps there is an enabling setting in LocalSettings.php or maybe a JS file I am missing or have messed with?
<!-- /jumpto --> <!-- bodytext --> <div id="wikiPreview" class="ontop" style="display: none;"></div><div id='toolbar'> <script> addButton("/w/skins/common/images/button_bold.png","Bold text","'''","'''","Bold text","mw-editbutton-bold"); addButton("/w/skins/common/images/button_italic.png","Italic text","''","''","Italic text","mw-editbutton-italic"); addButton("/w/skins/common/images/button_link.png","Internal link","[[","]]","Link title","mw-editbutton-link"); addButton("/w/skins/common/images/button_extlink.png","External link (remember http:// prefix)","[","]","http://www.example.com link title","mw-editbutton-extlink"); addButton("/w/skins/common/images/button_headline.png","Level 2 headline","\n== "," ==\n","Headline text","mw-editbutton-headline"); addButton("/w/skins/common/images/button_image.png","Embedded file","[[File:","]]","Example.jpg","mw-editbutton-image"); addButton("/w/skins/common/images/button_media.png","File link","[[Media:","]]","Example.ogg","mw-editbutton-media"); addButton("/w/skins/common/images/button_math.png","Mathematical formula (LaTeX)","\x3cmath\x3e","\x3c/math\x3e","Insert formula here","mw-editbutton-math"); addButton("/w/skins/common/images/button_nowiki.png","Ignore wiki formatting","\x3cnowiki\x3e","\x3c/nowiki\x3e","Insert non-formatted text here","mw-editbutton-nowiki"); addButton("/w/skins/common/images/button_sig.png","Your signature with timestamp","--~~~~","","","mw-editbutton-signature"); addButton("/w/skins/common/images/button_hr.png","Horizontal line (use sparingly)","\n----\n","","","mw-editbutton-hr");
</script> </div>
Thanks for any guidance team . . .
Regards Dennis A. Smith - - - - - - - - - - - - - www.dennis.co.nz www.swapsamoa.com http://www.swapsamoa.comwww.samoavillagestays.com http://www.swapsamoa.com- - - - - - - - - - - - -- - - - - - - - - - - - -- - - - - - - - - - - - -- - - - - - - - - - - - - Phone: +685 8444-777 Mobile: +685 777-9999 NZ Mobile: 021-056-3411 The Airport Lounge, Faleolo, Satapuala, Samoa Postal: P O Box 55, Apia, Samoa - - - - - - - - - - - - -- - - - - - - - - - - - -- - - - - - - - - - - - -- - - - - - - - - - - - - *It's all about relationships. Samoa gets it right:* * http://www.dennis.co.nz/samoa/~d/2010-11-28/post/samoa-gets-it-right/id/265/ *
Dennis A Smith wrote:
Greetings all
(I'm new to MediaWiki but enjoying opening up the hood a little)
I've modified the latest install of Vector skin but have trouble enabling the EDITOR TOOLBAR (it doesn't display in the browser). How do I enable this? I see in the page source code the output has a script. Perhaps there is an enabling setting in LocalSettings.php or maybe a JS file I am missing or have messed with?
The later one. Is edit.js included at the top when viewing a page? (should happen automatically) Does your browser show any javascript error? That could block the toolbar from loading.
Fixed - thank you for your touch of genius there Platonides Much appreciated for the tip. Obvious now - I had messed with the common directory name. Regards Dennis A. Smith - - - - - - - - - - - - - www.dennis.co.nz www.swapsamoa.com http://www.swapsamoa.comwww.samoavillagestays.com http://www.swapsamoa.com- - - - - - - - - - - - -- - - - - - - - - - - - -- - - - - - - - - - - - -- - - - - - - - - - - - - Phone: +685 8444-777 Mobile: +685 777-9999 NZ Mobile: 021-056-3411 The Airport Lounge, Faleolo, Satapuala, Samoa Postal: P O Box 55, Apia, Samoa - - - - - - - - - - - - -- - - - - - - - - - - - -- - - - - - - - - - - - -- - - - - - - - - - - - - *It's all about relationships. Samoa gets it right:* * http://www.dennis.co.nz/samoa/~d/2010-11-28/post/samoa-gets-it-right/id/265/ *
On Sat, Dec 11, 2010 at 2:54 AM, Platonides Platonides@gmail.com wrote:
Dennis A Smith wrote:
Greetings all
(I'm new to MediaWiki but enjoying opening up the hood a little)
I've modified the latest install of Vector skin but have trouble enabling the EDITOR TOOLBAR (it doesn't display in the browser). How do I enable this? I see in the page source code the output has a script. Perhaps
there
is an enabling setting in LocalSettings.php or maybe a JS file I am
missing
or have messed with?
The later one. Is edit.js included at the top when viewing a page? (should happen automatically) Does your browser show any javascript error? That could block the toolbar from loading.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org