Hello all!
The Search Platform Team usually holds an open meeting on the first
Wednesday of each month. Come talk to us about anything related to
Wikimedia search, Wikidata Query Service (WDQS), Wikimedia Commons Query
Service (WCQS), etc.!
Feel free to add your items to the Etherpad Agenda for the next meeting.
Details for our next meeting:
Date: Wednesday, May 8, 2024
Time: 15:00-16:00 UTC / 08:00 PDT / 11:00 EDT / 17:00 CEST
Etherpad: https://etherpad.wikimedia.org/p/Search_Platform_Office_Hours
Google Meet link: https://meet.google.com/vgj-bbeb-uyi
Join by phone: https://tel.meet/vgj-bbeb-uyi?pin=8118110806927
Have fun and see you soon!
Guillaume
--
*Guillaume Lederrey* (he/him)
Engineering Manager
Wikimedia Foundation <https://wikimediafoundation.org/>
Hi folks,
I'm trying to group 2 named references (which are identical as far as
humans are concerned) together. I'm doing it on rowp, but the code is very
close to enwp. One reference is generated from a template via a module
calling Module:Citation/CS1, the other is generated by the same code, but
the calling template is substituted.
The Lua code generating the reference tag is:
frame:extensionTag("ref", refText, { name = citationHash })
(refText is returned by Module:Citation/CS1)
I isolated the problem to the <templatestyles> tag added by
Modul:Citation/CS1 - removing it from inside to outside the <ref></ref>
part solves the issue. More precisely, the parser seems to generate
different strip markers for each invocation, even if the <templatestyles>
content is identical. This problem seems related to the one outlined in
[1].
I have 2 questions related to this:
1. How should I change the Lua code to allow for templatestyles? According
to the Lua reference manual [2], extensionTag is equivalent to a call to
frame:callParserFunction()
<https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#fra…>
with function name '#tag', which suggests to me this should be the correct
invocation wrt to [1].
2. Will a ref with a call to {{citation}} (which is simply a pass-through
to the module) with the exact same parameters as in the module also work?
The use-case is to generate a ref containing the template on substitution
instead of the ton of metadata generated by the module.
Thanks,
Strainu
[1]
https://www.mediawiki.org/wiki/Help:Cite#Substitution_and_embedded_parser_f…
[2]
https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#fra…
Hi All, welcome to the monthly MediaWiki Insights email!
First of all, congratulations to Ederporto, SD hehua and Labster who got
their first patch in MW core or Wikimedia deployed extensions and services
merged during the month of April! Many thanks also to the reviewers for
your support and thoughtfulness! It's the collaborative effort that makes
MediaWiki scale for what it's built for.
10 months ago
<https://www.mediawiki.org/wiki/MediaWiki_Product_Insights/Reports/August_20…>
we started the journey of ramping up MediaWiki as a product and thinking
about ways to systemically tackle the challenges around the MediaWiki
software platform. The initial announcement
<https://phabricator.wikimedia.org/T336990> and first conversations already
happened before we officially kicked things off: At the Wikimedia Hackathon
2023 in Athens. Many interviews, conversations, explorations, investments
and decisions later we’re coming back to the Wikimedia Hackathon
<https://www.mediawiki.org/wiki/Wikimedia_Hackathon_2024> this year to
connect the dots.
MediaWiki, the software platform and interfaces that allow Wikipedia and
other projects to function, needs ongoing support for the next decade in
order to provide creation, moderation, storage, discovery, and consumption
of open, multilingual content at scale.
What decisions and platform improvements can we make to ensure that
MediaWiki is sustainable? - This has been a key guiding question over the
past months. Platform improvements have been the subject of many
initiatives mentioned in the monthly MediaWiki Insights emails
<https://www.mediawiki.org/wiki/MediaWiki_Product_Insights/Reports>, and
the focus on sustainability is also reflected in the draft for the
Wikimedia Foundation’s annual plan
<https://meta.wikimedia.org/wiki/Wikimedia_Foundation_Annual_Plan/2024-2025/…>
for the upcoming fiscal year (July 2024 – June 2025).
We plan to present an overview on the state of things at the Hackathon, and
hope to use the “hallway track” to discuss questions, plans and ideas with
some of you! A related presentation has already been given at the recent
MediaWiki users and developers conference.
We will follow up with links to presentations, a summary and reflections in
the next MediaWiki insights email. Stay tuned!
MediaWiki track at the Wikimedia Hackathon in Tallinn
The Wikimedia Hackathon starts this week! Beyond wanting to talk about
MediaWiki, we’ve also put a MediaWiki track
<https://www.mediawiki.org/wiki/Wikimedia_Hackathon_2024/MediaWiki_Track>
together to help people get started - or continue - with working on
MediaWiki (core), discuss and collaborate with each other (workboard
<https://phabricator.wikimedia.org/project/board/7117/>). Whether you want
to get started, join as a mentor, or talk about MediaWiki - if you’re
attending the Hackathon, please come find us at the MediaWiki track table!
Project snapshots: ObjectCacheFactory introduced to MediaWiki core, SUL3
and more work on REST API
Caching: We introduced ObjectCacheFactory to MediaWiki core (T358346
<https://phabricator.wikimedia.org/T358346>). ObjectCache is responsible
for creating and fetching various cache instances for MediaWiki making use
of BagOStuff, which is the mechanism for caching in the software's
ecosystem. The introduction of the Cache Factory aims to reduce
inconsistencies in our codebase and improve stability. Many thanks to
Derick for leading on this work and to Timo, Piotr and Gergö for their
support!
Help with replacing the deprecated static factory methods is much
appreciated! Please see this tracking ticket for more information on which
repositories need updates: T363770
<https://phabricator.wikimedia.org/T363770>.
MediaWiki REST API: We completed T359652
<https://phabricator.wikimedia.org/T359652>, which disallows optional path
parameters <https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1016820> in
the MediaWiki REST API <https://www.mediawiki.org/wiki/API:REST_API> (aka
rest.php) at the PathMatcher
<https://gerrit.wikimedia.org/g/mediawiki/core/+/eab7628c59be589c8bba2b29dab…>
level. This is important for compatibility with API modules that we are
moving from RESTBase <https://www.mediawiki.org/wiki/RESTBase> into MW Core
<https://www.mediawiki.org/wiki/Core> as part of RESTBase sunset
<https://phabricator.wikimedia.org/T262315> (such as Reading Lists
<https://phabricator.wikimedia.org/T336693>), and avoids issues with our
generated OpenAPI/swagger specs
<https://meta.wikimedia.beta.wmflabs.org/w/rest.php/> (swagger does not
allow optional path parameters
<https://swagger.io/docs/specification/describing-parameters/#path-parameters>).
A big thanks to Bill for his work on this, and to all the people who
provided support!
Database: SelectQueryBuilder and Expression Builder: We shared about the
work that the Data Persistence team has been doing on the MediaWiki Rdbms
library’s interface to improve consistency, security and ease for getting
database connections and performing common queries in an earlier email
<https://www.mediawiki.org/wiki/MediaWiki_Product_Insights/Reports/October_2…>.
A big thanks to Amir for all his work on this to date! Since then, a lot of
progress has been made on updating MediaWiki repositories in Wikimedia
production to use the new SelectQuery and Expression Builders: Many thanks
to all the people who helped with this! A special thanks to Umherirrender
for migrating an impressive number of extensions to use SelectQuery
<https://phabricator.wikimedia.org/T311866> and Expression
<https://phabricator.wikimedia.org/T350075> builders over the past month,
and to DannyS712 for many reviews!
Another highlight is the work done by Taavi over the past year: Allowing
multiple different 2FA devices (T242031
<https://phabricator.wikimedia.org/T242031>) is about to wrap up, which
should be a nice improvement to make 2FA easier to use! Many thanks to
Taavi and everyone involved for this work!
SUL3: Browsers increasingly roll out anti-tracking measures and limitations
on third-party cookie use. A side effect of this is that it also impacts
CentralAuth autologin. We aim to transition to a single sign-on domain
to minimize
the number of times users need to enter their credentials when changing
wikis as well as for other benefits; and are about to move from the
research to the coding phase. The implementation plan (with some question
marks) is in T348388 <https://phabricator.wikimedia.org/T348388> and its
subtasks - feedback is very welcome!
The Language team just released MediaWiki Language Extension Bundle 2024.04
(announcement
<https://lists.wikimedia.org/hyperkitty/list/mediawiki-l@lists.wikimedia.org…>).
They are also looking into changing how and when we release MLEB. Please
see T356847 <https://phabricator.wikimedia.org/T356847> for more
information and feedback.
MediaWiki Release: The 1.42.0-rc.0 announcement will be out soon. MW
1.42-alpha has been branched since April 9th and added to the on-wiki
documentation as the development snapshot. If you have changes that need to
go to 1.42, they should be backported. New tasks with commits since April
16th have been targeted to the 1.43 unstable branch
<https://phabricator.wikimedia.org/project/profile/7083/>.
See some of you in Tallinn!
Thanks all for reading,
Birgit
--
Birgit Müller (she/her)
Director of Product, MediaWiki and Developer Experiences
Wikimedia Foundation <https://wikimediafoundation.org/>
Hi Community Metrics team,
This is your automatic monthly Phabricator statistics mail.
Accounts created in (2024-04): 255
Active Maniphest users (any activity) in (2024-04): 1114
Task authors in (2024-04): 596
Users who have closed tasks in (2024-04): 324
Projects which had at least one task moved from one column to another on
their workboard in (2024-04): 313
Tasks created in (2024-04): 2424
Tasks closed in (2024-04): 2442
Open and stalled tasks in total: 53891
* Only open tasks in total: 52917
* Only stalled tasks in total: 974
Median age in days of open tasks by priority:
Unbreak now: 20
Needs Triage: 997
High: 1236
Normal: 2049
Low: 2586
Lowest: 3066
(How long tasks have been open, not how long they have had that priority)
To see the names of the most active task authors:
* Go to https://wikimedia.biterg.io/
* Choose "Phabricator > Overview" from the top bar
* Adjust the time frame in the upper right corner to your needs
* See the author names in the "Submitters" panel
TODO: Numbers which refer to closed tasks might not be correct, as
described in https://phabricator.wikimedia.org/T1003 .
Yours sincerely,
Fab Rick Aytor
(via community_metrics.sh on phab1004 at Wed 01 May 2024 12:00:40 AM UTC)