On 17/12/06, Jax cybercorecentre@gmail.com wrote:
So I made a test post in wikipedia which demonstrate my problem (I hope they don't delete it): http://www.mediawiki.org/wiki/Thisisatest
Someone deleted it.
As you see if you copy text files to the mediawiki then some line will overruns the border and after you got thousands of pages in your wiki it can't be fix by hand. This wiki is not public, I need to maintain it for my company so I can't just ask someone to setup a bot to fix it even if that's a solution.
The problem seems to be that some lines prefixed with spaces are creeping in from the source text. MediaWiki treats this as a cue to enter <pre> mode, which means that formatting and line breaks are up to the user. To correct this, delete the preceding spaces at the start of each line.
To fix this in bulk, you could write a quickie maintenance script which whizzes through all pages in the database (or just those you specify) and performs this edit for you, saving the page if changes were made.
Rob Church