Podręcznik:RunScript.php

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:RunScript.php and the translation is 44% complete.
Other languages:
English • ‎español • ‎polski • ‎português do Brasil • ‎македонски • ‎日本語

Szczegóły

runScript.php file is a convenience maintenance script wrapper, useful for scripts or extensions located outside of standard locations.

Użycie

To use, give the maintenance script as a relative or full path.

Przykłady

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

Or use the full path:

php /var/www/mediawiki/maintenance/runScript.php maintenance/runJobs.php