Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: f544ae3529bc21ee340df5eb32dc64e09f140f06 https://github.com/xwiki/xwiki-platform/commit/f544ae3529bc21ee340df5eb32dc6... Author: Vincent Massol <[email protected]> Date: 2026-10-11 (Sun, 11 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/src/main/aspect/com/xpn/xwiki/api/DocumentCompatibilityAspect.aj M xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/src/main/aspect/com/xpn/xwiki/doc/XWikiDocumentCompatibilityAspect.aj M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/Document.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/XWiki.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/CreateActionRequestHandler.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/XWikiMockitoTest.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/api/XWikiTest.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/web/CreateActionTest.java M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/createinline.vm Log Message: ----------- XWIKI-25263: Move getLocalReferenceMaxLength() from XWikiDocument to XWiki (#6760) * Add `XWiki#getDocumentLocalReferenceMaxLength(XWikiContext)` and its script API counterpart `$xwiki.getDocumentLocalReferenceMaxLength()` * Deprecate `XWikiDocument#getLocalReferenceMaxLength()` and `Document#getLocalReferenceMaxLength()` and move them to xwiki-platform-legacy-oldcore, since the limit comes from the store and is the same for all documents * Migrate the callers: `XWiki#prepareDocumentForSave`, `CreateActionRequestHandler#isDocumentPathTooLong` and `createinline.vm` * Stop setting the wiki store on the document in `XWiki#prepareDocumentForSave`, since it was only needed by the length check Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications