Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONF-11285

Page names with special characters to generate regular URL

    Details

    • Type: Improvement
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: Usability, WIKI / HTML
    • Labels:
      None
    • Environment:
    • Last commented by user?:
      true

      Description

      Hi,

      When including different characters in page names - like %, &, +, etc., the URL is generated differently.

      A usual URL (including the page name) looks like this: http://www.gigaspaces.com/wiki/display/GS6/Welcome+to+GigaSpaces

      BUT if you add a character in the page name (for example, naming a page, C++), the URL would look like this: http://www.gigaspaces.com/wiki/pages/viewpage.action?pageId=36864161

      which is less nice-looking to say the least, and also then all URLs in the wiki aren't standard.

      Is it possible to change this?

      If it's been fixed in a future version, I'll be glad to know.

      Thanks,

      Limor

        Issue Links

          Activity

          Hide
          randyjames@zillow.com Randy James added a comment -

          These pageID links create a perfect storm when merging confluences. Have to manually fix all of them where they have been hardcoded or referenced externally, like in Jira.

          Show
          randyjames@zillow.com Randy James added a comment - These pageID links create a perfect storm when merging confluences. Have to manually fix all of them where they have been hardcoded or referenced externally, like in Jira.
          Hide
          miska Miska added a comment -

          Please fix these as the pageId urls are really problematic for us as we use Google Custom Search engine to search our sites. We label the search results by the url and now different Confluence spaces aren't distinguishable because we use nordic characters in page names and then the space key drops from the url.

          Show
          miska Miska added a comment - Please fix these as the pageId urls are really problematic for us as we use Google Custom Search engine to search our sites. We label the search results by the url and now different Confluence spaces aren't distinguishable because we use nordic characters in page names and then the space key drops from the url.
          Hide
          literakl1 Leoš Literák added a comment -

          Czech character set is not supported as well. When we generate nice URLs in our country, we strip accents from local characters. E.g. čížek becomes cizek, pára becomes para and so on. Can you add translation table? I can provide you translation table for my country. Or you can use information from Character class in java or from Unicode table.

          Show
          literakl1 Leoš Literák added a comment - Czech character set is not supported as well. When we generate nice URLs in our country, we strip accents from local characters. E.g. čížek becomes cizek, pára becomes para and so on. Can you add translation table? I can provide you translation table for my country. Or you can use information from Character class in java or from Unicode table.
          Hide
          operations23 David Laperle added a comment -

          I voted for this, as a bilingual company we have pages title in french and english and we encourage our employee to use the language they're more comfortable with. Right now, users are reporting issues with the links, we had to create a confluence page to explain how confluence doesn't support non-english characters in page titles. Kinda weird ...

          Please acknowledge.

          Show
          operations23 David Laperle added a comment - I voted for this, as a bilingual company we have pages title in french and english and we encourage our employee to use the language they're more comfortable with. Right now, users are reporting issues with the links, we had to create a confluence page to explain how confluence doesn't support non-english characters in page titles. Kinda weird ... Please acknowledge.
          Hide
          hajek1 Robert Hajek added a comment - - edited

          +1, please fix it. In confluence we are managing documentation in multiple languages, this stupid pageID system is hell... It is absolutely common that page title can contain unicode character. In java is removing diacritics trivial task ...

          Normalizer.normalize(text, Form.NFD).replaceAll("\\p{InCombiningDiacriticalMarks}+", "") 
          
          Show
          hajek1 Robert Hajek added a comment - - edited +1, please fix it. In confluence we are managing documentation in multiple languages, this stupid pageID system is hell... It is absolutely common that page title can contain unicode character. In java is removing diacritics trivial task ... Normalizer.normalize(text, Form.NFD).replaceAll( "\\p{InCombiningDiacriticalMarks}+" , "")

            Dates

            • Created:
              Updated:
              Last commented:
              2 weeks ago