Details
-
Type:
Feature Request
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 6.2.0 CE M4
-
Fix Version/s: None
-
Component/s: Collaboration, Collaboration > Wiki
-
Labels:None
-
Environment:All
-
Similar Issues:
Description
Extract MediWiki-related portal properties, e.g. below, from OOB portal.properties and enable them via a hook, e.g media-wiki-hook?
Remove the properties from the OOB portal.properties:
editor.wysiwyg.portal-web.docroot.html.portlet.wiki.edit.mediawiki.jsp=simple
wiki.formats.engine[mediawiki]=com.liferay.portlet.wiki.engines.mediawiki.MediaWikiEngine
wiki.formats.edit.page[mediawiki]=/html/portlet/wiki/edit/wiki.jsp
wiki.formats.help.page[mediawiki]=/html/portlet/wiki/help/mediawiki.jsp
wiki.formats.help.url[mediawiki]=http://www.mediawiki.org/wiki/Help:Formatting
wiki.importers.page[MediaWiki]=/html/portlet/wiki/import/mediawiki.jsp
wiki.importers.class[MediaWiki]=com.liferay.portlet.wiki.importers.mediawiki.MediaWikiImporter
Modify the properties :
wiki.formats=creole,html,
wiki.importers=
{"MediaWiki"=>""}The last property is not compatible to be in a hook since the MediaWikiImporter.class file would be in the hook's classloader not the portal's. As such, the mediawiki.jsp references would fail. Also, the com.liferay.portlet.wiki.translators.MediaWikiToCreoleTranslator depends on the MediaWikiImporter class. In order to fix this, we need to add "hookability" for this, per Jorge Ferrer's comment.
For more information, please see below discussion.
http://www.liferay.com/community/forums/-/message_boards/message/19079526

In preparation for Ideation; we are merging New Feature and Improvement tickets into a singular ticket type called “Feature Request”. Additional information to follow soon.