Add some updating instructions in README
This commit is contained in:
parent
afa705be14
commit
5cc55eb5aa
1 changed files with 32 additions and 0 deletions
32
README.md
32
README.md
|
|
@ -1,3 +1,35 @@
|
|||
# TechInc fork of MediaWiki
|
||||
|
||||
To add the upstream repo
|
||||
|
||||
```
|
||||
git remote add upstream https://gerrit.wikimedia.org/r/mediawiki/core.git
|
||||
```
|
||||
|
||||
Make sure you track the correct upstream branch for the current release (`REL1_43` at the time of writing, an LTS release).
|
||||
|
||||
To rebase our changes on top of the upstream codebase
|
||||
```
|
||||
git pull upstream --rebase --autostash
|
||||
```
|
||||
|
||||
Make sure you update the submodules with
|
||||
```
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
If you change any composer files, run
|
||||
```
|
||||
composer update
|
||||
```
|
||||
|
||||
To update the MediaWiki database (*IMPORTANT*: do a backup beforehand!)
|
||||
```
|
||||
php maintenance/run.php update
|
||||
```
|
||||
|
||||
|
||||
|
||||
# MediaWiki
|
||||
|
||||
MediaWiki is a free and open-source wiki software package written in PHP. It
|
||||
|
|
|
|||
Loading…
Reference in a new issue