defaultCheck (for the root) or the check (for all child packages dependencies) can have the following values:package or the dependency element:false for the showUnresolvedReferences attribute specifies that references and resources which are not found from the package to the other package will not emit an errorfalse for the showUnresolvedImages attribute specifies that images which are not found from the package to the other package will not emit an errorfalse for the showUnresolvedInfoboxes attribute specifies that infoboxes which are not found from the package to the other package will not emit an error<packagesDependencies defaultCheck="accept" showUnresolvedReferences="false" showUnresolvedImages="false"> _ .... </packagesDependencies>In the following example, unresolved references, resources or images from
package1 to any other package will not emit any error:<packagesDependencies defaultCheck="accept"> <package name="package1" showUnresolvedReferences="false" showUnresolvedImages="false" /> </packagesDependencies>In the following example, unresolved references, resources or images from
package1 to package2 will not emit any error, but unresolved references or images from package1 to any other package will emit an error:<packagesDependencies defaultCheck="accept"> <package name="package1"> <dependency name="package2" showUnresolvedReferences="false" showUnresolvedImages="false" /> </package> </packagesDependencies>
includePackage for the package. This attribute can have one of the following values:<packagesDependencies defaultCheck="accept"> <package name="package1" /> <package name="package2" includePackage="forgetSilent" /> </packagesDependencies>In this example, the
package1 is included in the wiki output, but the package2 is not included, and all errors detected in package2 will not be emitted.package1 can create categories, but elements in packaeg2 can not.<packagesDependencies> <package name="package1" /> <package name="package2" allowCategoryCreation="false" /> </packagesDependencies>This means that:
package1 define the "cat2" package, and it is defined in an article in package2, and error will be emittedpackage1 define the "cat1" package, and it is defined in an article in package2, no error will be emittedpackage1 to package2:<packagesDependencies defaultCheck="accept"> <package name="package1" > <dependency name="package2" check="refuse" /> </package> </packagesDependencies>In this example, Dependencies from
package1 to package2 are not allowed. One of the references in the articles in package1 will therefore be refused and lead to a warning during parsing:
<packagesDependencies defaultCheck="accept"> <package name="package1" > <dependency name="package2" check="refuse" /> </package> <package name="package2" defaultCheck="refuse"> <dependency name="package3" check="accept" /> </package> </packagesDependencies>Here:
package1 to package2 are not allowedpackage2 are not allowedpackage2 to package3 are allowed<packagesDependencies defaultCheck="show"> <package name="package1" > <dependency name="package2" check="showAndWarn" /> </package> <package name="package2" defaultCheck="refuse"> <dependency name="package3" check="accept" /> </package> </packagesDependencies>Here:
package1 to package2 will also be shown as text sentences (without hyperlinks). A warning message will be issued for each dependencypackage2 are not allowedpackage2 to package3 are alloweddocJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.