Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-57140

mod_wiki_new_page should accept userid+groupid as an alternative for subwikiid

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Web Services, Wiki (2.x)
    • Labels:
      None
    • Affected Branches:
      MOODLE_32_STABLE

      Description

      When a wiki is created it doesn't have any subwiki. The mod_wiki_get_subwikis WS returns id -1 for those subwikis that aren't created yet.

      The WebService mod_wiki_new_page requires a subwikiid to work. This means that in external services like the Mobile app a user won't be able to create new pages if the subwiki isn't created yet. So in the end the user is unable to do anything until he views the wiki in Moodle web.

      We should make mod_wiki_new_page accept a combination of userid+groupid as an alternative for the subwikiid, as it's done in other WebServices like mod_wiki_get_subwiki_pages.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pferre22 Pau Ferrer
                Reporter:
                dpalou Dani Palou
                Participants:
                Component watchers:
                Juan Leyva, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: