Skip to content

scpwiki/admin-backup-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Admin Panel Backup User Script

Currently in testing

This userscript is intended for Wikidot site administrators to back up data related to a site's settings, ban data, and membership.

Backing up takes around a minute for small sites (those under a few hundred members), and requires more time depending on how many site members, categories, layouts, and Wikidot themes the site has. For instance, backing up SCP-EN takes about an hour.

screenshot

The output is a ZIP file filled with (primarily) JSON files:

  • site.json — Contains general site information and miscellaneous or top-level settings.
  • categories.json — Contains information about page categories (e.g. component:, theme:) and associated settings, like access permissions.
  • themes.json — Contains site theme data. This is not the same as page themes, which uses [[include]] to add styling to a page, but the Wikidot-level concept configurable only in the admin panel.
  • layouts.json — On the same page as the above, this lists site layout data. This Wikidot concept permits changing the HTML structure of a site.
  • bans.json — Contains a list of user bans (i.e. bans by user ID) and IP bans (i.e. IPv4 addresses), along with timestamps and ban reasons.
  • members.json — Contains a list of site members along with their join date, and a list of the moderators and admins on a site.
  • forum.json — Contains information about the structure and settings of the site's forum. If the site forums are disabled, this file will be absent.
  • favicon.*, iosicon.*, wp8icon.* — Site favicons. The extension will vary depending on the image type. If an icon is not included / its default value, its respective file will be absent.

You can install the script here. If you encounter errors backing up on your site, please open the browser console and report whatever errors appeared.

Available under the MIT License.

About

Userscript for backing up data in the admin panel, such as bans

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published