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

Print current page name when renaming a page

    XMLWordPrintable

Details

    • patch
    • Unknown

    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

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

            Dates

              Created:
              Updated:
              Resolved: