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 created this task.Jul 1 2015, 12:17 AM
Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr added a subscriber: Tgr.
Restricted Application added a project: Multimedia. · View Herald TranscriptJul 1 2015, 12:17 AM
Restricted Application added subscribers: Steinsplitter, Aklapper. · View Herald Transcript
Restricted Application added a subscriber: Matanya. · View Herald TranscriptJul 7 2015, 2:33 PM
Tgr added a comment.Jul 9 2015, 5:05 PM

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.

Jdforrester-WMF triaged this task as Low priority.Sep 4 2015, 6:55 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:59 PM