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
Hi,
I've been trying to get rid of the ESLint warnings for the JavaScript code
in some of my extensions, when they go through Jenkins validation. One
warning that appears fairly often is this one:
Where possible, maintain application state in JS to avoid slower DOM queries
no-jquery/no-class-state
I'm not sure if this is a warning that's specific to Wikimedia code, but
doing a web search on it brings up this Wikimedia help page as the only
real result:
https://github.com/wikimedia/eslint-plugin-no-jquery/blob/master/docs/rules…
This page is rather confusing. It says that the warning comes when calling
either hasClass() or toggleClass() on a jQuery element. That part makes
sense, but then the suggested alternatives are strange. The page says that
the following are some examples of bad code:
$( 'div' ).hasClass();
$div.hasClass();
In their place, it suggests the following:
hasClass();
[].hasClass();
div.hasClass();
Can anyone explain this? As far as I'm aware, hasClass() is only defined in
jQuery - and there, only as a method for variables representing jQuery
elements. So what do those "recommended" lines mean? And in general, what
is the best way to determine whether some element on the page has a certain
class?
-Yaron
--
WikiWorks · MediaWiki Consulting · http://wikiworks.com
Hello all,
I would like to announce the release of MediaWiki Language Extension
Bundle 2021.07. This bundle is compatible with MediaWiki 1.35 or above
and requires PHP 7.2 or above.
Next MLEB is expected to be released in 3 months. If there are very
important bug fixes, we will do an intermediate release. Please give
us your feedback at
[[Talk:MLEB|https://www.mediawiki.org/wiki/Talk:MLEB]].
* Download: https://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2021.07.tar…
* sha256sum: f7cd8113c095375be51464429dff04c8fa5bb88bc22ba3d780bf5698668e52c5
* Signature: https://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2021.07.tar…
Quick links:
* Installation instructions are at: https://www.mediawiki.org/wiki/MLEB
* Announcements of new releases will be posted to a mailing list:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
* Report bugs to: https://phabricator.wikimedia.org/project/view/1464/
Release notes for each extension are below.
-- Kartik Mistry
== Babel, cldr, CleanChanges and LocalisationUpdate ==
* Localisation and maintenance updates.
== Translate ==
* '''BREAKING CHANGE''': Translate extension now requires MediaWiki
1.35 or above.
* When translating in Page mode, modifying and publishing a message
causes its to become empty ({{phab|T270819}})
* '''SECURITY''': Enhance validation and logging for AggregateGroups
API deletions ({{phab|T282932}})
* Make Special:PageTranslation work with ONLY_FULL_GROUP_BY ({{gerrit|701871}})
* '''BREAKING CHANGE''': Remove TranslateMessageGroupPathVariables
hook ({{gerrit|701678}})
* GettextFFS: Only allow pot mode for source language ({{phab|T230361}})
* Translation page deletion should not clear metadata ({{gerrit|694306}})
* Added content model and handler for translatable modules
({{gerrit|638528}}, {{phab|T271406}})
* Allow showing yearly stats in Special:TranslationStats ({{phab|T281244}})
* '''BREAKING CHANGE''': Remove Validator and LegacyValidatorAdapter
({{gerrit|685438}})
* Improve display of very long insertables ({{gerrit|685805}})
* Fix "Translation units to be deleted appear with unit ID -1 on
Special:PageTranslation" ({{phab|T283971}})
* Localisation updates.
=== Configuration variable changes ===
To address voice and tone issues in the Translate extension
({{phab|T277965}}) the following configuration variable names have
been renamed:
* <code>TranslateBlacklist</code> →
<code>TranslateDisabledTargetLanguages</code>
* <code>TranslateAuthorBlacklist</code> →
<code>TranslateAuthorExclusionList</code>
* <code>TranslateCheckBlacklist</code> →
<code>TranslateValidationExclusionFile</code>
''The old variables will be supported for MLEB 2021.07 release but
removed in the MLEB 2021.10 release.''
If you have defined
[[Help:Extension:Translate/Group_configuration|message groups]]
defined with <code>LANGUAGE</code> attributes,
<code>whitelist/blacklist</code> have been changed to
<code>include/exclude</code>
== UniversalLanguageSelector ==
* '''BREAKING CHANGE''': UniversalLanguageSelector extension now
requires MediaWiki 1.35 or above.
* MODERN VECTOR: Position language menu below language button ({{phab|T276248}})
* Update jquery.uls and jquery.ime from upstream
* Fix "Suggested language list not available for ULS version in new
language button". ({{phab|T282037}})
* MODERN VECTOR: Fix "ULS settings window can’t be opened with the
preferences link on new Vector". ({{phab|T282956}})
* Fix "ULS preferences tool link cannot be opened when compact
languages disabled" ({{phab|T286574}})
* Localisation updates.
--
Kartik Mistry | કાર્તિક મિસ્ત્રી
kartikm.wordpress.com
Hi everyone,
I'm experiencing this problem with the OAuth extension and I don't have any
clues!
https://phabricator.wikimedia.org/T286769
Any ideas? Thanks in advance.
Cheers,
Ferdinando
Dear MW developers,
I recently found a wiki farm owned by bilibili.com (one of the largest online video and game company) called "BWIKI" which is apparently using a set of heavily modified MW environment. However, it doesn't seem to be open-sourced, which is a obvious GPL violation.
I tried to contact them but, so far, I haven't received an reply.
Although I am not a MW contributor, I think it is my duty to report this illegal action.
Thanks for developing such a useful software.
Dianlaing233
URL: https://wiki.biligame.com/wiki/
Special:Version: https://wiki.biligame.com/wiki/Special:Version
There will be a MediaWiki Stakeholders' Group [0] meeting this Friday
(01JUL) at 15:30-16:30 GMT / 08:30-09:30 PDT / 11:30-12:30 EDT /
17:30-18:30 CET / 15:30-16:30 UTC. Meeting information is linked at [1].
Topics of discussion will be:
1) MediaWiki News
* What's new in MediaWiki
* Voting for the WMF board of trustees
* CTO change
* Developer Portal update
2) How to battle spam in community wikis
* Jeffrey Wang from MyWikis will be discussing solutions to spam in
community run wikis
Feel free to come and listen, ask some questions, or add a topic to the
Etherpad [2].
[0] https://www.mediawiki.org/wiki/MediaWiki_Stakeholders%27_Group
[1] https://mwstake.org/mwstake/wiki/Event:138
[2] https://etherpad.wikimedia.org/p/mwstake-2021-07
~Bryan Hilderbrand