•  
      request #29636 PHP 8.0 support for MediaWiki 1.35
    Infos
    #29636
    Manuel Vacelet (vaceletm)
    2022-12-01 10:01
    2022-11-29 14:26
    31258
    Details
    PHP 8.0 support for MediaWiki 1.35

    With the end of security support of PHP 7.4, MediaWiki 1.35 is the only remaining piece of Tuleap that is not PHP 8.0 compatible.

    I saw commits on the MediaWiki side to make it compatible, what's the current status ?

    Mediawiki Standalone
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Robert Vogel (rvogel), Dejan Savuljesku (dsavuljesku)
    Stage
    Empty
    Blocked
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar

    As discussed today, the current plan is to:

    1. stabilize the integration of 1.35 (permissions & migrations) with PHP 7.4
    2. upgrade to 1.39 & ditch PHP 7.4
    3. GA the integration of MW Standalone
    User avatar
    Robert Vogel (rvogel)2022-12-01 09:19
    last edited by: Robert Vogel (rvogel) 2022-12-01 09:20

    I need to correct myself here: MediaWiki 1.39 was just released and apparently is compatible to PHP 8.0 and PHP 8.1: https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce@lists.wikimedia.org/thread/NBLSFOQLZKVXWIB3NBHDZ7XGCZB6UXG7/

    Sorry for the misleading post, I am more than surprised by this. There was no real indication that they would actually make it for this release. Especially not PHP 8.1.

    But I guess this is good news. We can now start testing on PHP 8.1 right away.

    User avatar

    Let's keep it this way right now, once the integration is stabilized with all the features we will consider moving to PHP 8.0.

    While not perfect I would rather avoid to add more moving parts right now.

    Thanks


    • Status changed from New to Blocked
    User avatar
    Robert Vogel (rvogel)2022-12-01 08:11

    While MediaWiki 1.35 (and probably MediaWiki 1.39) do not officially support PHP 8.0, there are numerous wiki sites using it already. For BlueSpice we have decided to officially support PHP 8.0 too.

    The MediaWiki community is actively working on PHP 8.0 and also PHP 8.1 compatiblity. But as mentioned above it is questionable if MediaWiki 1.39 will officially support it when it is released.