First : installing the standard mediawiki for ubuntu
sudo apt-get install mediawiki
Hole:1 http://ftp.riken.jp karmic/main mysql-common 5.1.37-1ubuntu5 [69,5kB]
Hole:2 http://ftp.riken.jp karmic/main libmysqlclient16 5.1.37-1ubuntu5 [1903kB]
Hole:3 http://ftp.riken.jp karmic/main mysql-client 5.1.37-1ubuntu5
[63,7kB]
Hole:4 http://ftp.riken.jp karmic/main mysql-client-5.1
5.1.37-1ubuntu5 [8201kB]
Hole:5 http://ftp.riken.jp karmic/main mysql-server-core-5.1
5.1.37-1ubuntu5 [3838kB]
Hole:6 http://ftp.riken.jp karmic/main mysql-server-5.1
5.1.37-1ubuntu5 [7186kB]
Hole:7 http://ftp.riken.jp karmic/main libxml2-dev 2.7.5.dfsg-1ubuntu1
[745kB]
Hole:8 http://ftp.riken.jp karmic/main libxml2 2.7.5.dfsg-1ubuntu1
[819kB]
Hole:9 http://ftp.riken.jp karmic/main php5-common
5.2.10.dfsg.1-2ubuntu6 [424kB]
Hole:10 http://ftp.riken.jp karmic/main libapache2-mod-php5
5.2.10.dfsg.1-2ubuntu6 [2502kB]
Hole:11 http://ftp.riken.jp karmic/main php5 5.2.10.dfsg.1-2ubuntu6
[1120B]
Hole:12 http://ftp.riken.jp karmic/main php5-cli
5.2.10.dfsg.1-2ubuntu6 [2507kB]
Hole:13 http://ftp.riken.jp karmic/main php5-mysql
5.2.10.dfsg.1-2ubuntu6 [66,2kB]
Hole:14 http://ftp.riken.jp karmic/universe mediawiki 1:1.15.0-1.1
[10,8MB]
Hole:15 http://ftp.riken.jp karmic/main mysql-server 5.1.37-1ubuntu5 [63,9kB]
Second, getting source code of latest mediawiki
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 wiki
Third Checkout of various git libs for php :
524 git clone git://github.com/patrikf/glip.git
525 git clone http://people.proekspert.ee/peeter/git/git.php?p=git-php.git
526 git clone http://people.proekspert.ee/peeter/git/git-php.git yourpath
527 clone git://github.com/josegonzalez/git-php.git
528 git clone git://repo.or.cz/viewgit.git
529 git clone git://github.com/josegonzalez/git-php.git
my first goal will be to create a way to store all the changes to
articles in git.
that means
1. Creation of branchs for each article
1.1 creation of file names for each article
1.2 every time an edit is made, a commit is done (locally)
1.3. a periodic timer will push the repositories to other locations.
Mike
> Second, getting source code of latest mediawiki
> svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 wiki
You could have used
git svn clone http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3 wiki
to get *all* of the Mediawiki history in git. Doing it this way would
ease your work as the Mediawiki codebase moves forward, requiring your
changes to be rebased on top of the latest version.
--
// Bernie Innocenti - http://codewiz.org/
\X/ Sugar Labs - http://sugarlabs.org/
Right now I am debugging the first extension file to mediawiki, it can
be installed and worked out without the entire mediawiki svn repo.
I am using the version from ubuntu.
let me check the new code in .
http://mediawikivcs.indefero.net/p/mediawiki/source/tree/master/var/lib/mediawiki/extensions/VCS/SendToGIT.php
more to come.
mike