Last modified: 2014-11-12 03:58:31 UTC
I'm not sure if this is a Scribunto problem or a something else problem, but I tried to use Special:Import to move a module from test2wiki, and I got the following error:
Import failed: No handler for model 'Scribunto'' registered in $wgContentHandlers
My test settings were:
comment: test import.
No entry is created in the import log. However, a broken page is created at the destination saying:
The revision #0 of the page named "Headnote" does not exist.
</p><p>This is usually caused by following an outdated history link to a page that has been deleted.
Details can be found in the <a class="external text" href="//en.wikipedia.org/w/index.php?title=Special:Log/delete&page=Module:Headnote">deletion log</a>.
And it won't let one save anything to the page, instead giving a bogus edit conflict that can't be resolved. The broken page can be removed using page deletion.
The import log does show that some Module pages were imported previously (abotu two weeks ago), so maybe this is a recent problem, or maybe my specific request is triggering it in some way.
The general cause is a version incompatibility. In order to properly support the auto-transclusion of /doc subpages, Scribunto's page handling was changed from "generic wikitext with an overridden display function to do it completely differently" to using ContentHandler with a new page type. test2 was updated yesterday, but enwiki won't be until next week.
But Special:Import shouldn't be creating a broken page like that, no matter what else is going on. So I'm going to poke this bug in that direction.
I had the same error and stumbled here. I've downloaded MW 1.21.0rc5, and started to export few templates from id.wp (notably string manipulations), but received the error. I've installed all the bundled extensions (minus two) plus the Scribunto extension.
Disregarding the effect on what I was trying to do, I concluded that from now on, people cannot (easily) export and import some very useful templates from the WMF projects that uses Scribunto to be used on previous installations of MW, thus making lives harder for some people who have to upgrade their sites. Please point me if the effect of Scribunto on non-WMF installations has been discussed and weighed before, because now I think that the way the Wikipedia templates have been used (exported/imported) should not have been "overwritten" with Scribunto (Modules) scripts...
The second thing is, Scribunto should be included in the bundled extensions from now on, because it's become integral part of how complex templates are handled in Wikipedia and other projects. (heck, there should be a list of "core" templates in the future releases!)
*** Bug 51504 has been marked as a duplicate of this bug. ***
If just tried to import the Module/doc file
- exported from Wikipedia/en (This file: Module:HtmlBuilder/doc)
- tried to import to Wikivoyage/de
got this error:
"Import fehlgeschlagen: Can't save non-default content model with $wgContentHandlerUseDB disabled: model is wikitext , default for Modul:HtmlBuilder/doc is Scribunto"