[Mediawiki-l] CharInsert problem

phoenixphansubs at web.de phoenixphansubs at web.de
Mon Nov 13 14:22:27 UTC 2006


Alright, I figured it out. It's a little bit tricky for non-programmers, so here is a manual:

With MediaWiki 1.8.2 it goes like this:
1. CharInsert has to be downloaded from http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CharInsert/CharInsert.php Make sure not to download THIS CharInsert.php but to download the CharInsert.php FROM there.
2. Put the CharInsert.php in your extension folder or make a new CharInsert folder in your extension folder and put the php in there.
3. Place 
require_once("$IP/extensions/CharInsert/CharInsert.php"); 
or
require_once("$IP/extensions/CharInsert.php"); 
(depending on where you put it) inside LocalSettings.php
4. The corresponding JavaScript code is needed. Normally it's already there, in /common/wikibits.js
5. Copy http://de.wikipedia.org/w/index.php?title=MediaWiki:Edittools&action=edit into your MediaWiki:Edittools page. Now the chars should already be available on edit pages.
6. Copy http://de.wikipedia.org/w/index.php?title=MediaWiki:Onlyifediting.js&action=edit into your MediaWiki:Onlyifediting.js page.
7. Copy http://de.wikipedia.org/w/index.php?title=MediaWiki:Monobook.js&action=edit into your MediaWiki:Monobook.js page, maybe not everything, only the very last part concerning Onlyifediting.js. Make sure to get this line right: 
src="/w/index.php?title=MediaWiki:Onlyifediting.js&action=raw&ctype=text/javascript&dontcountme=s"
Instead of /w/ use the name of your wiki folder.
8. Now it should show up on edit pages with the JavaScript scroll list. If not, try refresh.

See also here: http://meta.wikimedia.org/wiki/CharInsert

Phoenix
______________________________________________________________________________
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!




More information about the MediaWiki-l mailing list