[Solar-talk] Wiki links

Antti Holvikari anttih at gmail.com
Wed Apr 25 02:20:42 PDT 2007


Hi All!

I have a few questions regarding Solar_Markdown.

1. How can I add base paths for 'read' and 'add' wiki links (it's the
_attribs property in Solar_Markdown_Wiki_Link)? There's setAttrib()
but how can I call it? How about the interwiki hrefs? Shouldn't there
be config keys for a lot of the wiki stuff, or do they work
differently?

2. What is the intended way of naming wiki links? I see that
Solar_Markdown_Wiki_Link normalizes the names to be capitalized and
replaces spaces to underscores. Now, the problem is that
Solar_Uri(_Action) seems to make all links lowercase, so I can't
create links to wiki pages with  the action helper. Also, mysql
SELECTs are not case sensitive so things seem to work even though they
shouldn't. I want *all* the page names to be named the same way,
probably how Solar_Markdown_Wiki_Link names them. I want them to be
named correctly in the DB too. How could one handle these
inconsistencies? Any tips, good practices?


-- 
Antti Holvikari


More information about the solar-talk mailing list