daniel added a comment.

With this approach: You only need to migrate it if it's in the main namespace (not always true, e.g. https://de.wikipedia.org/wiki/Wikipedia:Hauptseite). You can just prepend:

MWNamespace::getCanonicalName( NS_PROJECT ) . ':'

to get the new name, since that namespace should always exist.

Using the Project namespace is sensible, but is it always what the user wants? What happens if that page already exists? And: should MediaWiki:mainpage be changed to pint to the new page?


TASK DETAIL
https://phabricator.wikimedia.org/T128466

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Mattflaschen-WMF, daniel
Cc: gerritbot, Smalyshev, JanZerebecki, Zppix, Mattflaschen-WMF, Jdlrobson, WickieTheViking, Llyrian, bd808, daniel, zeljkofilipin, aude, Aklapper, StudiesWorld, Physikerwelt, Lewizho99, Maathavan, D3r1ck01, Izno, Luke081515, mobrovac, Wikidata-bugs, Mbch331, jeremyb
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to