Details
-
Improvement
-
Resolution: Fixed
-
Major
-
7.0-milestone-2
-
None
Description
The current AbstractMandatoryDocumentInitializer helper is focused on local documents, so any main-wiki-only document initializer needs to do unnecessarily complex work in each subclass.
The proposal is to support this in the helper base class and to expose a new method isMainWikiOnly that can be overridden to return true, signaling that the passed reference is a main wiki reference. Of course, if the passed reference already contains a wiki reference component, the method will be ignored and the reference will be used as initially passed.
Attachments
Issue Links
- blocks
-
XWIKI-11760 Convert the WatchList plugin to a component
- Closed