3 JSDUCK_MWVERSION
=master
4 if [[ "$1" == "--version" && "$2" != "" ]]
9 echo "Usage $0: [--version <mediawiki version>]"
15 --config=$
(cd $
(dirname $0)/..
; pwd)/maintenance
/jsduck
/config.json \
16 --footer="Documentation for MediaWiki core ($JSDUCK_MWVERSION). Generated on {DATE} by {JSDUCK} {VERSION}." \
17 && echo 'JSDuck execution finished.'