Changes in Wiki Syntax Parsing from 6.0 EE SP1 to 6.0 EE SP2

In Liferay Portal 6.0 EE SP2, a new Creole parser for the Wiki portlet has been implemented and changed how links are parsed. For example, previously in 6.0 EE SP1, links using single brackets like "[ ]" will redirect the user to a new Wiki page. In 6.0 EE SP2 and newer versions, links using a single bracket will render the content as text.

01.png

02.png

 

This is just one of several changes caused by the new parser.

The new portal property is: wiki.formats.engine[creole]=com.liferay.portlet.wiki.engines.antlrwiki.CreoleWikiEngine

Resolution

  1. To revert to the previous version's parser, set the following in the portal-ext.properties:
    wiki.formats.engine[creole]=com.liferay.portlet.wiki.engines.jspwiki.JSPWikiEngine
    		
  2. Save the file.
  3. Start Liferay Portal.
这篇文章有帮助吗?
0 人中有 0 人觉得有帮助