Misc scripts

From Wikitech
Revision as of 09:24, 24 September 2004 by Jeronim (Talk)

Jump to: navigation, search

Various misc useful scripts:

  • upload a local file to the wiki as an edit:
 /home/wikipedia/bin/upload en wikipedia /etc/passwd Wikipedia:Sandbox
  • count the number of contributions from a user:
 /home/wikipedia/bin/editcount en wikipedia Kate
  • make a function for each hostname, so that e.g.: browne ps will connect to browne and perform ps:
ALLNG=/usr/local/dsh/node_groups/ALL
if [ -r $ALLNG ]; then for host in $(<$ALLNG); $host() { ssh $0 $* }; fi
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox