Mailing List Archive

stuck on MediaWiki 1.39.2
Hello everyone!

I need some advice... I am currently stuck on MediaWiki 1.39.2 and can't
upgrade to newer versions within this LTS release.

I am using PluggableAuth and SimpleSAMLphp to authenticate users to our
wikis. Starting with MW 1.39.3, these extensions were updated to newer
versions (7.0.0) that don't work any more, at least with PostgreSQL as
database (see https://phabricator.wikimedia.org/T348543). I am still
using MW 1.39.2 with versions 6.2 of PluggableAuth and 5.0.1 of
SimpleSAMLphp.

I would like to combine MW 1.39.6 with the older versions of the
extensions, but here

https://extdist.wmflabs.org/dist/extensions/

only the newer ones are available.

I have tried to use composer (with which I have zero knowledge and IMHO
the documentation is ... challenging), and I was able to install
MediaWiki itself and PluggableAuth via composer, but not SimpleSAMLphp.
This extensions seems to be completely unknown to composer.

Switching from PostgreSQL to MySQL is a last resort. The migration does
not seem to be straight forward at all, and it is even unclear if it
would solve my problem in the first place.

Any ideas how to move forward are welcome!

Maybe what I really would like to ask for is: Don't make major updates
to (essential) extensions within an LTS release of MediaWiki, please
coordinate them with major updates of MediaWiki core.

Cheers,
Joern

--
Jörn Clausen
https://www.uni-bielefeld.de/bits
_______________________________________________
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
Re: stuck on MediaWiki 1.39.2 [ In reply to ]
Hello J?rn!

I will check T348543 as soon as possible. In the meantime, you should be able to use the legacy versions of Extension:PluggableAuth and Extension:SimpleSAMLphp with later versions of MediaWiki 1.39 as well. If they worked with 1.39.2 for you, I don't see any reason why they shouldn't work with 1.39.6. You can just keep the versions you already have.

You are right, the REL1_39 branch currently contains 7.x versions. So if you clone the extension repo from the HEAD of this branch you will always get the latest version.

But there are simple ways to retrieve the exact versions you need.

Example using GIT:

git clone --depth 1 -b 5.0.1 https://github.com/wikimedia/mediawiki-extensions-SimpleSAMLphp SimpleSAMLphp

Example using a Tarball:

mkdir SimpleSAMLphp && wget -O - https://github.com/wikimedia/mediawiki-extensions-SimpleSAMLphp/archive/refs/tags/5.0.1.tar.gz | tar -xz --strip-components=1 -C SimpleSAMLphp

Regarding installation with composer: It is also possible, but in this case not required, as none of the extensions have external dependencies to be pulled in. Therefore, I will not explain in detail how to do this here.

Best regards,
Robert
________________________________
Von: Clausen, J?rn <joern.clausen@uni-bielefeld.de>
Gesendet: Donnerstag, 18. Januar 2024 11:31
An: mediawiki-l@lists.wikimedia.org <mediawiki-l@lists.wikimedia.org>
Betreff: [MediaWiki-l] stuck on MediaWiki 1.39.2

Hello everyone!

I need some advice... I am currently stuck on MediaWiki 1.39.2 and can't
upgrade to newer versions within this LTS release.

I am using PluggableAuth and SimpleSAMLphp to authenticate users to our
wikis. Starting with MW 1.39.3, these extensions were updated to newer
versions (7.0.0) that don't work any more, at least with PostgreSQL as
database (see https://phabricator.wikimedia.org/T348543). I am still
using MW 1.39.2 with versions 6.2 of PluggableAuth and 5.0.1 of
SimpleSAMLphp.

I would like to combine MW 1.39.6 with the older versions of the
extensions, but here

https://extdist.wmflabs.org/dist/extensions/

only the newer ones are available.

I have tried to use composer (with which I have zero knowledge and IMHO
the documentation is ... challenging), and I was able to install
MediaWiki itself and PluggableAuth via composer, but not SimpleSAMLphp.
This extensions seems to be completely unknown to composer.

Switching from PostgreSQL to MySQL is a last resort. The migration does
not seem to be straight forward at all, and it is even unclear if it
would solve my problem in the first place.

Any ideas how to move forward are welcome!

Maybe what I really would like to ask for is: Don't make major updates
to (essential) extensions within an LTS release of MediaWiki, please
coordinate them with major updates of MediaWiki core.

Cheers,
Joern

--
J?rn Clausen
https://www.uni-bielefeld.de/bits
_______________________________________________
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
Re: stuck on MediaWiki 1.39.2 [ In reply to ]
Hello!

Wow! Thanks Robert! Both for the workaround (fetching the tar balls from
Github makes my work easier anyway), and for the super fast fix to the
underlying problem.

So the problem is not related to the database backend? Are there so few
users of the SimpleSAMLphp connector, that nobody else had this issue?

Best regards,
Joern


Am 19.01.2024 um 08:26 schrieb Robert Vogel via MediaWiki-l:
> Hello Jörn!
>
> I will check T348543 as soon as possible. In the meantime, you should be
> able to use the legacy versions of Extension:PluggableAuth and
> Extension:SimpleSAMLphp with later versions of MediaWiki 1.39 as well.
> If they worked with 1.39.2 for you, I don't see any reason why they
> shouldn't work with 1.39.6. You can just keep the versions you already have.
>
> You are right, the REL1_39 branch currently contains 7.x versions. So if
> you clone the extension repo from the HEAD of this branch you will
> always get the latest version.
>
> But there are simple ways to retrieve the exact versions you need.
>
> Example using GIT:
>
>     git clone --depth 1 -b 5.0.1
> https://github.com/wikimedia/mediawiki-extensions-SimpleSAMLphp
> SimpleSAMLphp
>
> Example using a Tarball:
>
>     mkdir SimpleSAMLphp && wget -O -
> https://github.com/wikimedia/mediawiki-extensions-SimpleSAMLphp/archive/refs/tags/5.0.1.tar.gz | tar -xz --strip-components=1 -C SimpleSAMLphp
>
> Regarding installation with composer: It is also possible, but in this
> case not required, as none of the extensions have external dependencies
> to be pulled in. Therefore, I will not explain in detail how to do this
> here.
>
> Best regards,
> Robert
> ------------------------------------------------------------------------
> *Von:* Clausen, Jörn <joern.clausen@uni-bielefeld.de>
> *Gesendet:* Donnerstag, 18. Januar 2024 11:31
> *An:* mediawiki-l@lists.wikimedia.org <mediawiki-l@lists.wikimedia.org>
> *Betreff:* [MediaWiki-l] stuck on MediaWiki 1.39.2
> Hello everyone!
>
> I need some advice... I am currently stuck on MediaWiki 1.39.2 and can't
> upgrade to newer versions within this LTS release.
>
> I am using PluggableAuth and SimpleSAMLphp to authenticate users to our
> wikis. Starting with MW 1.39.3, these extensions were updated to newer
> versions (7.0.0) that don't work any more, at least with PostgreSQL as
> database (see https://phabricator.wikimedia.org/T348543)
> <https://phabricator.wikimedia.org/T348543)>. I am still
> using MW 1.39.2 with versions 6.2 of PluggableAuth and 5.0.1 of
> SimpleSAMLphp.
>
> I would like to combine MW 1.39.6 with the older versions of the
> extensions, but here
>
> https://extdist.wmflabs.org/dist/extensions/
> <https://extdist.wmflabs.org/dist/extensions/>
>
> only the newer ones are available.
>
> I have tried to use composer (with which I have zero knowledge and IMHO
> the documentation is ... challenging), and I was able to install
> MediaWiki itself and PluggableAuth via composer, but not SimpleSAMLphp.
> This extensions seems to be completely unknown to composer.
>
> Switching from PostgreSQL to MySQL is a last resort. The migration does
> not seem to be straight forward at all, and it is even unclear if it
> would solve my problem in the first place.
>
> Any ideas how to move forward are welcome!
>
> Maybe what I really would like to ask for is: Don't make major updates
> to (essential) extensions within an LTS release of MediaWiki, please
> coordinate them with major updates of MediaWiki core.
>
> Cheers,
>     Joern
>
> --
> Jörn Clausen
> https://www.uni-bielefeld.de/bits <https://www.uni-bielefeld.de/bits>
> _______________________________________________
> MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
> To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ <https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/>
>
> _______________________________________________
> MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
> To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/

--
Jörn Clausen
Plattformen & Serverdienste
BITS - Bielefelder IT-Servicezentrum
https://www.uni-bielefeld.de/bits
_______________________________________________
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/