Extra newline also means extra line in output.  More importantly, if a user
fills in either in infoblock or a textbox, they have to put the second
newline in - teaching the users to do this is as counterintuitive as
teaching them to put an html break (<br>).

However, escaping the escape (e.g., "\\" instead of "\") can be difficult
too - but usually not an issue for those who would actually put one in - and
the <nowiki> mechanism is already widely used for this.

Jack
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Jean-Marc van Leerdam
> Sent: Monday, August 31, 2009 4:39 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Replacing Newline using 
> Extension:StringFunctions
> 
> Hi,
> 
> 2009/8/31 Jack D. Pond <[email protected]>:
> > Waseem etal,
> >
> > I would like to modify Extension:StringFunctions to allow this.
> >
> > This requested functionalit is useful in making it easier 
> for users to 
> > edit/create information in infoblocks without having to remember to 
> > put in <br>
> >
> 
> I may be dense, but why do you need this in mediawiki? Using 
> two newlines results in a new paragraph when rendering; using 
> a single newline collapses the text into a single paragraph AFAIK.
> 
> The following wiki text:
> --------
> this is line 1
> this is line 2
> 
> this is line 3 (extra newline)
> this is line 4
> 
> 
> this is line 5 (two extra newlines)
> this is line 6
> --------
> 
> renders as
> -------
> <p>this is line 1
> this is line 2
> </p><p>this is line 3 (extra newline)
> this is line 4
> </p><p><br />
> this is line 5 (two extra newlines)
> this is line 6
> </p>
> -------
> 
> --
> Regards,
> 
> Jean-Marc
> --
> .       ___
> .  @@  // \\      "De Chelonian Mobile"
> . (_,\/ \_/ \     TortoiseSVN
> .   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> .   /_/   \_\     http://tortoisesvn.net
> 
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to