WIKI-TO...ME-NODE(1p)
β¨ WIKI-TOOLKIT-RENAME-NODE β the glow-up your node deserves π
ok bestie so you've got a node in a Wiki::Toolkit instance and it's got a name that is not serving. This is wiki-toolkit-rename-node, and it's from the User Contributed Perl Documentation section (1p, so it's a Perl thing, obviously πͺ). It renames that node for you. Main character energy, zero drama.
π¦ SYNOPSIS
# Rename a node in a Wiki::Toolkit instance, updating internal links
# and references if the formatter supports link re-writing.
wiki-toolkit-rename-node --type postgres
--name mywiki \
--user wiki \
--pass wiki \
--host 'db.example.com' \
--port 1234
--oldname MyOldNodeName \
--nemname FancyNewNodeName
ngl the --nemname up there is literally how it's written in the original, and yes, I'm as shook as you are π Copy the code exactly as it appears, bestie. That's the rule.
πΈ DESCRIPTION
So here's the tea. This whole thing runs on eight arguments total: four mandatory ones that you literally cannot skip, and four optional ones that are there if you need them. Let's get into it.
π The four mandatory arguments (no skipping, periodt)
typeβ the database type, bestie. It should be one of'postgres','mysql'or'sqlite'. Pick your fighter. β¨nameβ the database name. Just the name. That's it. πoldnameβ the name of the node that's about to get its glow-up. The before picture. π₯²newnameβ the new name for the node. The after picture. The serve. π
π The four optional arguments (there if you want them)
userβ the user that connects to the database. Lowkey important: it must have permission to create and drop tables in the database. So like, don't come at it with a read-only little guy and then act surprised. π«Άpassβ the user's database password. Shhh. π€«hostβ the hostname of the machine the database server is running on. Omit it for local databases, because local is cozy. πportβ the port number that the database server is expecting connections to. The door number. The vibe checkpoint. πͺ
π AUTHOR
Nick Burch. Iconic. π
π COPYRIGHT
Copyright (C) 2006 Nick Burch. All Rights Reserved.
This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Free as in, go off, do your thing, just respect the terms. ποΈ
π SEE ALSO
Wiki::Toolkitβ the whole universe this little script lives in. Go read it, iykyk. π«
ok that's the whole page bestie, you're officially caught up π
This was pulled from perl v5.32.0, dated 2021-01-04, and it's the User Contributed Perl Documentation version of WIKI-TO...ME-NODE(1p) β mwah, go rename something gorgeous πβ¨
π¦ where this page comes from
- debian bookworm: libwiki-toolkit-perl 0.86-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libwiki-toolkit-perl 0.86-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libwiki-toolkit-perl 0.86-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libwiki-toolkit-perl 0.86-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwiki-toolkit-perl 0.86-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwiki-toolkit-perl 0.86-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms