XWiki Platform
  1. XWiki Platform
  2. XWIKI-8841

Add getWikiNames() method to api.XWiki that exposes the previously private XWiki.getVirtualWikisDatabaseNames()

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 5.0-milestone-2
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:
      XWIKI-8875Add convenience hasSubWikis() method to api.XWiki
      XWIKI-2055Move utility APIs from the api.XWiki class to a new api.Util class
      XWIKI-808Add protected Api.getXWikiContext() method
      XWIKI-1902Add new privileged API to list all virtual wikis
      XWIKI-6964Expose XWikiContext.getUserReference() to the web API
      XWIKI-3175Clean the javascript global object from method and properties that should not be exposed
      XWIKI-1958XWiki.getVirtualWikisDatabaseNames does not search in main wiki
      XWIKI-1961Use the new XWiki.getVirtualWikisDatabaseNames in Lucene plugin
      XWIKI-2831Add/Modify data via DocumentAccessBridge
      XWIKI-4924Add getId method to MacroDescriptor interface

      Description

      If virtual mode is on by default, interested applications might want to know the number of available wikis and their names for various tasks like queries, showing UI elements, etc, without having to install the wiki manager application.

        Issue Links

          Activity

          Hide
          Thomas Mortagne added a comment -

          "getWikiNames" is probably enough, no need to add "All"

          Show
          Thomas Mortagne added a comment - "getWikiNames" is probably enough, no need to add "All"

            People

            • Assignee:
              Eduard Moraru
              Reporter:
              Eduard Moraru
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: