3 ikiwiki-transition - transition ikiwiki pages to new syntaxes, etc
7 ikiwiki-transition type ...
11 `ikiwiki-transition` aids in converting wiki pages when there's a major
12 change in ikiwiki syntax. It also handles other transitions not involving
15 # prefix_directives your.setup
17 The `prefix_directives` mode converts all pages from the old preprocessor
18 directive syntax, requiring a space, to the new syntax, prefixed by '!'.
20 Preprocessor directives which already use the new syntax will remain
23 Note that if a page contains wiki links with spaces, which some
24 older versions of ikiwiki accepted, the prefix_directives transition will
25 treat these as preprocessor directives and convert them.
27 # setupformat your.setup
29 The `setupformat` mode converts a setup file from using a single `wrappers` block
30 to using `cgi_wrapper`, `git_wrapper`, etc.
32 Note that all comments and any unusual stuff like perl code in the setup
33 file will be lost, as it is entirely rewritten by the transition.
35 # aggregateinternal your.setup
37 The `aggregateinternal` mode moves pages aggregated by the aggregate plugin
38 so that the `aggregateinternal` option can be enabled.
40 # moveprefs your.setup
42 Moves values that used to be admin preferences into the setup file.
44 Note that all comments and any unusual stuff like perl code in the setup
45 file will be lost, as it is entirely rewritten by the move.
47 # indexdb your.setup|srcdir
49 The `indexdb` mode handles converting a plain text `.ikiwiki/index` file to
50 a binary `.ikiwiki/indexdb`. You do not normally need to run
51 `ikiwiki-transition indexdb`; ikiwiki will automatically run it as
54 # hashpassword your.setup|srcdir
56 The `hashpassword` mode forces any plaintext passwords stored in the
57 `.ikiwiki/userdb` file to be replaced with password hashes. (The
58 Authen::Passphrase perl module is needed to do this.)
60 If this is not done explicitly, a user's plaintext password will be
61 automatically converted to a hash when a user logs in for the first time
62 after upgrade to ikiwiki 2.48.
64 # deduplinks your.setup|srcdir
66 In the past, bugs in ikiwiki have allowed duplicate link information
67 to be stored in its indexdb. This mode removes such duplicate information,
68 which may speed up wikis afflicted by it. Note that rebuilding the wiki
69 will have the same effect.
73 Josh Triplett <josh@freedesktop.org>, Joey Hess <joey@ikiwiki.info>
75 Warning: this page is automatically made into ikiwiki-transition's man page, edit with care