[Mediawiki-l] Welcome to mediawiki-l (weekly posting)

2009-08-26 Thread River Tarnell
Welcome to mediawiki-l. This mailing list exists for discussion and questions about the MediaWiki software[0]. Important MediaWiki-related announcements (such as new versions) are also posted to this list. Other resources. If you only wish to receive announcements, you should subscrib

Re: [Mediawiki-l] 'contains' search

2009-08-26 Thread Robert Carter
Thanks for your help. I'll look into this example. Rob On 26/08/2009, at 7:47 AM, Matthias Korn wrote: > The LinkSuggest extension does something like this for titles. Maybe > it > helps to look at it: > http://www.mediawiki.org/wiki/Extension:Link_Suggest > > Best, > matsch > > > Am Wed, 26 A

Re: [Mediawiki-l] Extension with some page-dependent data

2009-08-26 Thread Gábor Csárdi
CW, thanks, I know this, it is quite limited and has a lot of security issues. Plus it seems that it is not maintained any more. But actually my extension kind of works already: http://www2.unil.ch/cbg/testwiki/index.php?title=Sandbox Best, Gabor On Wed, Aug 26, 2009 at 6:16 PM, CW Dillon wrote:

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] Extension with some page-dependent data

2009-08-26 Thread CW Dillon
Gabor, You might want to look at this extension. It may already give you want you're looking for. http://www.mediawiki.org/wiki/Extension:R -CW ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/med

Re: [Mediawiki-l] Extension with some page-dependent data

2009-08-26 Thread Gábor Csárdi
Well, forget it, it was quite a stupid question, I need to learn much about PHP. :) Best, Gabor On Wed, Aug 26, 2009 at 2:43 PM, Gábor Csárdi wrote: > Dear All, > > I'm writing a MW extension that runs R (www.r-project.org) code and > displays the results. More precisely, the code is run by anoth

Re: [Mediawiki-l] Replacing Newline

2009-08-26 Thread Christensen, Courtney
What are you trying to accomplish with these replacements? You might be able to get the same effect by making the padding between paragraphs less or something. -Original Message- From: mediawiki-l-boun...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf

Re: [Mediawiki-l] Extension with some page-dependent data

2009-08-26 Thread Gábor Csárdi
Dear All, I'm writing a MW extension that runs R (www.r-project.org) code and displays the results. More precisely, the code is run by another program on another machine, the extension only passes the code to it, receives the results, formats and displays them. I defined a custom tag for this, ev

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