Last modified: 2011-01-25 01:09:27 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 T22289, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20289 - move-subpages counts $wgMaximumMovedPages incorrectly
move-subpages counts $wgMaximumMovedPages incorrectly
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.16.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-17 15:46 UTC by Mike.lifeguard
Modified: 2011-01-25 01:09 UTC (History)
2 users (show)

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


Attachments

Description Mike.lifeguard 2009-08-17 15:46:41 UTC
I tried to use move-subpages to move a bunch of subpages. However, many of these had already been moved in a previous run. Those already-moved pages were counted towards $wgMaximumMovedPages, and thus no pages were actually moved on the second run. Obviously only pages that are actually moved in the current action should be counted towards this limit.

For example:
"Opening theory in chess" has been moved to "Chess Opening Theory"

A redirect has been created.

    * The page Chess Opening Theory/1. Na3 already exists and cannot be automatically overwritten.
...498 more...
    * The page Chess Opening Theory/1. e4/1...c5/2. Nf3/2...e6/3. d4/3...cxd4/4. Nxd4/4...Nf6/5. Nc3 already exists and cannot be automatically overwritten.
    * The maximum of 500 pages has been moved and no more will be moved automatically.

So all of the pages that were counted towards the $wgMaximumMovedPages limit were actually not moved, which is wrong.
Comment 1 Mike.lifeguard 2009-08-18 21:23:56 UTC
You asked for it :D
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2009-08-18 23:26:00 UTC
Fixed in r55289.

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


Navigation
Links