Page MenuHomePhabricator

Page model's page_id does not match MediaWiki's corresponding MySQL column type
Closed, DeclinedPublic

Description

wikimetrics/models/mediawiki/page.py has page_id as signed integer,
while MediaWiki's maintenance/tables.sql has the column unsigned.

This mismatch causes problems when building wikimetrics' contraints
against a real MediaWiki database. MySQL refuses to have a foreign key
on column whose type mismatches.


Version: unspecified
Severity: normal

Details

Reference
bz63005

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:57 AM
bzimport set Reference to bz63005.
bzimport added a subscriber: Unknown Object (MLST).

I think bug and this other one: 63006 should be consolidated into one.

(In reply to nuria from comment #1)

I think bug and this other one: 63006 should be consolidated into one.

They are different problems, that look (and mostly likely are) related.
But you can obviously fix one without the other. So I'd keep them separated.

But I do not really care too much.
If you prefer to merge them, be bold and merge them.

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/analytics/cards/cards/1495