Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5886

Print current page name when renaming a page

    XMLWordPrintable

    Details

    • keywords:
      patch
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      From experience, when renaming a page, the name is not far from current one (typo, slight update, word missing, etc.). Therefore, for ease of use, actual page name should be displayed by default instead of a blank input.

      In template renameStep1.vm

      line

              <input type="text" id="newPageName" name="newPageName" value="${escapetool.xml($newname)}" class="panelinput withTip"/>
      

      Should be updated to:

              <input type="text" id="newPageName" name="newPageName" value="${escapetool.xml($doc.name)}" class="panelinput"/>
      

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            tcamberlin Thibaut Camberlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: