f1dd8a661805ba8b9f71656516c3f08f6db02934
[GitHub/WoltLab/woltlab.github.io.git] / docs / migration_wsc-30_package.md
1 # Migrating from WSC 3.0 - Package Components
2
3 ## Cronjob Scheduler uses Server Timezone
4
5 The execution time of cronjobs was previously calculated based on the coordinated universal time (UTC). This was changed in WoltLab Suite 3.1 to use the server timezone or, to be precise, the default timezone set in the administration control panel.
6
7 ## Exclude Pages from becoming a Landing Page
8
9 Some pages do not qualify as landing page, because they're designed around specific expectations that aren't matched in all cases. Examples include the user control panel and its sub-pages that cannot be accessed by guests and will therefore break the landing page for those. While it is somewhat to be expected from control panel pages, there are enough pages that fall under the same restrictions, but aren't easily recognized as such by an administrator.
10
11 You can exclude these pages by adding `<excludeFromLandingPage>1</excludeFromLandingPage>` (case-sensitive) to the relevant pages in your `page.xml`.
12
13 ### Example Code
14
15 ```xml
16 <?xml version="1.0" encoding="UTF-8"?>
17 <data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/tornado/page.xsd">
18 <import>
19 <page identifier="com.example.foo.Bar">
20 <!-- ... -->
21 <excludeFromLandingPage>1</excludeFromLandingPage>
22 <!-- ... -->
23 </page>
24 </import>
25 </data>
26 ```
27
28 ## New Package Installation Plugin for Media Providers
29
30 Please refer to the documentation of the [`mediaProvider.xml`](package_pip_media-provider.md) to learn more.
31
32 ## Limited Forward-Compatibility for Plugins
33
34 Please refer to the documentation of the [`<compatibility>`](package_package-xml.md#compatibility) tag in the `package.xml`.