Manual:RunScript.php/mk
Appearance
MediaWiki file: runScript.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | Find code • Find documentation |
Details
runScript.php file is a convenience maintenance script wrapper, useful for scripts or extensions located outside of standard locations.
Usage
To use, give the maintenance script as a relative or full path.
Examples
If your pwd is mediawiki base folder:
php maintenance/runScript.php extensions/Wikibase/lib/maintenance/dispatchChanges.php
If your pwd is maintenance folder:
php runScript.php ../extensions/Wikibase/lib/maintenance/dispatchChanges.php
Или послужете се со целата патека:
php /var/www/mediawiki/maintenance/runScript.php maintenance/runJobs.php