Page MenuHomePhabricator

Stop extending core's SpecialMovePage
Closed, ResolvedPublic

Description

The class MovePageForm is extended in extensions, but the class is not part of the stable policy and that does not allow to extend it.

I am not sure what the best way is for the extensions

https://codesearch.wmcloud.org/search/?q=MovePageForm&i=nope&files=&repos=

Event Timeline

Nikerabbit subscribed.

Ideally core would provide a nice clean way to replace the move page action and convenience methods to perform the moves without needing to extend the class.

Change 725313 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/core@master] SpecialMovePage: stop faling back to global state

https://gerrit.wikimedia.org/r/725313

Change 725313 merged by jenkins-bot:

[mediawiki/core@master] SpecialMovePage: stop falling back to global state

https://gerrit.wikimedia.org/r/725313

FYI: I thought this task is just for Translate. There is one other extension as well according to the code search: https://codesearch.wmcloud.org/search/?q=extends%20MovePageForm&i=nope&files=&excludeFiles=&repos=