Last modified: 2012-05-18 18:45:41 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 T37137, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35137 - Special:MovePage should disable options for immovable namespace
Special:MovePage should disable options for immovable namespace
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.19
All All
: Low normal (vote)
: 1.20.0 release
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-10 22:39 UTC by Bergi
Modified: 2012-05-18 18:45 UTC (History)
5 users (show)

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


Attachments

Description Bergi 2012-03-10 22:39:33 UTC
The new move form got a <select>-element for the namespace. Although you (usually, see Bug 28569) can't move to the category namespace, it is shown as an option.

I really would like to see the possibility to move category descriptions (like bug 28569 suggests for privileged users), but as long as there are any limitations in the right to move (maybe user-specific), the move form should only provide the namespaces to which the current user is allowed to move.
Comment 1 db [inactive,noenotif] 2012-03-11 13:22:20 UTC
This should also handle file moves. The namespace needs at least a check against MWNamespace::isMovable. For file moves a little bit more, because for that you are need the filemove user right.
Comment 2 Bergi 2012-03-11 15:26:57 UTC
Yeah, that's exactly what I meant with "any limitations".
Comment 3 Krinkle 2012-03-14 00:32:05 UTC
Yes, the new Html::namespaceSelector allows giving an array of option values that should be disabled and/or excluded.

Do we want to disable them or exclude them entirely?
Comment 4 Umherirrender 2012-05-16 15:50:51 UTC
There is a patch for this: Gerrit change #7286
Comment 5 Umherirrender 2012-05-18 18:45:41 UTC
successfully merged

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


Navigation
Links