Last modified: 2014-05-08 23:16:07 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 T40186, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38186 - Allow autoconfirmed users to move files on Wikimedia wikis by default
Allow autoconfirmed users to move files on Wikimedia wikis by default
Status: REOPENED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: community-consensus-needed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-05 05:55 UTC by MZMcBride
Modified: 2014-05-08 23:16 UTC (History)
10 users (show)

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


Attachments

Description MZMcBride 2012-07-05 05:55:05 UTC
Somewhere in the implementation of the resolution to bug 15842, Brion decided to limit the (then-new) "movefile" user right to administrators. As I understand it, this was done as the feature was new and untested and there were still possible security concerns or unknown bugs.

Subsequently, in r93871, DefaultSettings.php was changed to give the "movefile" user right to "user" by default in MediaWiki core. This change was marked "scaptrap" and Wikimedia's InitialiseSettings.php was changed accordingly:

---
# groupOverrides2 @{
'groupOverrides2' => array(
	'default' => array(
		'user' => array(
			'reupload-shared' => false,
			'reupload' => false,
			'upload' => false, // https://bugzilla.wikimedia.org/show_bug.cgi?id=12556
			'reupload-own' => true,
			'move' => false, // http://bugzilla.wikimedia.org/show_bug.cgi?id=12071
			'move-subpages' => false, // for now...
			'movefile' => false, // r93871 CR
		),
		'autoconfirmed' => array(
			'reupload' => true,
			'upload' => true, // https://bugzilla.wikimedia.org/show_bug.cgi?id=12556
			'move' => true,
			'collectionsaveasuserpage' => true,
			'collectionsaveascommunitypage' => true,
		),
---

I don't see any good reason to restrict "movefile" in this way on Wikimedia wikis. Is there any reason to treat "movefile" differently than "move"?

"movefile" ideally should be available by default to autoconfirmed users, in the same way that "move" is. This means updating the above section to look something like this:

---
		'autoconfirmed' => array(
			'reupload' => true,
			'upload' => true, // https://bugzilla.wikimedia.org/show_bug.cgi?id=12556
			'move' => true,
			'movefile' => true,
			'collectionsaveasuserpage' => true,
			'collectionsaveascommunitypage' => true,
		),
---

Individual Wikimedia wikis can request an override to this behavior as necessary and prudent.
Comment 1 Krinkle 2012-07-05 07:27:47 UTC
I'd recommend you open a thread on Meta-Wiki to make sure there is no major blockers from the community. At least ask :)
Comment 2 MZMcBride 2012-07-05 07:36:07 UTC
(In reply to comment #1)
> I'd recommend you open a thread on Meta-Wiki to make sure there is no major
> blockers from the community. At least ask :)

Sure, started a thread here: <https://meta.wikimedia.org/wiki/Wikimedia_Forum#Allow_autoconfirmed_users_to_move_files_on_Wikimedia_wikis_by_default>.
Comment 3 Dereckson 2012-09-07 18:37:26 UTC
The proposal failed to get any support during this consultation:
https://meta.wikimedia.org/wiki/Wikimedia_Forum/Archives/2012-07#Allow_autoconfirmed_users_to_move_files_on_Wikimedia_wikis_by_default
Comment 4 MZMcBride 2014-01-22 06:36:30 UTC
(In reply to comment #3)

The proposal also didn't get much opposition.
Comment 5 Steinsplitter 2014-05-07 13:35:40 UTC
I can't see enough community consensus (shellpolicy).
Comment 6 MZMcBride 2014-05-08 03:48:19 UTC
(In reply to Steinsplitter from comment #5)
> I can't see enough community consensus (shellpolicy).

What community consensus do you feel is needed? Is moving a file different than moving a page?
Comment 7 Steinsplitter 2014-05-08 14:36:15 UTC
(In reply to MZMcBride from comment #6)
> (In reply to Steinsplitter from comment #5)
> > I can't see enough community consensus (shellpolicy).
> 
> What community consensus do you feel is needed? Is moving a file different
> than moving a page?

Yes. More abuse potential. On commons and enwikis exist a own user bug.
@MZMcBride: Pleas stop editwarring on this bug.
Comment 8 Steinsplitter 2014-05-08 20:44:05 UTC
(In reply to MZMcBride from comment #6)
>Is moving a file different than moving a page?

Yes. File renaming is problematic because it breaks links, image inclusions on external websites and even temporarily on the Wikimedia Server cluster and lots of different people have different options about how a file should be named...

...
Comment 9 MZMcBride 2014-05-08 23:16:07 UTC
(In reply to Steinsplitter from comment #8)
> (In reply to MZMcBride from comment #6)
>> Is moving a file different than moving a page?
> 
> Yes. File renaming is problematic because it breaks links, image inclusions
> on external websites and even temporarily on the Wikimedia Server cluster
> and lots of different people have different options about how a file should
> be named...
> 
> ...

We should have redirects in place if a file is moved, similar to article redirects. Is there a bug documenting the issues you're describing?

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


Navigation
Links