Page MenuHomePhabricator

Define Clear and Extensible Naming Schema for Anonymous User Preference Persistence
Closed, ResolvedPublic

Description

Context:
The Preference Persistence API needs a defined naming schema for managing user preferences, per the Additional Requirements table in the Decision Record.

Objective:
Create a naming schema for anonymous user preference storage that aligns with best practices, enhances code readability, and allows for future extensibility.

Success Criteria:

  • Well-defined naming schema for current prototype anonymous user preference storage.
  • Updated API codebase with the implemented naming schema.
  • Documentation reflecting the changes, including the rationale behind the chosen schema and guidelines for extensibility.

Event Timeline

Please refer to https://www.mediawiki.org/wiki/Reading/Web/Projects/Preference_persistence_prototype_2_summary, as there is some naming schema in place to identify preferences and values. If we change those please make sure it is reflected on code and documentation of the prototype.

This looks good - thanks @KSarabia-WMF !