Page MenuHomePhabricator

Fix PageImagePersistenceHelper so it does not inappropriately set the namespace of all pages to null
Closed, ResolvedPublic

Description

For the same reasons as in T96944, the PageImagePersistenceHelper should be fixed so that it does not inappropriately set the namespace of a page to null.

https://gerrit.wikimedia.org/r/#/c/207727/ provides a general idea how to do this. However, do not change the column indices like I did in that patch, as it causes issues like T107727.

Event Timeline

Deskana raised the priority of this task from to Medium.
Deskana updated the task description. (Show Details)
Deskana subscribed.

Change 229319 had a related patch set uploaded (by Deskana):
Fix PageImagePersistenceHelper to set namespace as appropriate

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

Change 231325 had a related patch set uploaded (by Mholloway):
Update SQL query generation to handle mainspace and other null params

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

Change 231325 merged by jenkins-bot:
Update SQL query generation to handle mainspace and other null params

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

Dbrant claimed this task.

Change 229319 abandoned by Deskana:
Fix PageImagePersistenceHelper to set namespace as appropriate

Reason:
This bug was fixed using another method, so this patch is no longer necessary.

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