[pmwiki-users] MediaWiki markup clone?
    Ian MacGregor 
    lists at imacgregor.com
       
    Thu Jul 26 04:12:56 CDT 2007
    
    
  
> I am concerned that MediaWiki and Wikipedia are "defining" the standard
> wiki markup.  I know we use similar markup for links.  Is there a way to
> virtually clone the markup used in mediawiki?
>
> If not, I am at least interested in section headings using ==heading==
> instead of !!heading
>
> I tried messing around with PmWiki's markup code for !! and ended up with
> this, but now I'm stuck.
>
>  Markup('^=', 'block',
>   '/^(={1,6})\\s?(.*)(={1,6})/e',
>   "'<:block,1><h'.strlen('$1').PSS('>$2</h').strlen('$1').'>'");
I'm wondering if there's perhaps a way to add mediawiki markup in the same 
manner that creole markup was added (via a script?).
Regards,
Ian MacGregor
>
> bessler
-- 
http://www.imacgregor.com
MacGregor Despite Them!
    
    
More information about the pmwiki-users
mailing list