There actually sort of is work on that, however the current version
wouldn't detect constants.
--
Brian
On Tuesday, February 14, 2023, Jeffrey Walton wrote:
> On Tue, Feb 14, 2023 at 3:30 PM Bartosz Dziewoński
> wrote:
> >
> > "NS_FILE" was introduced to replace "NS_IMAGE" in MediaWiki 1.14, w
> The solution is to just replace all occurrences of NS_IMAGE with NS_FILE
> (and NS_IMAGE_TALK with NS_FILE_TALK).
That fixed it! Thank you! /maintenance/update.php now runs in PHP 8.1
without error. Very glad to have this fixed. Thank you!
> (Congrats on running MediaWiki for long enough that y
That actually wouldn’t be a bad idea to create some kind of app on the
wmflabs that parses/updates LocalSettings.php configs and outputs the
modern standards.
On Tue, Feb 14, 2023 at 5:36 PM Jeffrey Walton wrote:
> On Tue, Feb 14, 2023 at 3:30 PM Bartosz Dziewoński
> wrote:
> >
> > "NS_FILE" wa
On Tue, Feb 14, 2023 at 3:30 PM Bartosz Dziewoński wrote:
>
> "NS_FILE" was introduced to replace "NS_IMAGE" in MediaWiki 1.14, which
> was released in 2009, fourteen years ago.
And in 14 years, Mediawiki has never warned users about it.
The first time we learn about these things in practice is
Hi Jeffrey,
"NS_FILE" was introduced to replace "NS_IMAGE" in MediaWiki 1.14, which
was released in 2009, fourteen years ago.
--
Bartosz Dziewoński
___
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
To unsubscribe send an email to mediaw
On Tue, Feb 14, 2023 at 1:57 PM Bartosz Dziewoński wrote:
>
> The "NS_IMAGE" constant, which you use in your LocalSettings.php, has
> been replaced by "NS_FILE" and removed in MediaWiki 1.34 (a while ago).
> It looks like PHP 7.4 was just ignoring it (and presumably some of the
> configuration you
The "NS_IMAGE" constant, which you use in your LocalSettings.php, has
been replaced by "NS_FILE" and removed in MediaWiki 1.34 (a while ago).
It looks like PHP 7.4 was just ignoring it (and presumably some of the
configuration you intended for the Image/File namespace was not applying
correctly
Thank you for your replies! It does me tons of good to have your help. So,
no worries about my array syntax. That is a relief. I don't know computer
programming. I'm one of the simple minded people. So I upgrade the wiki
only on LTR dates. Thank you for your help!
I get this error when I run the u
Yes its fine to use long array syntax.
Are the error messages suggesting that the syntax is wrong?
--
Brian
On Monday, February 13, 2023, wrote:
> Hello,
>
> I have some array declarations in my LocalSettings.php from many years ago
> that I am worried may not be compatible with PHP 8+. When I
Hi Roger, that's still the syntax. What are the errors you're getting?
On Tue, Feb 14, 2023 at 12:15 AM wrote:
> Hello,
>
> I have some array declarations in my LocalSettings.php from many years ago
> that I am worried may not be compatible with PHP 8+. When I try to run
> /maintenance/update.p
10 matches
Mail list logo