1WIKI-TOOLKIT-RENAME-NODUEs(e1r)Contributed Perl DocumentWaItKiIo-nTOOLKIT-RENAME-NODE(1)
2
3
4
6 wiki-toolkit-rename-node - Rename a node stored in a Wiki::Toolkit
7 instance.
8
10 # Rename a node in a Wiki::Toolkit instance, updating internal links
11 # and references if the formatter supports link re-writing.
12
13 wiki-toolkit-rename-node --type postgres
14 --name mywiki \
15 --user wiki \
16 --pass wiki \
17 --host 'db.example.com' \
18 --port 1234
19 --oldname MyOldNodeName \
20 --nemname FancyNewNodeName
21
23 Takes four mandatory arguments:
24
25 type
26 The database type. Should be one of 'postgres', 'mysql' and
27 'sqlite'.
28
29 name
30 The database name.
31
32 oldname
33 The name of the node to be renamed.
34
35 newname
36 The new name for the node.
37
38 four optional arguments:
39
40 user
41 The user that connects to the database. It must have permission to
42 create and drop tables in the database.
43
44 pass
45 The user's database password.
46
47 host
48 The hostname of the machine the database server is running on (omit
49 for local databases).
50
51 port
52 The port number that the database server is expecting connections
53 to.
54
56 Nick Burch
57
59 Copyright (C) 2006 Nick Burch. All Rights Reserved.
60
61 This code is free software; you can redistribute it and/or modify it
62 under the same terms as Perl itself.
63
65 Wiki::Toolkit
66
67
68
69perl v5.34.0 2021-07-23 WIKI-TOOLKIT-RENAME-NODE(1)