John Blumel a écrit :
On May 26, 2005, at 9:29 am, Yaroslav Fedevych wrote:
On Thu, May 26, 2005 at 09:22:57AM -0400, John Blumel wrote:
On May 26, 2005, at 8:10 am, Yaroslav Fedevych wrote:
On Thu, May 26, 2005 at 02:03:34PM +0200, Cl?ment Plancq wrote:
I'd like to add a special character box to the Edit page in my wiki as one can find on several wikipedia. Does someone know how to add it?
Look at function editForm() in includes/EditPage.php. However! Examine carefully, if it may be added via a hook, it should be done so...
You can just paste the html and javascript into the MW message that is inserted under the edit page textarea. I can't remember the exact message off the top of my head but I think it's one of the ones with "copyright" in the message name.
It does not work in 1.4.x series, tried that myself :)
It worked for me in 1.4.0
It does not work in 1.4.2. In fact it worked when I added the box (div html element) and a simple message (p html element) but it didn't since I added a link. The "<" and ">" are converted into the html entities < and > Weird.