Details

    • Similar Issues:
      Show 5 results 

      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,

      {"mediawiki"=>""}

      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

        Activity

        Hide
        Randy Zhu added a comment -

        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.

        Show
        Randy Zhu added a comment - 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.
        Hide
        Raymond Auge added a comment -

        Re-purposed for the modularization of the jamwiki engine.

        Show
        Raymond Auge added a comment - Re-purposed for the modularization of the jamwiki engine.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development

                Structure Helper Panel