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

Wiki, New page title readonly after changing course language

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.1.2, 3.1.3, 3.1.6, 3.2.3, 3.3, 3.4
    • Fix Version/s: 3.2.4, 3.3.1
    • Component/s: Wiki (2.x)
    • Labels:
    • Testing Instructions:
      Hide

      Prerequisites

      • Have another language pack installed.
      • Use theme clean or have the navigation block available in the wiki page.

      Testing

      1. Create a course and set under "Appearance" - "Force language" to a language that is not the same as the site language (the site language is likely to be English).
      2. Create a wiki.
      3. Create the initial page and put some detail there.
      4. In the navigation block click "new page" (please note that this will be in the forced language).
      5. The first text box is "New page title" (in the forced language) and the content should be "New" (in the force language).
      • Test that the word "New" is actually the forced language and not English.
      • Test that the box is not disabled and the title can be edited.
      Show
      Prerequisites Have another language pack installed. Use theme clean or have the navigation block available in the wiki page. Testing Create a course and set under "Appearance" - "Force language" to a language that is not the same as the site language (the site language is likely to be English). Create a wiki. Create the initial page and put some detail there. In the navigation block click "new page" (please note that this will be in the forced language). The first text box is "New page title" (in the forced language) and the content should be "New" (in the force language). Test that the word "New" is actually the forced language and not English. Test that the box is not disabled and the title can be edited.
    • Workaround:
      Hide

      create new page from wiki using [[NewPageTitle]]

      Show
      create new page from wiki using [ [NewPageTitle] ]
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      master-MDL-56973

      Description

      1. Create a course
      2. Add wiki
      3. Create new page by clicking New in Navigation->Current course->wikiName
      4. You can name the new page in "New page title"
      5. Edit course settings and force different language
      6. Create new page by clicking New in Navigation->Current course->wikiName
      7. "New page title" is read only and defaults to "New" (in default language, not forced one). You cannot create new page with different name(using the New link). Pages can be created using [[name]]

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Jul/17