Details

    • Similar Issues:
      Show 5 results 
    • Sprint:
      Iced Tea

      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

        Issue Links

          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.
          Hide
          Austin Chiang added a comment -

          PASSED Manual Testing using the following steps:

          1. Start up a clean bundle on Master
          2. Add Wiki portlet to site page
          3. Edit front page of Wiki (click into the edit link)
          4. Assert that MediaWiki shows up as an option under the Format dropdown and select it
          5. Click "ok" when the alert comes up
          6. Assert entry fields have changed to MediaWiki
          7. Enter text and publish a page
          8. Assert post is published and success message is shown

          Reproduced on:
          Tomcat 7.0.62 + MySQL 5.5.
          Portal master GIT ID: b726d72490b4606b8fc5d83b3c4db87ed13311a4

          Show
          Austin Chiang added a comment - PASSED Manual Testing using the following steps: 1. Start up a clean bundle on Master 2. Add Wiki portlet to site page 3. Edit front page of Wiki (click into the edit link) 4. Assert that MediaWiki shows up as an option under the Format dropdown and select it 5. Click "ok" when the alert comes up 6. Assert entry fields have changed to MediaWiki 7. Enter text and publish a page 8. Assert post is published and success message is shown Reproduced on: Tomcat 7.0.62 + MySQL 5.5. Portal master GIT ID: b726d72490b4606b8fc5d83b3c4db87ed13311a4

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Agile

                    Structure Helper Panel