Page MenuHomePhabricator

It is possible to import standard wikitext pages into the main (item) namespace
Closed, ResolvedPublic

Description

I was wondering if it was possible, and it seems like it is.

See: https://www.wikidata.org/w/index.php?title=Special%3ALog&type=&user=&page=C-Pass&year=&month=-1&tagfilter=&hide_patrol_log=1

Special:Import should check the contentmodel of what it is importing and then check that the namespace uses the same contentmodel.


Version: unspecified
Severity: major
Whiteboard: backlog

Details

Reference
bz47070

Event Timeline

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

When deleting the page, it went through, but I got a "Wikimedia Foundation error" message of:

PHP fatal error in /usr/local/apache/common-local/php-1.22wmf1/extensions/Wikibase/repo/Wikibase.hooks.php line 687:
Call to undefined method WikitextContent::getEntity()

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

Change 100563 had a related patch set uploaded by Daniel Kinzler:
(bug 47070) check content model namespace on import.

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

Change 100565 had a related patch set uploaded by Daniel Kinzler:
(bug 47070) No import of wikitext to entity NS

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

Change 100563 merged by jenkins-bot:
(bug 47070) check content model namespace on import.

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

Change 100565 merged by jenkins-bot:
(bug 47070) No import of wikitext to entity NS

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