Upgrade to MW 1.27 and add restbase
Closed, ResolvedPublic

Description

Now MW 1.27 works but we have to check all extensions

We need restbase working with high speed

Math support for PNG must be dropped

tomaluca created this task.Jun 9 2016, 2:37 PM
ruphy edited projects, added WikiToLearn (0.8), Restricted Project, Restricted Project; removed WikiToLearn.Jun 16 2016, 7:54 AM

What are the steps to try a local update of mediawiki?

In T2880#39975, @mte90 wrote:

What are the steps to try a local update of mediawiki?

My workflow is:

  1. delete dockers
  2. delete docker volusmes
  3. update the mediawiki.version and the extensions.list.version with the latest version
  4. run the first run procedure

perfect, what are the files to change that versions?

mediawiki.version and the extensions.list.version are the file in the WikiToLearn main repo with inside the mediawiki version and all extensions versions.

mediawiki.version and the extensions.list.version are the file in the WikiToLearn main repo with inside the mediawiki version and all extensions versions.

So I have to change manually in all the extensions that variables?

No, if you open the WikiToLearn repo you can see the two files.

If you open the file you see the mediawiki version in the mediawikiversion file and all extensions and the version of each extension in the extensions.list.version.

We have also some exstension as submodule in the extensions dir

So I have to change manually in all the extensions that variables?

Tipically the file in the repo here and here are already updated so to update your local instance you just need to ./instance.sh dowload and you're okay

So the ideal workflow (in that way we have the docs):

Yes, but when you run the

./instance.sh download

and you have a new mediawiki version (only for mediawiki) the symlink for localsettings.php is broken, with the first-run the system automaticaly fix this problem

If you want to use the "download" procedure you don't have to delete docker and volumes ( ./instance.sh stop && ./instance.sh delete-full), this is required only if you want use the first run way

mte90 added a comment.EditedJun 20 2016, 8:56 PM

The new workflow:

mte90 added a comment.Jun 20 2016, 8:57 PM

It is missing what is the number of the last version, in my case i have REL1_27-5f3cc9b that not exist anymore

I think you don't have the latest wtlhome version

I added the automated failback to git repo sometime ago.

But i think you don't have the last version of the wikitolearn repo too, try pull in both

mte90 added a comment.Jun 20 2016, 9:11 PM

Ok updated, now the list is autoupdated, so edit the version on the files is not required to force the download of 1.27?

Now i'm keeping everything updated, but i'm not checking if every function is working fine.

I think the required thing is keep an eye on every extension an

Now, because is not relased yet, we are using the REL1_27 branch instade of the relase version, if you look at previous commit you can see how is managed the stable version

mte90 added a comment.Jun 20 2016, 9:23 PM

Ok i missed to do the git pull on wikitolearnhome/wikitolearn

Ok so, the procedure is:

./instance.sh update-home To update the WikiToLearnHome repository
./instance.sh download it do several things, included pulling the lates version from the repo of wikitolearn and updating the extensions and mediawiki core
./instance.sh start

And you should be fine! :D

mte90 added a comment.Jun 20 2016, 9:32 PM

Ok guys is time to write that steps somewhere XD

In T2880#40129, @mte90 wrote:

Ok guys is time to write that steps somewhere XD

OK, did it get written somewhere? :-)

I want to try it before write somewhere

mte90 added a comment.Jun 29 2016, 4:31 PM

Ok the procedure works to get an update version.
Actually seems that everything is working but we have to define a protocol about every extension for test if it is working.

mapellidario added a subscriber: mapellidario.EditedJul 5 2016, 8:48 AM
In T2880#43260, @mte90 wrote:

That page is intended to be a guide for the first envrironment setup. I moved those lines to the instance.sh guide, which is intended to be the detailed guide to managing WTL repo through WTLH, and has a section, namely "Use cases", where such operations are described.
I removed the line about updating WTLH. The user is always expected to keep its repo updates, i do not think that there is any need to write that everywhere everytime

mte90 added a comment.Jul 5 2016, 9:14 AM

perfect, the important that is somewhere in the best place!

ruphy closed this task as Resolved.