This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-dbf2aeaa-527f-460d-b6ec-2989eb672312 XWIKI-23500 Open

Force empty titles for WebPreferences pages for XAR extensions

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-54f1478e-f119-498d-909f-863306ee3e61 Raphaël Jakse created this issue on 02/Sep/25 09:51
 
Summary: Force empty titles for WebPreferences pages for XAR extensions
Issue Type: cid:jira-generated-image-avatar-dbf2aeaa-527f-460d-b6ec-2989eb672312 Improvement
Affects Versions: 17.7.0
Assignee: Unassigned
Components: XAR
Created: 02/Sep/25 09:51
Priority: cid:jira-generated-image-static-major-e4acec13-b3c2-4a30-bd81-e0806764e1e0 Major
Reporter: Raphaël Jakse
Description:

Following votes at https://forum.xwiki.org/t/drop-the-maven-xar-plugin-requirement-for-setting-the-title-for-webpreferences-pages/17515,

The XAR maven plugin currently enforce the following title for WebPreferences pages: $services.localization.render('admin.preferences.title'), which is inconsistent with what the platform does (A sheet associated to WebPreference pages sets the title to $services.localization.render('administration.title.page')).

Because

  • we shouldn’t require users to hardcode some arbitrary translation string they should not have to care about in their projects
  • this is not needed (anymore?) anyway
  • it’s causing inconsistencies between WebPreferences pages created on the instance directly, and those imported from a XAR package

We should replace this requirement with requiring empty titles to let the platform handle WebPreferences titles automatically.