Page MenuHomePhabricator

User filter preference is not saved and throws warning: 'NewPagesFeedFilterOptions': not a valid preference
Closed, ResolvedPublic


Author: bsitu

This is spotted in the latest master branch from core and pagetriage. When changing the filter option, it throws this warning in the API response:

{"warnings":{"options":{"*":"Validation error for 'NewPagesFeedFilterOptions': not a valid preference"}},"options":"success"}

Looks like this is a side-effect from this API change:

"arbitrary preferences' names must start with userjs- prefix, to avoid any possibility of conflicting with new MediaWiki versions or extensions."

Version: unspecified
Severity: major



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:40 AM
bzimport added a project: PageCuration.
bzimport set Reference to bz44359.
bzimport added a subscriber: Unknown Object (MLST).