Manual talk:$wgAllowImageMoving

From mediawiki.org
Jump to navigation Jump to search

Interface[edit]

What is the interface for this function? Is it normally found on the SpecialPages list? Or once the variable is set to true, what changes? --Tlosk 20:47, 12 May 2009 (UTC)

It's just moving for images. —Emufarmers(T|C) 00:39, 13 May 2009 (UTC)
Thanks for the reply. Are you saying you get a Move tab on image file pages? After setting this variable to true I compared before and afters of an image page and they are identical, I couldn't find anything new that would facilitate moving the image. --Tlosk 17:59, 20 May 2009 (UTC)
It should be the same tab as for any other article, yes. Are you running 1.14 (or at least 1.13)? Also, are you logged in as an admin? Image moving is enabled by default in 1.14, but only admins have the movefile right. —Emufarmers(T|C) 20:49, 20 May 2009 (UTC)
Yes, running 1.14 and have tried as user, sysop, bot. But you've answered my main question which was what changes. Now that I know the difference between working and not working I can keep at it until I get the move tab to appear. It was making me crazy trying to find out where the interaction starts. My first guesses are a permission needs to be added that's missing or perhaps has something to do with being an upgraded installation. I'll try a fresh test install on a local machine and see what I get. Thanks again. --Tlosk 21:01, 20 May 2009 (UTC)
Update: that's what it was, a missing permission. I added $wgGroupPermissions['sysop']['movefile'] = true; (guessed on the name of the operation) and immediately got a Move tab on image pages.--Tlosk 21:15, 20 May 2009 (UTC)
That's weird. I checked DefaultSettings.php on a fresh 1.14 installation, and sysops already have movefile. —Emufarmers(T|C) 22:48, 21 May 2009 (UTC)

Bug?[edit]

Hi all. Today I attempted my first file move and I got an error. Despite the error message, the page was moved to the new name, but the file wasn't! I had to locate it in the original subdir (.../9/90/Name.pdf) and rename/move it manually to the new subdir assigned (as I understood, when the name changes the file has to move to another subdir to keep the algorithm logic). Any idea about what may have happened? My MediaWiki version is 1.13. Thanks, Capmo 19:46, 26 May 2009 (UTC)

Perhaps there's a reason image moving was disabled by default in 1.13. :)
You can file a bug report, but you might first want to see if you can reproduce this (especially on 1.14). —Emufarmers(T|C) 20:07, 27 May 2009 (UTC)

Is function still experimental?[edit]

Hi all. This feature has been implemented since version 1.13. I've used it countless times on our corporate MediaWiki—we're running 1.15.1—and it has always worked perfectly. For how long does the help page need to say that it's experimental? --Lorikeet 02:40, 22 November 2010 (UTC)

I removed the experimental note, since its enabled by default since rev:45276 so it can't be that experimental. Bawolff 03:25, 22 November 2010 (UTC)