What Documentation Pages Would You Like To See Updated?

Hello @gabrielc, thanks for opening this topic. I’ll be very brief:

  1. Page of each recommended and most usable extensions. Here at least - updates have to be started from images: most screens/images that are present, represent old XWiki UI. For instance CommonMark Markdown Syntax 1.2 in newest XWiki you won’t find section “Configuration” in XWiki Preferences page.

  2. Installation documentation for Windows users. Another example from me - PostgreSQL Installation, nowadays after installing PostgeSQL 16+ user has PgAdmin 4 - UI that allows use to create a database and run specific query from Query tool instead of using old psql command line

  3. Tutorial documentation. Here I’d say the entire Developer Guide space needs updates to be clear and easier for beginners.

2 Likes

Had to filter them a bit so I’d be able to post them, but here’s a list of 40 docs pages that are frequently being visited by xwiki users.

Title URL
Installation (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/
Documentation (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/
Features (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/
User Guide (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/
Administrator Guide (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/
Installation using Debian/Ubuntu (.DEB) packages (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationViaAPT/
REST API (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiRESTfulAPI
Getting Started (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/
Page Editing (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/PageEditing
XWiki Syntaxes (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiSyntax/
Configuration (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Configuration/
Tomcat Installation (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationWAR/InstallationTomcat/
Second Generation Wiki (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/SecondGenerationWiki/
Developer Guide (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/
Installing XWiki .war package manually (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationWAR/
Performance (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Performances/
Access Rights (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Access%20Rights/
User Authentication (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Authentication/
Installing the Demo Distributions (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationStandalone/
Scripting (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Scripting/
Scripting API Guide (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Scripting/APIGuide/
Backup/Restore (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Backup
Getting Started (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/WebHome
API Reference (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/API/
Upgrading (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Upgrade/
Exports (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/Exports
Content Organization (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/ContentOrganization/
Step 1: Creating a page (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/CreatingAPage
Import/Export (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/ImportExport
Distribution Wizard (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/DistributionWizard
Applications, Extensions & Flavors (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/Applications
MySQL Installation (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationWAR/InstallationMySQL/
Attachments (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Attachments
Skins (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/Skins
Logging (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Logging
User Management (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/User%20Management
Skin Extension Tutorial (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/SkinExtensionsTutorial/
XWiki Scripting API Reference (XWiki.org) https://www.xwiki.org/xwiki/bin/view/ScriptingDocumentation/
Step 4: Changing the logo and the panels (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/ChangingTheLogoAndThePanels
Security (XWiki.org) https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Security
1 Like

https://extensions.xwiki.org/xwiki/bin/view/Extension/Live%20Data%20Macro/

It would be great to have a step-by-step how-to to migrate from LiveTable to LiveData for the most common LiveTables (like the ones generated by AWM).

1 Like

About this, the best currently is probably to check the code diffs when we migrated the pages in XS from LT to LD.

To do that, see https://design.xwiki.org/xwiki/bin/view/Proposal/LivetabletoLiveDataMigration and especially the cryptpad pad: CryptPad

In there, there’s a DONE section with links to PRs showing what needed to be done.

But I agree that it would be nice to have a tutorial.

1 Like

I set up a draft documentation page:
Application Security Logging

It is based on the events listed in the OWASP Logging Vocabulary Cheat Sheet: Logging Vocabulary - OWASP Cheat Sheet Series

It includes a <logger name="xxx" level="xxx"/> code snippet for each logger configuration that needs to be set in the logback.xml file to comply with the OWASP recommendations.

I would appreciate some help with this draft, as monitoring XWiki from a security perspective isn’t exactly straightforward (hopefully just for me) :wink:

1 Like

I have added 4 configs for logging at https://dev.xwiki.org/xwiki/bin/view/Drafts/Application%20Security%20Logging/

I’ll let you rearrange it as you see fit.

2 Likes

Hi everyone! :wave:

I must admit that I was quite ambitious when I set out on helping with the documentation rework :sweat_smile:.

That being said, I wasn’t idle all this time. I just added some proposals to the forum, and I’m eagerly waiting for your feedback.

Thank you everyone for your suggestions! All of them are neatly stashed in my personal notes and I will definitely look at them when thinking about how to proceed further.

While the work is still far from over (like… reaaaaaly far), and I cannot give an accurate estimate to when it will be complete, I want you to know that it is something that I am concerned with, and I’m still trying to tackle whenever I get the time to do it. :heart_hands: :heart_hands:

Hi @gabrielc,
in the section Memory of this page, https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Performances/#HMemory only the use of a setenv.sh file is presented.

This is what I have noted in a table in our company’s documentation:


A setenv.sh file needs to be added in /usr/share/tomcat9/bin/ for the purpose of setting memory (Set -Xms and -Xmx to higher system memory than the default)

Example:

    CATALINA_OPTS="-server -Xms1024m -Xmx2048m -Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC -XX:MaxGCPauseMillis=100"

other example:

    CATALINA_OPTS="-server -Xms2g -Xmx2g -Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC -XX:MaxGCPauseMillis=100"
  • Xmx : is for the max memory allocation value
  • Xms : is for the base memory allocation value

Whereas when using Xjetty (XWiki Jetty packages), as the newer Apache Tomcat are not yet fit for XWiki, we don’t have this setup anymore, instead we can setup memory in /etc/environment, in a command line such as this one:

XWIKI_OPTS="-Xmx2g -Xms1g"

or

XWIKI_OPTS="-Xmx2048m -Xms1024m"

Of course, if you think other objects can be added… Just I have no idea what they are for in the current example:

CATALINA_OPTS="-server -Xms1080m -Xmx1600m -Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED"

because I have never learned Java.

1 Like

Honestly, even in the case of the standard tomcat9 Debian package, mentioning setenv.sh does not make much sense as it’s more something that would go in /etc/default/tomcat9 (which is documented on https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationViaAPT/#HMemory).

1 Like

Hello @tmortagne I can’t check in our actual installs as we use XJetty now. However I didn’t make it up. I have used the setup that way during months, following this discussion:

especially after here : (Confluence space import) prerequisites : where are Xmx Xms? - #4 by jmarkoll

Not saying you made this up (I’m even pretty sure it’s the right way to do this in some context). I’m mostly just agreeing with you that the documentation should not indicate a way to configure the memory as if it was the obvious way to do it when even in the case of Tomcat 9 it can vary a lot depending on the system.

Ok thank you.

There’s currently a lack of documentation about the readonly mode. It’s a quite a powerful feature implemented for more than 10 years. As of now, it seems like it’s a bit buggy and not deprecated. We’d need to discuss what to do with this feature before writing a doc, but it definitely should be documented. It would make it easier to maintain and use :slight_smile:

Lucas C.

2 Likes

Added by both Lucas and me on https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Configuration/#HReadonly

Development Practices page could be split into multiple pages, as it contains information about project roles, JIRA issues and some license templates, which could all be in separate pages. Since some sections are only redirects to other pages, excluding some titles from the table of contents could help it feel less crowded (and reduce the 2 page table of contents to something more understandable).

The page feels bloated to me, like it tries to tackle too many subjects at once. I think an updated structure would help.

Also, adding the missing tracks in the Onboarding and reviewing the existing ones, as some links are broken/outdated. Maybe adding a more gradual presentation of XWiki concepts first, so the basic concepts are clearly presented, then the high level structure and data flow, then specifics for each subject.

I found inconsistent usage of some terms, such as Space and Page on the Nested Pages page, or XObject and XWiki Object. There should be only one way of refering to a concept.

Also some notes on the User Guide:

  • The User Guide Track is a normal link (the first one on the page). This means it is easily skipped over, since it looks like a link to a wikipedia definition of wikis; Adding it as a big obvious ‘call to action’ button and making it clear that it is the intended way to proceed would solve this issue.
  • The image in the bottom part of the page is visible when first loading up the page, which can be distracting and lead to skipping the text in favor of reading the diagram.

I can take this one (as I’m very familiar with it).

1 Like