Hi Everyone,
During a Mediawiki 1.34.3 to Mediawiki 1.34.4 upgrade... When updating vendor components using 'php -d extension=phar.so composer.phar update':
Package wikimedia/password-blacklist is abandoned, you should avoid using it. Use wikimedia/common-passwords instead. Package jakub-onderka/php-parallel-lint is abandoned, you should avoid using it. Use php-parallel-lint/php-parallel-lint instead. Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead. Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
I don't add things to vendor/, and I did not install packages like password-blacklist or php-parallel-lint. It looks like these are part of a Mediawiki installation.
/var/www/html/wiki# find . -name password-blacklist ./vendor/wikimedia/password-blacklist
/var/www/html/wiki# find . -name php-parallel-lint ./vendor/jakub-onderka/php-parallel-lint
Jeff
On Fri, 25 Sep 2020 at 19:00, Jeffrey Walton noloader@gmail.com wrote:
Hi Everyone,
During a Mediawiki 1.34.3 to Mediawiki 1.34.4 upgrade... When updating vendor components using 'php -d extension=phar.so composer.phar update':
[Snip]
Yes, those are just warnings. All of them but the penultimate one has been fixed in MediaWiki 1.35.0 (just released), but are nothing to worry about unless you're maintaining the libraries that MediaWiki itself uses (e.g., me). For the PHPUnit ones in particular, it's unhelpful because the removed library is required for our current version of the tool, but replaced for the later ones that we're not using yet as we're still running instances on PHP 7.2.
Yours,
Hello, since 1.37.0 exists in my wiki the name space in front of filename ns0%3ASimpsonspedia.html.gz
If I use the cron job /usr/bin/rm [...]/cache/7/78/ns0%3ASimpsonspedia.html.gz I’ve got the error message /usr/bin/rm: cannot remove ‘[...]/cache/7/78/ns0’: No such file or directory.
All after ns0 is missed. I encode %3A to :
If I use the cron job /usr/bin/rm [...]/cache/7/78/ns0:Simpsonspedia.html.gz I’ve got the error message /usr/bin/rm: cannot remove ‘[...]/cache/7/78/ns0:Simpsonspedia.html.gz’: No such file or directory.
Where is my mistake?
Best regards Matt
Use quote marks (sounds like % has special meaning to your shell)
rm 'cache/7/78/ns0%3ASimpsonspedia.html.gz'
- Brian
On Saturday, December 4, 2021, Support Simpsonspedia < support@simpsonspedia.net> wrote:
Hello, since 1.37.0 exists in my wiki the name space in front of filename ns0%3ASimpsonspedia.html.gz
If I use the cron job */usr/bin/rm [...]/cache/7/78/ns0%3ASimpsonspedia.html.gz* I’ve got the error message */usr/bin/rm: cannot remove ‘[...]/cache/7/78/ns0’: No such file or directory*.
All after ns0 is missed. I encode %3A to :
If I use the cron job */usr/bin/rm [...]/cache/7/78/ns0:Simpsonspedia.html.gz* I’ve got the error message */usr/bin/rm: cannot remove ‘[...]/cache/7/78/ns0:Simpsonspedia.html.gz’: No such file or directory*. Where is my mistake?
Best regards Matt
doesn’t work
/bin/sh: -c: line 0: unexpected EOF while looking for matching `'' /bin/sh: -c: line 1: syntax error: unexpected end of file
Matt
From: Brian Wolff Sent: Saturday, December 4, 2021 3:01 PM To: MediaWiki announcements and site admin list Subject: [MediaWiki-l] Re: Cache Mediawiki 1.37.0
Use quote marks (sounds like % has special meaning to your shell)
rm 'cache/7/78/ns0%3ASimpsonspedia.html.gz'
- Brian
On Saturday, December 4, 2021, Support Simpsonspedia support@simpsonspedia.net wrote:
Hello, since 1.37.0 exists in my wiki the name space in front of filename ns0%3ASimpsonspedia.html.gz
If I use the cron job /usr/bin/rm [...]/cache/7/78/ns0%3ASimpsonspedia.html.gz I’ve got the error message /usr/bin/rm: cannot remove ‘[...]/cache/7/78/ns0’: No such file or directory.
All after ns0 is missed. I encode %3A to :
If I use the cron job /usr/bin/rm [...]/cache/7/78/ns0:Simpsonspedia.html.gz I’ve got the error message /usr/bin/rm: cannot remove ‘[...]/cache/7/78/ns0:Simpsonspedia.html.gz’: No such file or directory.
Where is my mistake?
Best regards Matt
-------------------------------------------------------------------------------- _______________________________________________ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
The solution is a backslash in front of the percent sign.
cache/7/78/ns0%3ASimpsonspedia.html.gz
Matt
From: Support Simpsonspedia Sent: Saturday, December 4, 2021 5:24 PM To: MediaWiki announcements and site admin list Subject: [MediaWiki-l] Re: Cache Mediawiki 1.37.0
doesn’t work
/bin/sh: -c: line 0: unexpected EOF while looking for matching `'' /bin/sh: -c: line 1: syntax error: unexpected end of file
Matt
From: Brian Wolff Sent: Saturday, December 4, 2021 3:01 PM To: MediaWiki announcements and site admin list Subject: [MediaWiki-l] Re: Cache Mediawiki 1.37.0
Use quote marks (sounds like % has special meaning to your shell)
rm 'cache/7/78/ns0%3ASimpsonspedia.html.gz'
- Brian
On Saturday, December 4, 2021, Support Simpsonspedia support@simpsonspedia.net wrote:
Hello, since 1.37.0 exists in my wiki the name space in front of filename ns0%3ASimpsonspedia.html.gz
If I use the cron job /usr/bin/rm [...]/cache/7/78/ns0%3ASimpsonspedia.html.gz I’ve got the error message /usr/bin/rm: cannot remove ‘[...]/cache/7/78/ns0’: No such file or directory.
All after ns0 is missed. I encode %3A to :
If I use the cron job /usr/bin/rm [...]/cache/7/78/ns0:Simpsonspedia.html.gz I’ve got the error message /usr/bin/rm: cannot remove ‘[...]/cache/7/78/ns0:Simpsonspedia.html.gz’: No such file or directory.
Where is my mistake?
Best regards Matt
-------------------------------------------------------------------------------- _______________________________________________ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
-------------------------------------------------------------------------------- _______________________________________________ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
Hi,
On 2020-09-25 10:59, Jeffrey Walton wrote:
Hi Everyone,
During a Mediawiki 1.34.3 to Mediawiki 1.34.4 upgrade... When updating vendor components using 'php -d extension=phar.so composer.phar update':
Adding to what James said, you should also pass --no-dev when you run composer update, which will ensure that you only install the dependencies that MediaWiki needs to run, and not all of the developer tooling. That'll get rid of the php-parallel-lint and phpunit warnings too.
-- Legoktm
mediawiki-l@lists.wikimedia.org