Skip to content

Bugfix/rand without param v3#796

Merged
wisskid merged 8 commits intosupport/3.1from
bugfix/rand_without_param_v3
Sep 12, 2022
Merged

Bugfix/rand without param v3#796
wisskid merged 8 commits intosupport/3.1from
bugfix/rand_without_param_v3

Conversation

@wisskid
Copy link
Copy Markdown
Member

@wisskid wisskid commented Sep 12, 2022

No description provided.

@wisskid wisskid merged commit 25051e6 into support/3.1 Sep 12, 2022
@wisskid wisskid deleted the bugfix/rand_without_param_v3 branch January 26, 2023 11:59
Comment thread composer.json
},
"require": {
"php": ">=5.2"
"php": "^5.2 || ^7.0"
Copy link
Copy Markdown

@estan estan Feb 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wisskid Hey, I had been using smarty 3.1.x with PHP 8. Just want to confirm that this was intended - not compatible with 8?

I was actually using it indirectly through the Widgets extension for MediaWiki, which requires smarty 3.1.x. But I ran into a problem trying to install it in a mediawiki:1.39.2 Docker container recently (which uses PHP 8), since the Widgets extension had bumped their smarty requirement to 1.3.47 to get a recent security fix, which brought along this change.

(see wikimedia/mediawiki-extensions-Widgets@a13445f#r102066674)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, PHP8 support has been added in smarty v4. It should be a relatively cheap upgrade.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And Smarty 5 is in development 👍
#852

Copy link
Copy Markdown

@estan estan Feb 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, thanks guys. Now I actually saw that the MediaWiki Widget extensions folks moved back to 3.1.46 in their master branch due to this, I guess until they've ensured it'll work with 4.x (wikimedia/mediawiki-extensions-Widgets@2022ef9). (I was using their REL_1_39 branch).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see why they do this, but in reality the 3.1.46 version is of course no more php8 compatible than 3.1.47 is.

Copy link
Copy Markdown

@bawolff bawolff Feb 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, yes. The 3.1.46 thing we did is just super temporary until we can update to 4, which we (mediawiki widgets extension) intend to do in short order once we fix our incompatibilities with 4.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants