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 all,
we have published new articles in the MediaWiki Experts Blog.
An introduction to Semantic MediaWiki [1], as well as two interesting use cases: The Embassy of Good Science [2], a new portal on ethics in science, and
a field report on the use of MediaWiki in the about the use of MediaWiki in the UK Ministry of Defence. [3]
Some might also still be interested in Denny Vrandečić's inspiring keynote about "Ultimate Nerd Snipes" [4].
The above contributions are still follow-up work to last year's SMWCon. However, we are always looking for new topics, contributions and authors:
You have interesting wikis or project you want to report about? You have solutions and tips for software development and deployments?
There are new extensions or updates of existing functions? Get in touch! Write with us!
The MediaWiki Experts Blog is a project of the MediaWiki Stakeholders' Group and is designed as an open blog about MediaWiki.
Of course you can find out more on the website itself. [5]
Best regards!
Richard
[1] https://mediawikiexperts.blog/tutorial-practical-introduction-to-the-use-of…
[2] https://mediawikiexperts.blog/use-of-semantic-mediawiki-in-the-uks-ministry…
[3] https://mediawikiexperts.blog/the-embassy-of-good-science-portal-for-resear…
[4] https://mediawikiexperts.blog/ultimate-nerd-snipes-from-semantic-mediawiki-…
[5] https://mediawikiexperts.blog/about-us/
Hello all,
It's coming close to time for annual appointments of community members to
serve on the Code of Conduct (CoC) committee. The Code of Conduct Committee
is a team of five trusted individuals plus five auxiliary members with
diverse affiliations responsible for general enforcement of the Code of
conduct for Wikimedia technical spaces. Committee members are in charge of
processing complaints, discussing with the parties affected, agreeing on
resolutions, and following up on their enforcement. For more on their
duties and roles, see
https://www.mediawiki.org/wiki/Code_of_Conduct/Committee
This is a call for community members interested in volunteering for
appointment to this committee. Volunteers serving in this role should be
experienced Wikimedians or have had experience serving in a similar
position before.
The current committee is doing the selection and will research and discuss
candidates. Six weeks before the beginning of the next Committee term,
meaning 9 April 2021, they will publish their candidate slate (a list of
candidates) on-wiki. The community can provide feedback on these
candidates, via private email to the group choosing the next Committee. The
feedback period will be two weeks. The current Committee will then either
finalize the slate, or update the candidate slate in response to concerns
raised. If the candidate slate changes, there will be another two week
feedback period covering the newly proposed members. After the selections
are finalized, there will be a training period, after which the new
Committee is appointed. The current Committee continues to serve until the
feedback, selection, and training process is complete.
If you are interested in serving on this committee or like to nominate a
candidate, please write an email to techconductcandidates AT wikimedia.org
with details of your experience on the projects, your thoughts on the code
of conduct and the committee and what you hope to bring to the role and
whether you have a preference in being auxiliary or constant member of the
committee. The committee consists of five members plus five auxiliary
members and they will serve for a year; all applications are appreciated
and will be carefully considered. The deadline for applications is the end
of day on 26 March 2021.
Please feel free to pass this invitation along to any users who you think
may be qualified and interested.
Best,
Amir on behalf of the CoC committee
Hiho, everyone!
Please excuse my (maybe stupid) question regarding the Edit Review Improvements.
"Live Updates update the results of filtered changes every 3 seconds. This
feature helps people who overview recent changes. When not activated, a
time-stamped link "View new changes since $1" appears on top of the results to
invite the user to update the page."
Source:
https://www.mediawiki.org/wiki/Help:New_filters_for_edit_review/Live_updates
In my private MediaWiki installation no "View new changes since $1" on
RecentChanges is shown when Live Update is deactivated.
$wgStructuredChangeFiltersLiveUpdatePollingRate = 0;
does not change this.
I checked a few other 3rd party MediaWikis on the web. Also, no "View new
changes since $1" is shown.
What is my problem that the widget is not displayed? Am i missing any config
variable?
MediaWiki: 1.35.0
PHP: 7.3.27-1~deb10u1 (apache2handler)
MariaDB: 10.3.27-MariaDB-0+deb10u1
Lua: 5.1.5
running on Debian 10.
--
Regards
Hanke
Hi,
There's a new episode of the MediaWiki podcast "Between the Brackets": an
interview with Adam Shorland (Addshore), the tech lead for Wikidata and
Wikibase at Wikimedia Deutschland. You can listen to the interview here:
https://betweenthebrackets.libsyn.com/episode-80-adam-shorland
-Yaron
Hi,
When you have a parser function called from within a template, you can of
course pass in to it any template parameters, like:
{{#flagicon:{{{Flag image|}}} }}
(This is a silly example, but bear with me.) I would like to instead be
able to call the parser function without the parameter, like this:
{{#flagicon:}}
...and have the parser function directly get the value of the "Flag image"
parameter.
I believe this can be done within Lua: when a Lua module is invoked from a
template, it can get the names and values of the parameters/arguments that
have been passed to that template using (I believe) code that looks like
the following:
frame = mw.getCurrentFrame()
origArgs = frame:getParent().args
I tried to do something similar within a parser function's code, using
various calls like the following, but nothing worked:
$frame = $parser->getPreProcessor()->newFrame()->newChild();
$args = $frame->getArguments();
Can this be done? Ideally, it would be great to get an array of all the
arguments that have been passed to the template - but just being able to
get the value for a specified parameter name would be good enough.
-Yaron
--
WikiWorks · MediaWiki Consulting · http://wikiworks.com
Hi,
Did I restore my database correctly?
Do I need to delete the database first?
Here's what happened:
I had trouble after upgrade of MW1.31.1 to MW1.35.1. I had had success
with this upgrade on the test version of my wiki, but ran into a
problem with the upgrade of the production version of my wiki. I may
post about that later. Meanwhile, to revert back to the 1.31.1 version
of my production wiki I moved the old files back in place:
-$ mv teflpedia teflpediaNEW; mv teflediaOLD teflpedia
And to revert the database and be rid of whatever changes I had done
when I had run MW1.35.1's maintenance/update.php, I did:
-$ gunzip < ~/bu/bilbo_teflpedia.20210130.MW1.31.1.sql.gz | mysql -p
bilbo_teflpedia
The database for the wiki is named bilbo_teflpedia, and I had created
that .sql.gz just prior to my upgrade attempt, with this:
-$ mysqldump -p --default-character-set=binary bilbo_teflpedia | gzip
> ~/bu/bilbo_teflpedia.20210130.MW1.31.1.sql.gz
Few!
Also, I had set my webhost to PHP 7.3.26 via cPanel, which both
MW1.31.1 and 1.35.1 are compatible with, before the upgade attempt.
Now I'm wondering, did I *combine* the new database with the old one
with that: -$ gunzip < ~/bu/bilbo_teflpedia.20210130.MW1.31.1.sql.gz |
mysql -p bilbo_teflpedia
Did I properly *replace* the bilbo_teflpedia database with the old one?
Do I need to delete the bilbo_teflpedia database first?
Thanks for any advice!
Roger Chrisman, venomous spider at teflpedia.com one bug at a time
For reference, here's my
* production wiki: https://teflpedia.com/Special:Version
* test wiki: https://tp.rogerchrisman.com/Special:Version