There are 8 updates, 1 comment.
This issue has been moved to XWiki Platform project.
 
 
XWiki Platform / cid:jira-generated-image-avatar-743d0f57-335a-4fe0-a724-06b7e63fc88e XWIKI-24417 Open

Improve source viewer to handle object-based documents

 
View issue   ยท   Add comment
 

8 updates

 
cid:jira-generated-image-avatar-9596f9d6-8538-49b4-9248-d872ff677157 Changes by Nikita Petrenko on 26/May/26 12:05
 
Summary: View Improve source button display blank for extensions.xwiki.org viewer to handle object-based documents
Issue Type: Bug Improvement
Version: 17.10.4
Description: Currently, {{ XWiki.org viewer=code }} doesn't have this issue.

I
displays the document source only noticied it on {{extensions when the page contains content in the document body . xwiki.org}} if decide to check wiki structure of However, some extension XWiki documents store their meaningful data in XObjects (Panels, Menus, etc) rather than in the page content itself . Ex. https://extensions.xwiki.org/xwiki/bin/view/Extension/OpenID%20Connect/Token%20Authenticator/? In such cases, {{ viewer=code displays only Show/Hide last authors.

Browser console contains these errors

{noformat
}
piwik.js:12 There was an error setting cookie `_pk_testcookie_domain`. Please
} returns a blank view, making it hard to inspect the actual stored data, users left with option to check domain and path the content in object edit mode .
piwik.js:12 Can't write cookie on domain *.www.xwiki.org
It would be useful to extend { noformat {viewer=code }
} to also expose XObject-based content for such documents.
Project: XWiki Infrastructure Platform
Component: Extensions Wiki (extensions.xwiki.org)
Component: Web - Templates & Resources
Key: XINFRA XWIKI - 481 24417
 
 

1 comment

 
cid:jira-generated-image-avatar-6f30cf8e-0936-47c3-ae6c-24d28ad46b59 GabrielC on 26/May/26 12:14
 

The piwik errors are unrelated. They're coming from the Matomo Application (Matomo used to be called Piwik). 

That's a separate issue, but I looked into it and website analytics seem to work as expected, regardless of the console errors. May be a regression in Matomo, or possibly an issue with the Matomo Application.