Last modified: 2014-01-02 12:07:22 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 T61003, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59003 - Wrong page content model "wikitext" on importing a JavaScript page
Wrong page content model "wikitext" on importing a JavaScript page
Status: NEW
Product: MediaWiki
Classification: Unclassified
ContentHandler (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-27 18:57 UTC by Fomafix
Modified: 2014-01-02 12:07 UTC (History)
2 users (show)

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


Attachments

Description Fomafix 2013-12-27 18:57:23 UTC
I imported all versions from
 https://commons.wikimedia.org/wiki/MediaWiki:Gadget-LanguageSelect.js
to
 https://www.wikidata.org/wiki/MediaWiki:Gadget-LanguageSelect.js

The script didn't loaded because page content model was set to "wikitext" instead to "JavaScript".

Expected result: The page content model should set to "JavaScript" when importing from a .js page to a .js page.
Comment 1 db [inactive,noenotif] 2013-12-30 20:29:47 UTC
The content model was adjust by a edit or by delete/restore of the page, you can see on the api[1] that two old versions of the script have a contentmodel of wikitext. Sounds like a ContentHandler problem on import.


[1] https://www.wikidata.org/w/api.php?action=query&titles=MediaWiki:Gadget-LanguageSelect.js&prop=revisions&rvprop=contentmodel&rvlimit=max
Comment 2 Andre Klapper 2014-01-02 12:07:22 UTC
(In reply to comment #1)
> Sounds like a ContentHandler problem on import.

Tentatively moving to CH.

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


Navigation
Links