Page MenuHomePhabricator

Moving From NS_USER to NS_CAMPAIGN leaves the page with the wrong content model
Open, LowPublic

Description

See T104395. This is probably a more generic bug but I'm not sure how much exactly.

UploadWizard defines $wgNamespaceContentModels[ NS_CAMPAIGN ] = 'Campaign'; so moving a non-campaign page in that namespace shouldn't just silently succeed.

Event Timeline

Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr subscribed.
Restricted Application added subscribers: Steinsplitter, Aklapper. · View Herald Transcript

Maybe fixed by https://gerrit.wikimedia.org/r/#/c/222043? Haven't looked at the page move code yet, but if it doesn't touch the content model field at all, 222043 would make the code interpret NULL as wikitext in normal namespaces and campaign in NS_CAMPAIGN.