Hi,
I am attempting, as an experiment for work, to get Mediawiki up and running using widgEditor (http://www.themaninblue.com/writing/perspective/2005/01/27/) as a WYSIWYG interface. As I work in a very un-geek office trying to get people to learn Wiki mark-up would be much to much to ask (many have difficulty turning the computers on - seriously). However, my co-workers have expressed a real interest in using a Wiki for collaboration. Therefore the WYSIWYG interface.
So far so good, everything works as it should (with a few tweaks here and there). However, I am stuck attempting to get the TOC and section editing working. As widgEditor sends all the code as raw HTML I need to get mediawiki to treat hN's as it would '=' for section headings. Looking high and low I cannot find the right place to make the changes. Any help would be appreciated.
P.S. I have also noticed that while the HTML is stored in the database just fine the text that is displayed have spaces before the closing bracket. I would like to clean this up - however I cannot find where this extra space is coming from. Cheers
Andrew.
Andrew wrote:
So far so good, everything works as it should (with a few tweaks here and there). However, I am stuck attempting to get the TOC and section editing working. As widgEditor sends all the code as raw HTML I need to get mediawiki to treat hN's as it would '=' for section headings. Looking high and low I cannot find the right place to make the changes. Any help would be appreciated.
IIRC this is already done in 1.5.
P.S. I have also noticed that while the HTML is stored in the database just fine the text that is displayed have spaces before the closing bracket. I would like to clean this up - however I cannot find where this extra space is coming from.
That's coming from the crappy HTML output in 1.4. Upgrade to 1.5.
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org