Moodle
  1. Moodle
  2. MDL-6488

Allow first page name to be changed

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.2
    • Fix Version/s: DEV backlog
    • Component/s: Wiki (2.x)
    • Labels:
    • Rank:
      1670

      Description

      The first page of a wiki should be able to be changed.
      If the wiki is not empty (has pages) a combo should be selected.
      We should also theink about how affects this feature to the groups modes.

        Issue Links

          Activity

          Hide
          Molly McManus added a comment -

          the ability to change the name of the first page is grayed out in the settings. it would be nice to be able to change it.

          Show
          Molly McManus added a comment - the ability to change the name of the first page is grayed out in the settings. it would be nice to be able to change it.
          Hide
          Matthew Davidson added a comment -

          For a feature that is all about changing things, this is a HUGE problem.

          Show
          Matthew Davidson added a comment - For a feature that is all about changing things, this is a HUGE problem.
          Hide
          Mike Walters added a comment -

          I just encountered this problem and found a solution (not ideal but works)...

          If you have access to your moodle database via phpmyadmin, find the table titled 'mdl_wiki'.

          Browse that table and edit the entry for the wiki you want to change, then change the entry for 'firstpagetitle' to whatever you want your front page to be called. Save the change.

          Now go into your wiki and the first thing you will be asked to do is create a new page that has the new title you just set. Do this and you will get a blank page.
          Use the map tab to find your old first page and copy and paste the contents into the new first page.

          Finally, go into the administration tab and deleted the old first page as it will now be an orphaned page.

          Not ideal I know, but it does work...

          Cheers,
          Mike

          Show
          Mike Walters added a comment - I just encountered this problem and found a solution (not ideal but works)... If you have access to your moodle database via phpmyadmin, find the table titled 'mdl_wiki'. Browse that table and edit the entry for the wiki you want to change, then change the entry for 'firstpagetitle' to whatever you want your front page to be called. Save the change. Now go into your wiki and the first thing you will be asked to do is create a new page that has the new title you just set. Do this and you will get a blank page. Use the map tab to find your old first page and copy and paste the contents into the new first page. Finally, go into the administration tab and deleted the old first page as it will now be an orphaned page. Not ideal I know, but it does work... Cheers, Mike
          Hide
          AL Rachels added a comment -

          To add to Mike's work around...

          If you have access to your moodle database via phpmyadmin, find the table titled 'mdl_wiki'.

          Browse that table and edit the entry for the wiki you want to change, then change the entry for 'firstpagetitle' to whatever you want your front page to be called. Save the change and make a mental note of the page contents and the previous first page title.

          Find the table 'mdl_wiki_pages'. Browse that table looking for the previous page title in the 'title' field (if you just made the wiki, it will be the last entry)and the page contents in the 'cachedcontent' field. Edit and change the title to be the same as you changed it in 'mdl_wiki.' Save your change.

          That's it...no need to copy contents and no need to delete an orphaned page, just go refresh/reload the browser view of the wiki and it should have the content on the newly named page.

          "Not ideal I know, but it does work..."

          Show
          AL Rachels added a comment - To add to Mike's work around... If you have access to your moodle database via phpmyadmin, find the table titled 'mdl_wiki'. Browse that table and edit the entry for the wiki you want to change, then change the entry for 'firstpagetitle' to whatever you want your front page to be called. Save the change and make a mental note of the page contents and the previous first page title. Find the table 'mdl_wiki_pages'. Browse that table looking for the previous page title in the 'title' field (if you just made the wiki, it will be the last entry)and the page contents in the 'cachedcontent' field. Edit and change the title to be the same as you changed it in 'mdl_wiki.' Save your change. That's it...no need to copy contents and no need to delete an orphaned page, just go refresh/reload the browser view of the wiki and it should have the content on the newly named page. "Not ideal I know, but it does work..."
          Hide
          Tõnis Tartes added a comment -

          Should each wikipage be allowed to rename separately or all created/existing wikipages should be renamed from wiki settings automatically?

          Show
          Tõnis Tartes added a comment - Should each wikipage be allowed to rename separately or all created/existing wikipages should be renamed from wiki settings automatically?
          Hide
          Linda Harrison added a comment -

          It is the main first page that is the problem – it is too easy to call it the default First page name and then it seems to be impossible to edit it later. It is a required field, but perhaps were it empty it might be that more attention would be given to the name used for that important page so that it is easily identified on the Map tab later.

          Show
          Linda Harrison added a comment - It is the main first page that is the problem – it is too easy to call it the default First page name and then it seems to be impossible to edit it later. It is a required field, but perhaps were it empty it might be that more attention would be given to the name used for that important page so that it is easily identified on the Map tab later.
          Hide
          Nathan Bruley added a comment -

          Any wiki page should be able to be renamed as well, not just the initial one.

          Show
          Nathan Bruley added a comment - Any wiki page should be able to be renamed as well, not just the initial one.

            People

            • Votes:
              36 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

              • Created:
                Updated: