Last modified: 2014-08-18 15:07:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46156, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44156 - Error when importing JavaScript pages: Can't save non-default content model with $wgContentHandlerUseDB disabled: model is wikitext, default for MediaWiki:Gadget-libUtil.js is javascript
Error when importing JavaScript pages: Can't save non-default content model w...
Status: NEW
Product: MediaWiki
Classification: Unclassified
ContentHandler (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 47238 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-19 16:19 UTC by Rainer Rillke @commons.wikimedia
Modified: 2014-08-18 15:07 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rainer Rillke @commons.wikimedia 2013-01-19 16:19:14 UTC
Tried to import a JS file from Commonswiki to testwiki using [[Special:Import]]. Testwiki runs 1.21wmf8 (2227cd7).

Page was imported but no indication in the revision history (usually there is a "User imported \d+ revisions from <wiki>").

Also the following error message was shown:

Import failed: Can't save non-default content model with $wgContentHandlerUseDB disabled: model is wikitext , default for MediaWiki:Gadget-libUtil.js is javascript
Comment 1 Kunal Mehta (Legoktm) 2013-07-16 00:48:30 UTC
*** Bug 47238 has been marked as a duplicate of this bug. ***
Comment 2 Siddhartha Ghai 2013-08-30 12:43:14 UTC
Encountered this problem today while trying to import a module page [1] from english wikipedia to hindi wikipedia. I received the following error message:

इम्पोर्ट असफल रहा Can't save non-default content model with $wgContentHandlerUseDB disabled: model is wikitext , default for Module:Convert/text is Scribunto

The beginning hindi part is "Import failed".

Despite this message, the import has completed successfully (there's an entry in the import log[2] and the page is now on hi-wp[3])

However, there is no entry in the module page's history of the import[4] (separate bug?)

[1]: https://en.wikipedia.org/wiki/Module:Convert/text
[2]: https://hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:%E0%A4%B2%E0%A5%89%E0%A4%97/import
[3]: https://hi.wikipedia.org/wiki/Module:Convert/text
[4]: https://hi.wikipedia.org/w/index.php?title=Module:Convert/text&action=history

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links