During a Mediawiki 1.34.3 to Mediawiki 1.34.4 upgrade... When updating
vendor components using 'php -d extension=phar.so composer.phar
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
/var/www/html/wiki# find . -name php-parallel-lint
When I last tried semantic mediawiki (years ago), it permitted (perhaps
even emphasized) generating structured data through writing that contained
typed links. The "type" was a predicate that explained the relationship
between two pages. I think it was also possible to store a tuple of data
inside the link, which may convey the strength of the predicate (for
example) when such information was important and ignore it when it was not
important (I may be confusing this functionality with another extension)
Is any of this inline schema building possible with Cargo or are all typed
links made in the form data fields? For example, in the common AUTHORS and
BOOKS example, what happens if the AUTHOR is actually unknown but there are
several *likely* AUTHORS? One option may be to add a whole field to BOOKS
for LIKELY AUTHORS. Another way might be to create an intermediate page
AUTHORSHIP that ties AUTHOR to BOOK with a field that explains the
relationship in more detail. But, perhaps there is a way to add more nuance
to the AUTHOR assignment itself? Could this information be conveyed in the
AUTHORS field through an additional piece of information placed in
If I create a new class with Special:CreateClass, what is the procedure for
later editing the class? Do I need to edit the template and form separately
after their initial creation? Ideally, I'd like to develop my data model
iteratively. Any instances of a class would just have empty values for
parameters added later to the class. Is that possible? My classes look like
I want to be able to stay logged in for 12 hours with the "keep me logged in" box unchecked and be logged in for 7 days with the "keep me logged in" box checked. I have tried $wgObjectCacheSessionExpiry = 43200 and it doesn't seem to work. Does anybody have a suggestion on how to get this going? Thanks
wiki = version 1.35
iis = 10
php = 7.23
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
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
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();
In their place, it suggests the following:
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
WikiWorks · MediaWiki Consulting · http://wikiworks.com
I set up a test instance of MediaWiki at our site and am trying to get it
configured for LDAP authentication. Per the documentation I could find, I
installed and configured the following extensions:
Without LDAPAuthorization enabled, basic LDAP authentication works fine.
However, when I enable LDAPAuthorization and try to filter access by
membership in a specific group, authentication fails every time with an
error saying the user is not authorized.
More specifically, I created a group in our LDAP system called wiki-users
and added myself as a member. I then added an authorization block to the
json file and specified the full DN of this group as a required group. I'm
using plaintext LDAP so I can run packet captures and see the traffic.
When I capture the LDAP traffic, I can see that it's authenticating the
bind user and then my own user, but at no point does it query for this
A sanitized version of my json file is pasted below. Any help is greatly
Dave Parker '11
Database & Systems Administrator
Integrated Information Technology Services
Registered Linux User #408177
A new episode is out of the MediaWiki podcast "Between the Brackets", and I
somehow neglected to send an email about the previous two, so let me
happily announce all three now.
First, about a month ago was the episode with Ilana Fried, who is the
product manager for the Campaigns team at the Wikimedia Foundation, and
also runs the women's health wiki Gynopedia:
Next, I talked to Peter Meyer, who is a research economist at the U.S.
Bureau of Labor Statistics, a member of the Board of Directors of the
Wikimedia DC chapter, and also one of the organizers of the upcoming
WikiConference North America 2021:
And finally, in the episode just released today, I talked to Daisy Chen, a
senior UX researcher at the Wikimedia Foundation, about the research and
user testing that is done by the WMF. You can listen to the episode here:
I hope people listen to all three episodes - they were all very interesting
WikiWorks · MediaWiki Consulting · http://wikiworks.com