Smalyshev created this task. Smalyshev added projects: Wikidata, MediaWiki-ContentHandler. Herald added subscribers: Zppix, Aklapper. |
TASK DESCRIPTION
After upgrading my code to master, I am getting this error on my vagrant setup when going to /wiki/Main_Page:
[b87fa77bf32f7c372ba10a47] /wiki/Main_Page MWContentSerializationException from line 221 of /vagrant/mediawiki/extensions/WikidataBuildResources/extensions/Wikibase/lib/includes/Store/EntityContentDataCodec.php: Failed to decode as application/json
The page in the database has content model of wikitext, but the code seems to ignore it - Revision fetches content model either from revision table (which has null) or from default for the namespace (which has wikibase-item as default) but does not actually take the content model from the wiki page.
Is it anything that changed recently? Or my DB somehow became corrupt? Is it impossible now to have wikitext pages in item namespace?
The setup is Mediawiki-Vagrant, updated to the latest code in git.
TASK DETAIL
EMAIL PREFERENCES
To: Smalyshev
Cc: Aklapper, Zppix, JanZerebecki, aude, daniel, Smalyshev, D3r1ck01, Izno, Wikidata-bugs, Jackmcbarn, Mbch331
Cc: Aklapper, Zppix, JanZerebecki, aude, daniel, Smalyshev, D3r1ck01, Izno, Wikidata-bugs, Jackmcbarn, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs