WIKI-T...TO-DATE(1p)
π WIKI-T...TO-DATE(1p) π
okay bestie, so this is a User Contributed Perl Documentation page, section 1p, for the tool wiki-toolkit-revert-to-date. it's giving time machine energy and i'm obsessed. π°οΈβ¨
β¨ NAME β¨
wiki-toolkit-revert-to-date β Revert the state of a Wiki::Toolkit instance to an earlier point in time.
like, literally. you point it at a date and it rewinds your wiki to how it looked back then. no cap. π¦
πΈ SYNOPSIS πΈ
# Removes any changes made to a Wiki::Toolkit instance since a given date
# (and optionally time), restoring it to the state at that point.
wiki-toolkit-revert-to-date --type postgres
--name mywiki \
--user wiki \
--pass wiki \
--host 'db.example.com' \
--port 1234 \
--date 2007-01-05 \
--time 11:23:21
look at that glow-up of a command line. she's organized, she's got backslashes, she's ready. π
π DESCRIPTION π
so the way this works: it takes three mandatory arguments, and then five optional ones. periodt.
π the mandatory ones (you HAVE to give these, no skips)
typeβ The database type. Should be one of'postgres','mysql'and'sqlite'. those are your three options, bestie, pick one. πnameβ The database name. yep, just the name of the database. iconic. πdateβ The date to revert the state back to, in the formatYYYY-MM-DD. this is the whole point of the tool, so like, don't forget it. ποΈ
π the optional ones (slay, you get choices)
timeβ The time (on the specified date) to revert the state back to, in the formathh:mm:ss. If not specified, will use midnight. so if you don't say anything, it's midnight o'clock, Cinderella style. πuserβ The user that connects to the database. It must have permission to create and drop tables in the database. yes this is important β if that user can't create and drop tables, this is not gonna go how you want. πpassβ The user's database password. keep it secret, keep it safe. πhostβ The hostname of the machine the database server is running on (omit for local databases). local bestie? just don't include it. remote bestie? include it. π»portβ The port number that the database server is expecting connections to. the lil doorway number. πͺ
lowkey reminder: this tool removes any changes made to a Wiki::Toolkit instance since a given date (and optionally time), restoring it to the state at that point. so it's a real revert, not a "haha what if" revert. make sure that's what you actually want before you send it. π
π AUTHOR π
Nick Burch. king behavior, honestly. π
π«Ά 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 software, same terms as Perl itself, we love a generous license moment. πΈ
π SEE ALSO π
Wiki::Toolkit
go read that one too, it's the main character and this is its little time-travel sidekick. β¨
and that's the whole page bestie, you ate it. π
this was from perl v5.32.0, dated 2021-01-04, and it lives under the WIKI-T...TO-DATE(1p) name. mwah. ππ¦
π¦ 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