[MediaWiki-l] Multiple spaces

Ad Strack van Schijndel ad.strackvanschijndel at gmail.com
Fri Jan 11 16:15:30 UTC 2013

Hi Siebrand,

Matma Rex already put me on the right track (thanks Matma!)
The easy way seems to be the {{spaces}} template. I copied it, and the underlying templates, and it works fine.
And it may be worse than jail time: a customer of mine wants it! :-).


On 11 januari 2013, at 17:05, "Siebrand Mazeland" <s.mazeland at xs4all.nl> wrote:

> On Fri, January 11, 2013 16:35, Ad Strack van Schijndel wrote:
>> Is there an easy way to get 2 spaces between words? All spaces except 1
>> are removed and I can't think of a way to get two spaces.
>> Why? In The Netherlands two spaces should appear in the address between
>> postal code and place in print-outs.
> MediaWiki produces HTML and HTML "eats" white space. You can use
> non-breaking spaces (  or  ) in your MediaWiki page source[1].
> See https://translatewiki.net/wiki/User:Siebrand/test for quick proof of
> concept. To make it easier on yourself, you could decide to put
> "  " in a template and use {{--}} or something instead.
> You can also decide to ignore all rules, and use one space to separate
> postal code and place. I doubt you'll do too much jail time.
> Kop op!
> Siebrand
> [1] http://www.maproom.co.uk/invis1.htm
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

More information about the MediaWiki-l mailing list