Last modified: 2014-09-17 03:27:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56164, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54164 - Expose revision.rev_content_format on replicated wikidatawiki
Expose revision.rev_content_format on replicated wikidatawiki
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks: labs-replication
  Show dependency treegraph
 
Reported: 2013-09-16 10:05 UTC by Liangent
Modified: 2014-09-17 03:27 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2013-09-16 10:05:38 UTC
https://noc.wikimedia.org/conf/InitialiseSettings.php.txt says:

'wgContentHandlerUseDB' => array(
	'default' => false,
	'wikidata' => true,
),

so I assume it's ready there.
Comment 1 Kunal Mehta (Legoktm) 2013-09-16 22:52:51 UTC
Also for testwikidatawiki too.
Comment 2 Marc A. Pelletier 2013-10-16 13:27:58 UTC
It was a simple exception to add.
Comment 3 Liangent 2014-02-11 08:33:11 UTC
Really fixed?

A database query error has occurred.
Query: SELECT  rev_id,rev_page,rev_text_id,rev_timestamp,rev_comment,rev_user_text,rev_user,rev_minor_edit,rev_deleted,rev_len,rev_parent_id,rev_sha1,rev_content_format,rev_content_model,page_namespace,page_title,page_id,page_latest,page_is_redirect,page_len,user_name  FROM `wikidatawiki_p`.`revision_userindex` INNER JOIN `wikidatawiki_p`.`page` ON ((page_id = rev_page)) LEFT JOIN `wikidatawiki_p`.`user` ON ((rev_user != 0) AND (user_id = rev_user))  WHERE page_id = '439230' AND rev_id = '93329328'  LIMIT 1  
Function: Revision::fetchFromConds
Error: 1054 Unknown column 'rev_content_format' in 'field list' (wikidatawiki.labsdb)
Comment 4 Marc A. Pelletier 2014-04-01 16:36:05 UTC
Ah, I may have forgotten to add it to the alternate views as well.  Will fix shortly.
Comment 5 Marc A. Pelletier 2014-05-19 14:05:25 UTC
Ah, hm.  It fails to apply because my view management system right now does not properly deal with the concept that the same schema doesn't apply to all databases.  This will need some ugly exception code.
Comment 6 Marc A. Pelletier 2014-09-15 15:43:31 UTC
Now that this schema change has been propagated it's possible to do cleanly.
Comment 7 Gerrit Notification Bot 2014-09-15 15:43:40 UTC
Change 160459 had a related patch set uploaded by coren:
Labs: merge in changes to maintain-replicas.pl

https://gerrit.wikimedia.org/r/160459
Comment 8 Gerrit Notification Bot 2014-09-15 16:36:14 UTC
Change 160459 merged by coren:
Labs: merge in changes to maintain-replicas.pl

https://gerrit.wikimedia.org/r/160459

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links