Why + elif url.lower().startswith('url:'): + url=URL(*[part.strip('\'') for part in url[4:].split(',')])
and not + elif url.lower().startswith('url:'): + url=URL(*[part for part in url[4:].split(',')]) Why the quotes? On Jan 3, 9:07 pm, blackthorne <francisco....@gmail.com> wrote: > Because it may not be obvious that the previous message includes a > patch, here is from another > source:http://www.speedyshare.com/files/26051957/download/patch.plugin%20wik... > > thank you > > On Jan 4, 2:51 am, Francisco Gama <blacktho...@ironik.org> wrote: > > > this patch allows you to define custom links using the URL() helper in the > > meta-menu of plugin_wiki, so you should apply it to: > > models/plugin_wiki.py > > > the syntax used is "Title url:URL_args" > > > example: > > home url:'homepage','plugin_wiki','index' > > Articles page:articles > > Links url:'homepage','default','links' > > > notice that after "url:" you shall not leave white spaces. This is a must > > not to touch in the regex currently being used to match that > > > Other idea, would be to bring this power to markmin links... > > > Leave comments, > > Best regards > > > Francisco Gama Tabanez Ribeiro > > > E-mail: blacktho...@ironik.org > > Twitter: blackthorne > >