Many thanks for everyones quick replies! Ive managed to get it working after some help from more than a few people and some directions.
I followed the directions exactly as listed on:
http://www.mediawiki.org/wiki/Extension:CharInsert
First download the "CharInsert.php" and place it into a new folder "CharInsert" in the Extensions sub-directory.
Then I download the file "Wikibits.js", replacing the existing one in the "/Skins/Common" folder.
Finally open and modify the "LocalSettings.php" to include, at the bottom, the line: require_once("$IP/extensions/CharInsert/CharInsert.php");
and then replace the existing file on the server with the newly modified one.
Next the Wiki Sysop must go manually edit the "MediaWiki:Edittools" page on _their own_ Wiki itself and copy the existing source code from http://en.wikipedia.org/wiki/MediaWiki:Edittools
The "MediaWiki:Edittools" page is normally locked and can only be unlocked by the Wiki Sysop. (many thanks Jason!)
---------- Unfortunately I still havent had any luck with the extra edit buttons along the top of the edit row of the edit page. I copied the Common.css from Wikipedias MediaWiki:Common.css page and pasted it into a text document, saving it as a .css. I then replaced it with the Common.css on my server. I noticed however that MediaWiki doesnt install with Common.js. I went ahead and created it by taking the source code from Wikipedias Common.js and then placed it in the same directory as the Common.css but so far I havent seen any changes. Any recommendations?
But, many thanks again! Your help is really appreciated.
Chris
------ In all eternity it is impossible for me to compel a person to accept an opinion, a conviction, a belief. But one thing I can do: I can compel him to take notice.
-- Søren Kierkegaard
Christopher Merwin schrieb:
Unfortunately I still haven’t had any luck with the extra edit buttons along the top of the edit row of the edit page.
1) Via javascript Have a look here: http://en.wikipedia.org/wiki/User_talk:Olliminatore#XEB and here: http://en.wikipedia.org/wiki/User:MarkS/Extra_edit_buttons
2) Edit include/EditPage.php (line 1633-1721, circa)
HTH
Swen
On 11/12/06, Christopher Merwin christopher.merwin@gmail.com wrote:
1. MediaWiki:Common.js is a page. You edit the same page on your wiki. You don't touch the filesystem. 2. The Common.js page doesn't have special significance below a particular version of MediaWiki, and I can't actually remember which it is...it's possibly the 1.7 branch. 3. If you replaced wikibits.js with an arbitrary file from somewhere else (where?) then it's possible you destroyed the helper functions used to add the edit buttons in the first place.
Rob Church
Dear Rob,
Thank you both for your help and your clarification! They are much appreciated. I have removed the Common.js file I had created and also replaced the Common.cs file with a backed up version of the original. I then went into the Wiki itself to the MediaWiki:Common.css and MediaWiki:Common.js (itself blank) and cut and pasted the code from the same entitled Wikipedia pages. Unfortunately there don't seem to be any changes. Do I need to edit anything in the LocalSettings.php? (I haven't thus far).
I would very much appreciate any advice you or anyone else could possibly give.
Thanks again,
Chris Merwin
"A philosopheme is a demonstrative inference: an epichireme is a dialectical inference: a sophism is a contentious inference: an aporeme is an inference that reasons dialectically to a contradiction." -Aristotle, Topics, Book VIII, 11.
-----Original Message----- From: Rob Church [mailto:robchur@gmail.com] Sent: Tuesday, December 12, 2006 05:31 AM To: christopher.merwin@gmail.com; MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] How to add a Character Box
On 11/12/06, Christopher Merwin christopher.merwin@gmail.com wrote:
1. MediaWiki:Common.js is a page. You edit the same page on your wiki. You don't touch the filesystem. 2. The Common.js page doesn't have special significance below a particular version of MediaWiki, and I can't actually remember which it is...it's possibly the 1.7 branch. 3. If you replaced wikibits.js with an arbitrary file from somewhere else (where?) then it's possible you destroyed the helper functions used to add the edit buttons in the first place.
Rob Church
I too successfully installed the CharInsert extention. Unfortunately, I missed the thread about how to retain the top row of edit buttons while adding the CharInsert. I had simply replaced Wikibits.js with the new wikibits.js.
Is the CharInsert extension compatible with the top buttons? Thanks.
Tim
On Dec 11, 2006, at 11:33 AM, Christopher Merwin wrote:
Many thanks for everyone’s quick replies! I’ve managed to get it working after some help from more than a few people and some directions.
I followed the directions exactly as listed on:
http://www.mediawiki.org/wiki/Extension:CharInsert
First download the "CharInsert.php" and place it into a new folder "CharInsert" in the Extensions sub-directory.
Then I download the file "Wikibits.js", replacing the existing one in the "/Skins/Common" folder.
Finally open and modify the "LocalSettings.php" to include, at the bottom, the line: require_once("$IP/extensions/CharInsert/CharInsert.php");
and then replace the existing file on the server with the newly modified one.
Next the Wiki Sysop must go manually edit the "MediaWiki:Edittools" page on _their own_ Wiki itself and copy the existing source code from http://en.wikipedia.org/wiki/MediaWiki:Edittools
The "MediaWiki:Edittools" page is normally locked and can only be unlocked by the Wiki Sysop. (many thanks Jason!)
Unfortunately I still haven’t had any luck with the extra edit buttons along the top of the edit row of the edit page. I copied the “Common.css” from Wikipedia’s MediaWiki:Common.css page and pasted it into a text document, saving it as a .css. I then replaced it with the “Common.css” on my server. I noticed however that MediaWiki doesn’t install with Common.js. I went ahead and created it by taking the source code from Wikipedia’s “Common.js” and then placed it in the same directory as the Common.css but so far I haven’t seen any changes. Any recommendations?
But, many thanks again! Your help is really appreciated.
Chris
In all eternity it is impossible for me to compel a person to accept an opinion, a conviction, a belief. But one thing I can do: I can compel him to take notice.
-- Søren Kierkegaard
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 13/12/06, Tim Ware tim@hyperarts.com wrote:
I too successfully installed the CharInsert extention. Unfortunately, I missed the thread about how to retain the top row of edit buttons while adding the CharInsert. I had simply replaced Wikibits.js with the new wikibits.js.
Don't replace any of the core files at all. Just place CharInsert.php into the extensions directory and require_once() it from within LocalSettings.php.
This is a common misconception and seems to be causing people to overwrite their JavaScript all over the place. I've removed the offending instruction from the documentation, since it's no longer relevant (it *used* to be, before the appropriate release, which was absolute yonks ago).
Rob Church
On Dec 13, 2006, at 10:16 AM, Rob Church wrote:
On 13/12/06, Tim Ware tim@hyperarts.com wrote:
I too successfully installed the CharInsert extention. Unfortunately, I missed the thread about how to retain the top row of edit buttons while adding the CharInsert. I had simply replaced Wikibits.js with the new wikibits.js.
Don't replace any of the core files at all. Just place CharInsert.php into the extensions directory and require_once() it from within LocalSettings.php.
This is a common misconception and seems to be causing people to overwrite their JavaScript all over the place. I've removed the offending instruction from the documentation, since it's no longer relevant (it *used* to be, before the appropriate release, which was absolute yonks ago).
Thanks Rob. I restored the original Wikibits.js and I now have both the editing buttons and the (excellent) list of characters.
mediawiki-l@lists.wikimedia.org