Hi.
Somewhere between 2025-07-01 and 2025-10-20 the format of categorylinks files like dewiki-YYYYMMDD-categorylinks.sql.gz was reduced, mainly dropping the category label itself. A line like
12005616,'DFB-Pokal-Sieger','GERRESHEIM, URSULA\nURSULA GERRESHEIM','2025-02-10 13:08:35','Gerresheim, Ursula','uppercase','page',1,10608637 (with category 'DFB-Pokal-Sieger')
became
12005616,'GERRESHEIM, URSULA\nURSULA GERRESHEIM','2025-02-10 13:08:35','Gerresheim, Ursula','page',1,10608637
Sizes of categorylinks files shrunk by over 40 %.
Is this change intended? If so, how can the category label be retrieved?
Greetings Sven
I wrote:
Somewhere between 2025-07-01 and 2025-10-20 the format of categorylinks files like dewiki-YYYYMMDD-categorylinks.sql.gz was reduced, mainly dropping the category label itself. A line like
12005616,'DFB-Pokal-Sieger','GERRESHEIM, URSULA\nURSULA GERRESHEIM','2025-02-10 13:08:35','Gerresheim, Ursula','uppercase','page',1,10608637 (with category 'DFB-Pokal-Sieger')
became
12005616,'GERRESHEIM, URSULA\nURSULA GERRESHEIM','2025-02-10 13:08:35','Gerresheim, Ursula','page',1,10608637
Sizes of categorylinks files shrunk by over 40 %.
Is this change intended? If so, how can the category label be retrieved?
Sorry for the noise. I just found the change documented here: https://de.wikipedia.org/wiki/Wikipedia:Technik/Datenbank/Struktur#categoryl... (cl_to -> cl_target_id)
So, one has to use - in addition - the table dewiki-YYYYMMDD-linktarget.sql.gz. For the example line above (with final 10608637), it contains the category label as follows: (10608637,14,'DFB-Pokal-Sieger')
Ciao Sven
Sven:
For a bit more context, the phabricator ticket where discussions happened regarding this schema refactor is T222224 RFC: Normalize MediaWiki link tables https://phabricator.wikimedia.org/T222224, and the ticket with links to the code changes for categorylinks is T299951 Normalize categorylinks table https://phabricator.wikimedia.org/T299951.
All the "database backup dumps" reflect the schema of each individual table as of the dump date.
The only exceptions are any dumps done in XML. Both the legacy XML dumps and the new MediaWiki Content File Exports https://dumps.wikimedia.org/other/mediawiki_content_history/readme.html do honor backwards compatibility.
Hope this helps, -xabriel
On Fri, Mar 13, 2026 at 3:27 AM Sven Hartrumpf via Xmldatadumps-l < xmldatadumps-l@lists.wikimedia.org> wrote:
I wrote:
Somewhere between 2025-07-01 and 2025-10-20 the format of categorylinks files like dewiki-YYYYMMDD-categorylinks.sql.gz was reduced, mainly
dropping
the category label itself. A line like
12005616,'DFB-Pokal-Sieger','GERRESHEIM, URSULA\nURSULA
GERRESHEIM','2025-02-10 13:08:35','Gerresheim, Ursula','uppercase','page',1,10608637
(with category 'DFB-Pokal-Sieger')
became
12005616,'GERRESHEIM, URSULA\nURSULA GERRESHEIM','2025-02-10
13:08:35','Gerresheim, Ursula','page',1,10608637
Sizes of categorylinks files shrunk by over 40 %.
Is this change intended? If so, how can the category label be retrieved?
Sorry for the noise. I just found the change documented here:
https://de.wikipedia.org/wiki/Wikipedia:Technik/Datenbank/Struktur#categoryl... (cl_to -> cl_target_id)
So, one has to use - in addition - the table dewiki-YYYYMMDD-linktarget.sql.gz. For the example line above (with final 10608637), it contains the category label as follows: (10608637,14,'DFB-Pokal-Sieger')
Ciao Sven _______________________________________________ Xmldatadumps-l mailing list -- xmldatadumps-l@lists.wikimedia.org To unsubscribe send an email to xmldatadumps-l-leave@lists.wikimedia.org
xmldatadumps-l@lists.wikimedia.org