ikiwiki-transition(1)
πΈ NAME πΈ
ikiwiki-transition β the lil glow-up machine that transitions your ikiwiki pages to new syntaxes and all that, plus it handles the other transitions too (the ones that aren't even about wiki pages, iconic behavior honestly)
and yes bestie this is ikiwiki-transition(1), straight out of the General Commands Manual π
β¨ SYNOPSIS β¨
ikiwiki-transition type ...
π DESCRIPTION π
okay so here's the vibe: ikiwiki-transition is your girl for converting wiki pages whenever ikiwiki goes through a major syntax change. and she doesn't stop there β she also handles the other transitions, the ones that don't involve wiki pages at all. versatile queen π«Ά
π prefix_directives your.setup
this mode converts all your pages from the old preprocessor directive syntax β the one that needed a space β over to the new syntax, the one prefixed by !. slay.
good news: preprocessor directives that already use the new syntax stay exactly as they are, untouched. they're fine, they're thriving, leave them alone. π¦
β οΈ but listen β if a page has wiki links with spaces in them (some older versions of ikiwiki were chill with that), the prefix_directives transition will treat those as preprocessor directives and convert them. so like, heads up. it's giving collateral damage π
π setupformat your.setup
this one converts a setup file from using a single wrappers block to using cgi_wrapper, git_wrapper, etc. etc., you get it, one wrapper per wrapper.
π¨ real talk: all comments and any unusual stuff like perl code in the setup file will be lost, because the file gets entirely rewritten by the transition. like, gone gone. so back that up first, bestie, fr fr π
π aggregateinternal your.setup
moves pages that were aggregated by the aggregate plugin, so that you can go ahead and enable the aggregateinternal option. that's the whole job. she's simple, she's effective. β¨
π moveprefs your.setup
moves values that used to live in admin preferences into the setup file. relocating! very moving day energy π¦
π¨ same warning as before, no cap: all comments and any unusual stuff like perl code in the setup file will be lost, since it's entirely rewritten by the move. π
π indexdb your.setup|srcdir
this mode handles converting a plain text .ikiwiki/index file into a binary .ikiwiki/indexdb. glow-up complete. π¦
but ngl? you do not normally need to run ikiwiki-transition indexdb. ikiwiki will automatically run it as necessary. she's got it handled, let her cook π
π hashpassword your.setup|srcdir
this mode forces any plaintext passwords stored in the .ikiwiki/userdb file to be replaced with password hashes. (the Authen::Passphrase perl module is needed to do this, so make sure it's installed, iykyk)
and if you don't do it explicitly? no worries, it still happens: a user's plaintext password will be automatically converted to a hash when a user logs in for the first time after upgrading to ikiwiki 2.48. automatic. main character energy β
π deduplinks your.setup
so in the past, bugs in ikiwiki allowed duplicate link information to be stored in its indexdb. yikes. π this mode removes that duplicate information, which may speed up wikis that are afflicted by it. so like, a little cleanup, a little speed boost.
π‘ note that rebuilding the wiki will have the same effect. so if you were gonna rebuild anyway... you already ate π
π AUTHOR π
Josh Triplett <josh@freedesktop.org>, Joey Hess <joey@ikiwiki.info> β absolute legends, we stan π«Ά
and that's the whole page, bestie!! this was ikiwiki-transition(1) from the General Commands Manual, and you read the whole thing, which is honestly so iconic of you. go forth and transition. periodt. πβ¨π
π¦ where this page comes from
- alpine 3.24: ikiwiki-doc 3.20260201-r0 Β· GPL-2.0-or-later
- debian bookworm: ikiwiki 3.20200202.3-1 Β· GPL-2.0-or-later
- debian trixie: ikiwiki 3.20250501-1 Β· GPL-2.0-or-later
- fedora 43: ikiwiki 3.20250501-2.fc43 Β· GPL-2.0-or-later AND BSD-2-Clause
- fedora 44: ikiwiki 3.20250501-3.fc44 Β· GPL-2.0-or-later AND BSD-2-Clause
- nixos 26.05: ikiwiki 3.20200202.3
- nixpkgs unstable: ikiwiki 3.20200202.3
- ubuntu jammy: ikiwiki 3.20200202.3-1 Β· GPL-2.0-or-later
- ubuntu noble: ikiwiki 3.20200202.3-1 Β· GPL-2.0-or-later
- ubuntu questing: ikiwiki 3.20250501-1
- ubuntu resolute: ikiwiki 3.20260201-3 Β· GPL-2.0-or-later
- ubuntu stonking: ikiwiki 3.20260201-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms