WIKI-TO...-TO-DATE(1)
π wiki-toolkit-revert-to-date β the rewind button for your wiki π
okay bestie so this is a section 1 page from the User Contributed Perl Documentation, and it's about wiki-toolkit-revert-to-date, which is literally the "undo everything since Tuesday" button for a Wiki::Toolkit instance. no cap. it's giving time travel, but for databases. π¦
β¨ NAME β¨
wiki-toolkit-revert-to-date β revert the state of a Wiki::Toolkit instance to an earlier point in time.
like, it takes your wiki and goes poof back to how it looked on some specific day. iconic behaviour honestly. π
πΈ 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
see how the line breaks go? that's not me being messy, that's the actual shape of it, and the backslashes are doing the heavy lifting so your shell doesn't get confused. π«Ά
π DESCRIPTION π
so the way this works is you tell it where your database lives and when you wanna be, and it yeets all the changes made after that moment. the wiki wakes up feeling like it's that date again. main character energy fr fr.
the three mandatory arguments (you literally cannot skip these, not even once) π
typeβ the database type. should be one of'postgres','mysql'and'sqlite'. pick your fighter. βnameβ the database name. that's your wiki's home address basically.dateβ the date to revert the state back to, in the formatYYYY-MM-DD. this is the when. π
the five optional arguments (nice to have, but so helpful) β¨
timeβ the time (on the specified date) to revert the state back to, in the formathh:mm:ss. if you don't specify it, it'll just use midnight. so like, the very start of that day. dramatic, honestly. πuserβ the user that connects to the database. important: it must have permission to create and drop tables in the database. like, this isn't a "would be nice" thing, it needs that power. π₯passβ the user's database password. keep it secret, keep it safe, bestie. πhostβ the hostname of the machine the database server is running on (omit this one for local databases, she's already home). πportβ the port number that the database server is expecting connections to. πͺ
π AUTHOR π
Nick Burch
π 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.
π SEE ALSO π
Wiki::Toolkit
and that's the whole thing, bestie, you're officially a rewind-tool expert π β¨
signing off β this was perl v5.42.0, dated 2025-07-25, from the WIKI-TO...-TO-DATE(1) manual page in the User Contributed Perl Documentation. mwah. ππ¦
π¦ where this page comes from
- fedora 43: perl-Wiki-Toolkit 0.87-15.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms