The latest stable I ran was 1.26.something. I have since flipped over to
running the latest wmf branch using strictly git and phabricator.
Including ext and skins. So now I run versioning parallel to both
mediawiki and wikipedia. I typically lag 1 day behind mediawiki. Yes,
there's a couple of extra steps but for me, a single user wiki, I don't
have any issues with it.

I do the git action in dir's outside the production root and then copy
over to the root after a backup.

The link you reference has, I think, a better path/description for using
git under the wmf/branches section.  At least that's what connected the
dots for me.

Typically when a wmf has been updated, the extensions will also reflect
the updated versioning # even if the extension hasn't actually been
updated. This is where I use phabricator and update as I want or need.

If your using composer, don't forget to update composer before running
/maintenance/update.php else update will fail.


Chap
http://wiki.jonesipedia.com/wiki/Special:Version

*********************************************************



On 8/25/2016 11:37 PM, Dr. Michael Bonert wrote:
> Are there any thoughts on managing updates of Mediawiki with git?
> 
> I'm not a developer... but I have flirted with the idea a bit.  I program
> occasionally here and there-- though my day job is totally unrelated.
> 
> I have played with git and I have a couple of Mediawiki installs
> that are running from installs via git.  I like that I can roll
> forward and roll back easily.
> 
> Updates of the wiki in theory should be:
> ----
> pathofwiki# git checkout 1.26.4
> pathofwiki# php maintenance/update.php
> ----
> 
> What is opaque to me is the submodules.
> 
> The skins, extensions and external libraries have to be updated with
> two or three commands... this is missing.  I think it stems from gaps in
> my knowledge about git.
> 
> 
> https://www.mediawiki.org/wiki/Download_from_Git#Download_an_extension
> suggests:
> ---
> cd path/to/extensions
> git pull
> git submodule update --init --recursive
> ---
> 
> ---
> If I try the above I get...
> cd path/to/extensions
> # git pull
> You are not currently on a branch. Please specify which
> branch you want to merge with. See git-pull(1) for details.
> 
>     git pull <remote> <branch>
> 
> ---
> Branch info
> # git branch
> * (detached from 1.26.4)
>   master
> 
> ---
> # git submodule update --init --recursive
> seems to do nothing
> 
> 
> Can someone enlighten me on this or point me to something like
> "git for amateurs"?
> 
> Thanks in Advance,
> Michael
> 
> 
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to