Re: [Mediawiki-l] Replacing Newline using Extension:StringFunctions

2009-09-01 Thread Jack D. Pond
gt; From: mediawiki-l-boun...@lists.wikimedia.org > [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of > jon.g.bartl...@gsk.com > Sent: Tuesday, September 01, 2009 6:13 AM > To: MediaWiki announcements and site admin list > Subject: Re: [Mediawiki-l] Replacing Newline us

Re: [Mediawiki-l] Replacing Newline using Extension:StringFunctions

2009-09-01 Thread Jon . G . Bartlett
respond to "MediaWiki announcements and site admin list" To mediawiki-l@lists.wikimedia.org cc Subject Re: [Mediawiki-l] Replacing Newline using Extension:StringFunctions Katharina Wolkwitz wrote: > Hi Jack, > > I'm not sure if I really understand the wherefor and

Re: [Mediawiki-l] Replacing Newline using Extension:StringFunctions

2009-09-01 Thread Platonides
Katharina Wolkwitz wrote: > Hi Jack, > > I'm not sure if I really understand the wherefor and why but the break in > mediawiki is not . > > Perhaps you could make an extra button to insert ? > > Greetings > Katharina You break paragraphs in MediaWiki using *two* line breaks. or force a line

Re: [Mediawiki-l] Replacing Newline using Extension:StringFunctions

2009-08-31 Thread Katharina Wolkwitz
ia.org] 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, >> >>

Re: [Mediawiki-l] Replacing Newline using Extension:StringFunctions

2009-08-31 Thread Waseem Sayegh
Regarding what this would be used for, from my personal experience with running http://www.shawshara.com inexperienced users or non tech-users tend to edit the wiki thinking that a new line will automatically translate into a line break. Some more experienced users with HTML knowledge have modified

Re: [Mediawiki-l] Replacing Newline using Extension:StringFunctions

2009-08-31 Thread Jack D. Pond
un...@lists.wikimedia.org] 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

Re: [Mediawiki-l] Replacing Newline using Extension:StringFunctions

2009-08-31 Thread Jean-Marc van Leerdam
Hi, 2009/8/31 Jack D. Pond : > 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 > > I may be dense, but why do y

Re: [Mediawiki-l] Replacing Newline using Extension:StringFunctions

2009-08-31 Thread Jack D. Pond
mediawiki-l-boun...@lists.wikimedia.org > [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of > Waseem Sayegh > Sent: Tuesday, August 25, 2009 8:15 AM > To: mediawiki-l@lists.wikimedia.org > Subject: [Mediawiki-l] Replacing Newline > > How can you replace a newline with a line br

Re: [Mediawiki-l] Replacing Newline

2009-08-27 Thread Waseem Sayegh
Thanks for your suggestions. I found an extension called Poem, that does exactly what I was looking for. I'll be using it instead of replace. On Wed, Aug 26, 2009 at 8:23 AM, Waseem Sayegh wrote: > I have also tried > {{#replace:{{{1}}}| |}} > > Though this code ends up replacing "spaces" with .

Re: [Mediawiki-l] Replacing Newline

2009-08-26 Thread Daniel Friesen
{{#replace:{{{1}}}| |}} ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] Platonides wrote: > Waseem Sayegh wrote: > >> How can you replace a newline with a line break? I tried >> {{#replace:{{{1}}}|\n|> />}} but it doesn't seem to be picking up the '\n' at all. Is there

Re: [Mediawiki-l] Replacing Newline

2009-08-26 Thread Christensen, Courtney
Of Waseem Sayegh Sent: Wednesday, August 26, 2009 8:24 AM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] Replacing Newline I have also tried {{#replace:{{{1}}}| |}} Though this code ends up replacing "spaces" with . Any other suggestio

Re: [Mediawiki-l] Replacing Newline

2009-08-26 Thread Jean-Marc van Leerdam
Hi, 2009/8/26 Waseem Sayegh : > I have also tried > {{#replace:{{{1}}}| |}} > > Though this code ends up replacing "spaces" with . > Perhaps the reply from platonides got mangled in your email reader, but he advised you to try it with an actual newline in the code (put the second | character on a

Re: [Mediawiki-l] Replacing Newline

2009-08-26 Thread Waseem Sayegh
I have also tried {{#replace:{{{1}}}| |}} Though this code ends up replacing "spaces" with . Any other suggestions? Thanks. ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [Mediawiki-l] Replacing Newline

2009-08-25 Thread Platonides
Waseem Sayegh wrote: > How can you replace a newline with a line break? I tried > {{#replace:{{{1}}}|\n| />}} but it doesn't seem to be picking up the '\n' at all. Is there a way, > or even a workaround? \n are the characters '\' and 'n'. To pass a newline as a parameter, you'd write a newline: {{

[Mediawiki-l] Replacing Newline

2009-08-25 Thread Waseem Sayegh
How can you replace a newline with a line break? I tried {{#replace:{{{1}}}|\n|}} but it doesn't seem to be picking up the '\n' at all. Is there a way, or even a workaround? ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikime