Jump to content
Toggle menu
  • 6 users
  • 271 edits
The Commonwealth of Acropolis
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

The Constitution is blocked from ratification due to the standing appointment of the Recruiter-General

Away:Module-maint: Difference between revisions

From The Commonwealth of Acropolis
Created page with "#!/usr/bin/env bash code=("$@") case "$1" in NukePage) # title:[--delete] php maintenance/run.php nukePage "${code[1]}:${code[@]:2}" ;; lag) php maintenance/run.php lag ;; invalSessions) # user php maintenance/run.php invalidateUserSessions --user "${code[1]}" ;; siteStats) php maintenance/run.php showSiteStats ;; *) /root/away/help.sh ;; esac"
 
No edit summary
Line 2: Line 2:
code=("$@")
code=("$@")
case "$1" in
case "$1" in
     NukePage) # title:[--delete]
     nukePage) # title:[--delete]
php maintenance/run.php nukePage "${code[1]}:${code[@]:2}"
php maintenance/run.php nukePage "${code[1]}:${code[@]:2}" --delete
;;
;;
     lag)
     lag)
Line 13: Line 13:
     siteStats)
     siteStats)
php maintenance/run.php showSiteStats
php maintenance/run.php showSiteStats
;;
    *)
/root/away/help.sh
;;
;;
esac
esac

Revision as of 00:03, 17 September 2026

#!/usr/bin/env bash
code=("$@")
case "$1" in
    nukePage) # title:[--delete]
	php maintenance/run.php nukePage "${code[1]}:${code[@]:2}" --delete
	;;
    lag)
	php maintenance/run.php lag
	;;
    invalSessions) # user
	php maintenance/run.php invalidateUserSessions --user "${code[1]}"
	;;
    siteStats)
	php maintenance/run.php showSiteStats
	;;
esac