Page MenuHomePhabricator

XML meta dumps do not contain/update restrictions tags anymore
Open, LowPublicFeature

Description

Author: Wiki.Melancholie

Description:
See http://download.wikimedia.org/barwiki/20081104/barwiki-20081104-pages-meta-current.xml.bz2

That dump does contain only one <restrictions>...</> tag for Bild:Wiki.png, all the other edit and move restrictions are not mentioned. For example [[bar:Hauptseitn]] [edit=autoconfirmed:move=sysop]!

For other projects there are more restrictions mentioned in the dumps, but do not seem to be updated anymore.
Something broken?


Version: 1.20.x
Severity: enhancement
URL: http://download.wikimedia.org/barwiki/20081104/barwiki-20081104-pages-meta-current.xml.bz2

Details

Reference
bz16360

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:29 PM
bzimport set Reference to bz16360.
bzimport added a subscriber: Unknown Object (MLST).

This'll be an issue with base XML export... need to make sure it's pulling new restrictions info and doing it in a fairly efficient manner.

Picking this up as I'm the most likely to push this along.

  • Bug 34278 has been marked as a duplicate of this bug. ***

Moving bug to Datasets product namespace.

Moving back, because this is a mediawiki bug.

The export contains only page restrictions, which are stored in the field page.page_restrictions from pre1.10, but with 1.10 the protection system was changed and new protection are stored in the table page_restrictions, which is not used in Export.php. That need change of core.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: wikibugs-l-list.