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

Update q* plugins to use new pluginlib.php features

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.2
    • Questions
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE
    • Hide

      1. Visit a Site administration ► Plugins ► Plugins overview. Verify that all the plugin names and dependencies show up properly.

      2. Visit a Site administration ► Plugins ► Question types ► Manage question types. Verify that all the plugin names and dependencies show up properly.

      3. Visit a Site administration ► Plugins ► Question behaviours ► Manage question behaviours. Verify that all the plugin names and dependencies show up properly.

      4. Go to the question bank and add a question. Verify that the list of qtypes you can add shows up properly, and that the summary text for each one is displayed when you select it.

      5. Actually select one or more qtypes to all, and make sure the heading like "Adding a Short-answer question" shows up correctly. Verify that the help icon by the title goes to the right place.

      6. Similarly, but for editing an existing question.

      7. Go to Questions -> Export. Verify that the list of formats shows up correctly, and that the help icons are right.

      8. Go to Questions ->Import. Verify that the list of formats shows up correctly, and that the help icons are right.

      Show
      1. Visit a Site administration ► Plugins ► Plugins overview. Verify that all the plugin names and dependencies show up properly. 2. Visit a Site administration ► Plugins ► Question types ► Manage question types. Verify that all the plugin names and dependencies show up properly. 3. Visit a Site administration ► Plugins ► Question behaviours ► Manage question behaviours. Verify that all the plugin names and dependencies show up properly. 4. Go to the question bank and add a question. Verify that the list of qtypes you can add shows up properly, and that the summary text for each one is displayed when you select it. 5. Actually select one or more qtypes to all, and make sure the heading like "Adding a Short-answer question" shows up correctly. Verify that the help icon by the title goes to the right place. 6. Similarly, but for editing an existing question. 7. Go to Questions -> Export. Verify that the list of formats shows up correctly, and that the help icons are right. 8. Go to Questions ->Import. Verify that the list of formats shows up correctly, and that the help icons are right.

    Description

      For all the core plugins:

      • qbehaviour plugins should use version.php ->dependancies, instead of get_required_behaviours() method.
      • qformat plugins should have their name in the 'pluginname' string as is standard
      • qtype plugins should use version.php ->dependancies, instead of requires_qtypes() method.
      • qtype plugins should have their name in the 'pluginname' string as is standard

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Rajesh Taneja Rajesh Taneja
              Safat Shahin, Tim Hunt, Amaia Anabitarte, Brett Dalton, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/11