-
Notifications
You must be signed in to change notification settings - Fork 31
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
Creation of dynamic property is deprecated #228
Comments
It's upstream. Should be reported there: https://phabricator.wikimedia.org/tag/php_8.2_support/. Don't know if they will patch MediaWiki 1.39 for compatibility with PHP 8.2. |
But it also happens in PHP 8.1 |
No, correction. It only happens in 8.2. In 8.1 only this one is shown: |
the smw errors could be solved from here
(src/PostProcHandler.php) and using also considering this comment
(src/DependencyValidator.php) |
regarding |
I don't know if this is upstream. On Phabricator, they created tasks like this here for a bunch of extensions individually rather than doing it for MediaWiki itself to fix all downstream issues.
So, I agree with Thomas. |
Could this be an unused artifact from previous integration with Approved Revs? If I am not mistaken, MWJames moved these extra special properties out of this extension into Semantic Approved Revs. |
@kghbln right, it must be related to Approved Revs or something similar |
Setup and configuration
Issue
Using php 8.2. shows a lot of deprecation warnings (also happening in PHP 8.1)
SemanticExtraSpecialProperties/src/PropertyDefinitions.php
Line 58 in 61660ba
https://stackoverflow.com/questions/74991682/php-8-2-dynamic-properties-deprecated-how-to-use-them-anyway-in-a-compatible-wa
The text was updated successfully, but these errors were encountered: