Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/rand without param v3 #796

Merged
merged 8 commits into from
Sep 12, 2022
Merged

Conversation

wisskid
Copy link
Contributor

@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
@@ -27,7 +27,7 @@
"forum": "http://www.smarty.net/forums/"
},
"require": {
"php": ">=5.2"
"php": "^5.2 || ^7.0"
Copy link

@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
Contributor 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
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

@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
Contributor 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

@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.

None yet

4 participants