Closed Bug 1066864 Opened 10 years ago Closed 10 years ago

Increase the number of subpages that can be moved at a time

Categories

(Websites :: wiki.mozilla.org, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: GPHemsley, Unassigned)

References

()

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/180] [dev=2014-09-25])

By default, $wgMaximumMovedPages (the configuration setting that controls how many subpages can be moved at a time) is set to 100, which makes it very difficult to move pages with greater than 100 subpages. (To my knowledge, there is no way to move a second batch after the first one.) During our cleanup, moving a ton of subpages will be a common occurrence, so I think we should increase this number to something reasonable. (We may want to consider the effect the 'move-subpages' user right would have on this, just in case.)
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1272]
Do you have a new number in mind to shoot for? Or is there a way to query to see what the average / top ten number of subpages there are for pages in the wiki?
Let's try increasing the value to 1000 in dev and see how that performs.
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1272] → [kanban:https://kanbanize.com/ctrl_board/4/1272] [dev=2014-09-25]
This has been deployed in dev.
Holding off on deploying to prod this week (not yet fully tested in dev).
I'm having trouble finding a good example to test this with. Anyone have one readily at hand?
I've tested this in Dev with /WeeklyUpdates, which has just under 500 subpages. The operation is not completed and I received a Service Unavailable notice. It's possible that the operation would complete in stage or production where there are more resources. However, we need to be able to test these operations in dev. Instead of changing this setting, I propose we execute large numbers of page moves with the maintenance script moveBatch.php. This script allows us to move pages in batches, which makes the work more manageable across a variety of environments.
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1272] [dev=2014-09-25] → [kanban:https://webops.kanbanize.com/ctrl_board/2/180] [dev=2014-09-25]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.