Last modified: 2014-05-27 12:24:54 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 T55115, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53115 - Unable to rename wikitext pages into .js to User or MediaWiki namespace
Unable to rename wikitext pages into .js to User or MediaWiki namespace
Status: RESOLVED DUPLICATE of bug 43049
Product: MediaWiki
Classification: Unclassified
ContentHandler (Other open bugs)
1.22.0
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-20 20:13 UTC by MF-Warburg
Modified: 2014-05-27 12:24 UTC (History)
7 users (show)

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


Attachments

Description MF-Warburg 2013-08-20 20:13:03 UTC
See <https://meta.wikimedia.org/w/index.php?title=User_talk:Isabeau777/EditCounterGlobalOptIn.js&action=history>.

The user created the page in the main namespace by accident. When trying to move it to the userspace, I get the error message:


You do not have permission to move this page, for the following reason:

The desired destination uses a different content model. Can not convert from wikitext to JavaScript. 


This is nonsensical, since it is possible to enter everything on JS pages anyway, also wikitext.
Comment 1 MF-Warburg 2013-08-20 22:52:56 UTC
Are you sure that this is related to Wikidata?
Comment 2 Kunal Mehta (Legoktm) 2013-09-08 03:20:48 UTC
(In reply to comment #1)
> Are you sure that this is related to Wikidata?

Not Wikidata, but ContentHandler, which is part of the Wikidata project. Also confirming that I can reproduce this bug.

ContentHandler should ideally be able to recognized that both contentmodels are text based, and convert it automatically.
Comment 3 Bohdan 2014-01-26 17:17:51 UTC
Same thing while trying to move vice versa from e.g. User:Smb/Page to User:Smb/Page.js
Comment 4 Krinkle 2014-05-27 12:24:42 UTC
I'm cleaning up an old script page in the Wikipedia Project-namespace (Wikipedia:FooBar) but unable to do a rename to MediaWiki:FooBar.js

This seems an unnecessary and unproductive restriction. They're both plain text models that have no conversion or abstraction layer.
Comment 5 Krinkle 2014-05-27 12:24:54 UTC

*** This bug has been marked as a duplicate of bug 43049 ***

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


Navigation
Links