https://bugzilla.wikimedia.org/show_bug.cgi?id=42913
Web browser: ---
Bug ID: 42913
Summary: Better error message if default MW main page already
exists
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
When the web-based installer is used, a default main page is created. When
later this becomes a Wikibase repo, this main page "thinks" it is an item.
The error message should make the user notice this. Instead, it says something
hard to debug...
failed to deserialize
Backtrace:
#0
/srv/testrepo/w/extensions/Wikibase/lib/includes/entity/EntityFactory.php(139):
Wikibase\EntityFactory->unserializedData(''''MediaWiki ha...',
'application/jso...')
#1
/srv/testrepo/w/extensions/Wikibase/repo/includes/content/ItemHandler.php(86):
Wikibase\EntityFactory->newFromBlob('item', ''''MediaWiki ha...',
'application/jso...')
#2 /srv/testrepo/w/includes/Revision.php(1005):
Wikibase\ItemHandler->unserializeContent(''''MediaWiki ha...',
'application/jso...')
#3 /srv/testrepo/w/includes/Revision.php(946): Revision->getContentInternal()
#4 /srv/testrepo/w/includes/WikiPage.php(616): Revision->getContent(1)
#5 /srv/testrepo/w/includes/WikiPage.php(448): WikiPage->getContent()
#6 [internal function]: WikiPage->isRedirect()
#7 /srv/testrepo/w/includes/Article.php(1944): call_user_func_array(Array,
Array)
#8 /srv/testrepo/w/includes/Wiki.php(364): Article->__call('isRedirect', Array)
#9 /srv/testrepo/w/includes/Wiki.php(364): Article->isRedirect()
#10 /srv/testrepo/w/includes/Wiki.php(295): MediaWiki->initializeArticle()
#11 /srv/testrepo/w/includes/Wiki.php(555): MediaWiki->performRequest()
#12 /srv/testrepo/w/includes/Wiki.php(448): MediaWiki->main()
#13 /srv/testrepo/w/index.php(59): MediaWiki->run()
#14 {main}
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l