Page MenuHomePhabricator

Insufficient information to determine the title of the revision's page!
Closed, ResolvedPublic


2012-10-26 20:32:24 srv286 wikidatawiki: [6cda35ac] /w/index.php?title=MediaWiki:Mainpage&action=submit Exception from line 1297 of /usr/local/apache/common-local/php-1.21wmf2/includes/Revision.php: Insufficient information to determine the title of the revision's page!
#0 /usr/local/apache/common-local/php-1.21wmf2/includes/WikiPage.php(1848): Revision->insertOn(Object(DatabaseMysql))
#1 [internal function]: WikiPage->doEditContent(Object(WikitextContent), 'Overwritten', 97, false, NULL, 'text/x-wiki')
#2 /usr/local/apache/common-local/php-1.21wmf2/includes/Article.php(1937): call_user_func_array(Array, Array)
#3 [internal function]: Article->__call('doEditContent', Array)
#4 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(1603): Article->doEditContent(Object(WikitextContent), 'Overwritten', 97, false, NULL, 'text/x-wiki')
#5 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(1110): EditPage->internalAttemptSave(Array, false)
#6 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(396): EditPage->attemptSave()
#7 /usr/local/apache/common-local/php-1.21wmf2/includes/actions/EditAction.php(51): EditPage->edit()
#8 /usr/local/apache/common-local/php-1.21wmf2/includes/actions/EditAction.php(71): EditAction->show()
#9 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(428): SubmitAction->show()
#10 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(305): MediaWiki->performAction(Object(Article))
#11 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(554): MediaWiki->performRequest()
#12 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(447): MediaWiki->main()
#13 /usr/local/apache/common-local/php-1.21wmf2/index.php(59): MediaWiki->run()
#14 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#15 {main}

Version: unspecified
Severity: normal
See Also:



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:47 AM
bzimport set Reference to bz41436.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #1)

Currently unable to edit

The main namespace appears to be set up to contain data items now. So it cannot contain wikitext pages. No exceptions, unless you set $wgContentHandlerUseDB to true.

I suggest to put the main page at Wikidata:Main_Page. I think our setup instructions also say that.

@Reedy: err. sorry, i didn't read that right. i guess i should get some sleep and then look into it ;)

Setting wgContentHandlerUseDB to false does allow editing of other pages...

Added a bug url, but I think it is a duplicate.

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

I have investigated the issue and found one possible cause, but was not able to reproduce it locally. The issue seems to be related to database transaction type and state and possibly also to the mysql master/slave setup.

Proposed fix for master: I9db228c3
Proposed fix for wmf/1.21wmf3: Ibcf139d2

Please try and see whether this fixes the issue on

If this should fail, I propose to set wgContentHandlerUseDB to false for now, so we no longer block on this. Having it set to true may be nice for the future, and allows us gather some experience with non-default content models, but it's not critical to the Wikidata launch.

Follow-up to the above fix: I0517c582

Closed older resolved bugs as verified.