Re: CamelCase on euforum
- Posted by jimcbrown (admin) May 29, 2016
- 1387 views
can we remove the file protocol from creole.opts?
tickets also, like so [[TICKET:541]], TICKET:541 Ticket #541: remove 'file' protocol from creole opts this is marked fixed, but either file got put back into creole,ops or the forum is using an old version. not sure why file: causes a link and wiki: doesn't. probably should only have to say WIKI:link but that is apparently broken or disabled
- file: wiki:
Not sure what happened, that was back when Jeremy was managing things. I just applied the fix manually to the site.
what are protocols?
A comprehensive list is available at http://scm.openeuphoria.org/hg/creole/file/79a9cbf58661/creole.e#l263
links going no-place are all over the archived forum posts and wiki pages unless de-referenced with tilde~.
if you want to reference a wiki page, there are several popular wiki links supported, though probably little used and not well documented. you can say [[OPENEU:Index]] Interwiki link failed for OPENEU:index, OPENEU:index and WIKI:WhatEver
inexplicably, a non existent link for OPENEU is labeled invalid interwiki link, but you can use the other default openeuphroia wiki shorthand WIKI and that has no problem showing a nonexistent page.
OHANA, WIKIPEDIA and C2 also supported
if the wiki word is fixed in the forum, a bit of text the mini help under the forum edit could explain how to use wiki protocol to create actual pages to the wiki that a user could then edit in preview to create the page and the link.
I think there may be a bug in the loading of creole.opts
This is where we load creole.opts http://scm.openeuphoria.org/hg/creole/file/79a9cbf58661/creole.ex#l348
But we don't use creole.ex - we're using euweb.ex and I don't see creole.ex being included!
There's a default hardcoded list at http://scm.openeuphoria.org/hg/euweb/file/f325a2543ff5/source/format.e#l38 but that doesn't include everything. Notably, OPENEU and C2 are missing from that list.
There's another default hardcoded list at http://scm.openeuphoria.org/hg/creole/file/79a9cbf58661/creole.ex#l31 that includes even less.