Download:MediaWiki updater script/Examples

From LizardWiki, FastLizard4's wiki and website
Jump to: navigation, search

Contents

These are usage and output examples for the MediaWiki updater script. Return to the description page

Standard usage

Example of the script being called with no arguments, updating everything without changing releases.

fastlizard4@lizardwiki:/var/www/w$ sudo ./update.sh
Pulling core: From https://gerrit.wikimedia.org/r/p/mediawiki/core
   63b004d..578fc56  master     -> origin/master
Already up-to-date.
Pulling in extension AbuseFilter: Already up-to-date.
Pulling in extension AntiSpoof: Already up-to-date.
Pulling in extension CheckUser: Already up-to-date.
Pulling in extension Cite: Already up-to-date.
Pulling in extension CodeReview: Already up-to-date.
Pulling in extension ConfirmAccount: Already up-to-date.
Pulling in extension ConfirmEdit: Already up-to-date.
Pulling in extension DismissableSiteNotice: Already up-to-date.
Pulling in extension Editcount: Already up-to-date.
Pulling in extension EmbedVideo: Already up-to-date.
Pulling in extension HTMLets: Already up-to-date.
Pulling in extension InputBox: Already up-to-date.
Pulling in extension Interwiki: Already up-to-date.
Pulling in extension Lockdown: Already up-to-date.
Pulling in extension LookupUser: Already up-to-date.
Pulling in extension Nuke: Already up-to-date.
Pulling in extension Oversight: Already up-to-date.
Pulling in extension ParserFunctions: Already up-to-date.
Pulling in extension PdfHandler: Already up-to-date.
Pulling in extension Poem: Already up-to-date.
Pulling in extension README: ./update.sh: line 44: cd: README: Not a directory
Pulling in extension Renameuser: Already up-to-date.
Pulling in extension RomanNumbers: Already up-to-date.
Pulling in extension Sudo: Already up-to-date.
Pulling in extension SyntaxHighlight_GeSHi: Already up-to-date.
Pulling in extension WhosOnline: Already up-to-date.
MediaWiki 1.20.2 Updater

Going to run database updates for lizardwiki
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ... 5�4�3�2�1�0
<etc...>

Same standard usage, but this time with updates available:

fastlizard4@lizardwiki:/var/stg.fastlizard4.org/www/w$ ./update.sh
Pulling core: From https://gerrit.wikimedia.org/r/p/mediawiki/core
   077614c..e534927  REL1_20    -> origin/REL1_20
   6f2c57c..d7c9f52  chinese-collation -> origin/chinese-collation
   b421871..d971047  fundraising/1.20 -> origin/fundraising/1.20
   578fc56..1c4587aa master     -> origin/master
   f141b70..32882f2  wmf/1.21wmf8 -> origin/wmf/1.21wmf8
 * [new branch]      wmf/1.21wmf9 -> origin/wmf/1.21wmf9
Updating 077614c..e534927
Fast-forward
 composer.json |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 composer.json
Pulling in extension AntiSpoof: From https://gerrit.wikimedia.org/r/p/mediawiki/extensions/AntiSpoof
   0f27d42..4496212  master     -> origin/master
Already up-to-date.
Pulling in extension CheckUser: From https://gerrit.wikimedia.org/r/p/mediawiki/extensions/CheckUser
   f26c08e..d55b827  master     -> origin/master
Already up-to-date.
Pulling in extension Cite: From https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Cite
   f1b22c4..497d251  master     -> origin/master
Already up-to-date.
Pulling in extension CodeEditor: Already up-to-date.
Pulling in extension ConfirmAccount: From https://gerrit.wikimedia.org/r/p/mediawiki/extensions/ConfirmAccount
   b15697b..75dfb8d  master     -> origin/master
Already up-to-date.
Pulling in extension ConfirmEdit: From https://gerrit.wikimedia.org/r/p/mediawiki/extensions/ConfirmEdit
   f0cf74f..6c5f15f  master     -> origin/master
Already up-to-date.
Pulling in extension Interwiki: Already up-to-date.
Pulling in extension Nuke: From https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Nuke
   9db1bba..dd6aee3  master     -> origin/master
Already up-to-date.
Pulling in extension ParserFunctions: From https://gerrit.wikimedia.org/r/p/mediawiki/extensions/ParserFunctions
   215c5a0..5df86ee  master     -> origin/master
Already up-to-date.
Pulling in extension README: ./update.sh: line 44: cd: README: Not a directory
Pulling in extension Renameuser: From https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Renameuser
   3e04d21..3d58c10  master     -> origin/master
Already up-to-date.
Pulling in extension Scribunto: From https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Scribunto
   4c69b13..04b2078  master     -> origin/master
Already up-to-date.
Pulling in extension SyntaxHighlight_GeSHi: Already up-to-date.
Pulling in extension Vector: Already up-to-date.
Pulling in extension WikiEditor: From https://gerrit.wikimedia.org/r/p/mediawiki/extensions/WikiEditor
   bc0aa70..97bbf76  master     -> origin/master
Already up-to-date.
MediaWiki 1.20.2 Updater

Going to run database updates for stgwiki
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ... 5�4�3�2�1�0
<etc...>