(bug 49840) Moving a page with subpages may lead in the page being moved twice
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Wed, 26 Jun 2013 20:02:27 +0000 (22:02 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Wed, 26 Jun 2013 20:02:27 +0000 (22:02 +0200)
commit517da806a7ae0f64169eb1d76e1fb5e7baaf3619
tree0bb62e78a7456f840d2800e9c64fd701d6c7c879
parentf471169afa8cb2ebd8ab034a1b2ae55daae1f52b
(bug 49840) Moving a page with subpages may lead in the page being moved twice

This happens if a page is moved to a subpage of itself and the option
"move subpages" is enabled, since the freshly moved page will be found
as being one of its subpages and moved a second time as such.

Bug: 49840
Change-Id: I318aab8c3c6e7ae718a3366ab00aba6e5420529b
includes/specials/SpecialMovepage.php