Hi Swen,
Thanks a lot, I'll test it asap :)
Best regards
Le 17 nov. 06 à 14:44, Swen Wacker a écrit :
Hi
edit the toolbar (Editpage.php) and create another button
... 'image' =>'smiley.gif', 'open' => '[[image:smiley.gif]]' 'close' => '' 'sample' =>'' 'tip' =>'' 'key' =>'' ...
(not tested)
HTH
Swen
2006/11/17, KlinT klint@klintcentral.net:
Hi Martin,
Well, http://en.wikipedia.org/wiki/Template:Emot allow me to use smileys ... in my WiKi ...
This is a workarround, but a little bit "heavy" ... That's why I have post a question here :)
In fact, I'd like to write an extension that parse smileys strings ( like :) or :-) ) and replace these strings with the correct image ...
Using the same method used in Mail Link Extension is a good start point, but, actually, i'm not able to make it works because of a problem in the preg_replace function :)
So, I still continue my experiments, thanks for your help Martin.
If somebody can help me with the regular expression in preg_replace function it would be appreciated :)
Best Regards,
KlinT
Le 17 nov. 06 à 13:36, Martin Peeks a écrit :
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l