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

HTML Meta information about XWiki documents are incorrect in the case of translations

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      In htmlheader.vm you have the following code

      #xwikiDataAttribute('version', $doc.version)
      
      #xwikiDataAttribute('rest-url', $[services.rest|http://services.rest/].url($doc.documentReference))
      

      In the case of a translated document it should be $tdoc.version.

      Also the rest url corresponds to the default document and not the translation.

      Also it would be nice to have language information about the document

      Attachments

        Issue Links

          Activity

            People

              atallahade Adel Atallah
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: