Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9689

Wiki Application: Remove all hacks in templates and use UI extension points instead

    XMLWordPrintable

Details

    • Unknown

    Description

      Example of hack to remove

      #if ($displayCreateWiki)
          #set ($createWikiDocReference = $services.model.createDocumentReference('xwiki', 'WikiManager', 'CreateWiki'))
          #submenuitem("$xwiki.getURL($createWikiDocReference)" $services.localization.render('core.menu.create.wiki') 'tmCreateWiki', '')
          #set ($hasPreviousMenuSection = true)
        #end
      

      Attachments

        Issue Links

          Activity

            People

              gdelhumeau Guillaume Delhumeau
              gdelhumeau Guillaume Delhumeau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: