cancel
Showing results for 
Search instead for 
Did you mean: 

wiki in share issue

michu
Champ in-the-making
Champ in-the-making
Hi

If I edit 2 "*" in a wikipage all between the two is in Italic later in the view, try: This is an *asterix* example.
If I check after downloading the fiel there is no XML code arround, so I think this is an interpretation of the viewer.

Is there a user manual for the wiki implementation in Alfresco share?

Michael
5 REPLIES 5

richardl
Champ in-the-making
Champ in-the-making
Only recently stumbling on Alfresco (nice product), and curious to the markup language for the wiki was, I found that the wiki markup language is being parsed by a javascript file located at:
[tomcat/alfresco install]/webapps/share/components/wiki/parser.js

So far all they are parsing are:
- Internal links as [[link]] and [[link|link description]]
- italics as *some text*

I've started to edit this file to include more markup language, however knowing that the Alfresco team are/will work on this my question to the Alfresco team would be what markup language will you use for this? Will this mimic wikipedia or will you start doing your own? Reason being I do not want to encourage users to use my markup language (I'm mimicing some wikipedia functionality) when the next release will have it's own (and different) language…

mikeh
Star Contributor
Star Contributor
I admit the wiki is a bit odd in it's current implementation - a mixture of wiki markup (for linking to other Share pages) and HTML for everything else.

It is something we're aware of and are going to fix in the future. We'd be looking to support Mediawiki mark-up as near as possible, but the exact details of this have yet to be decided.

Thanks,
Mike

michu
Champ in-the-making
Champ in-the-making
Hi all

Thanks for feedback,
For me the current wiki is perfect as a more sophisticated readme,
with nested informations and direkt links into the doc lib.

But how I can write a "*"?

Michael

michu
Champ in-the-making
Champ in-the-making
Hi all

I found a way, to get my * * * *
I commented the line in parser.js
    text = this._renderEmphasizedText(text);

Now I can wait for the new wiki 😉

Michael

mikeh
Star Contributor
Star Contributor
I think I'm going to remove that particular function from the parser on HEAD, as it doesn't seem useful.

Thanks,
Mike