Re: array syntax

Brian Wolff <[email protected]>
Newsgroups gmane.org.wikimedia.mediawiki
Message-ID <CA+oo+DUP30AEbYUD+394NSzyqsEYSF+ebMKcSmLmMZGEPHYzbw@mail.gmail.com>
There actually sort of is work on that, however the current version
wouldn't detect constants.

--
Brian

On Tuesday, February 14, 2023, Jeffrey Walton <[email protected]> wrote:

> On Tue, Feb 14, 2023 at 3:30 PM Bartosz Dziewoński <[email protected]>
> 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 when
> something breaks. Usually after an upgrade.
>
> The devs really need to supply a linter that we can run on
> LocalSettings.php so we can discover the problems earlier than "it
> broke after an upgrade." And hopefully the linter will suggest the
> next step, like renaming NS_IMAGE to NS_FILE.
>
> Jeff
> _______________________________________________
> MediaWiki-l mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://lists.wikimedia.org/postorius/lists/mediawiki-l.
> lists.wikimedia.org/

_______________________________________________
MediaWiki-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.