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
No edit summary
No edit summary
 
Line 3: Line 3:
case "$1" in
case "$1" in
     nukePage) # title:[--delete]
     nukePage) # title:[--delete]
php maintenance/run.php nukePage "${code[1]}:${code[@]:2}" --delete
php maintenance/run.php nukePage "${code[1]}" --delete
;;
;;
     lag)
     lag)

Latest revision as of 11:28, 17 September 2026

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