Once we store hints about entities in page_props (bug 40157),The `wb-status` page property was introduced via T42157 and removed via T146792. Flags included EMPTY, STUB and LINKSTUB, see T146792#2688105 for a detailed description. Originally we needed a maintenance script to populate these hints for all entities already in the database. Now we need the same script to remove existing `wb-status` page_props. This is not because they are outdated (this can not happen), but for consistency. we need a maintenance script to populate these hints for all entities already in the database.Current state: https://www.wikidata.org/wiki/Special:PagesWithProp/wb-status
Since that script will need to load the full JSON of each entity, the maintenance script should probably support sharding, similar to how dumpJson does this.
**Whiteboard**: u=dev c=infrastructure p=0