Page MenuHomePhabricator

Use the appropriate content models for CentralNotice HTML, scripts and CSS
Open, MediumPublic4 Estimated Story Points

Description

The page meta:MediaWiki:Centralnotice-template-stewnoms and many many others like that are really ugly:

  • They do not have syntax highlight
  • They do not have CodeEditor
  • They will not be subjected to syntax validation (T76204) and are loaded in many wikis
  • They would probably be ignored by the new 'editsitejs' and 'editsitecss' user rights proposed in T72182
  • They do not show up in mw-grep results used to update deprecated code (things like T86871 and T123314)
  • Do they have proper caching?
  • Are they ResourceLoader modules?

Event Timeline

He7d3r raised the priority of this task from to Needs Triage.
He7d3r updated the task description. (Show Details)
He7d3r subscribed.
awight renamed this task from Use the appropriate content models for CentralNotice scripts and CSS to Use the appropriate content models for CentralNotice HTML, scripts and CSS.Oct 4 2016, 8:44 PM
awight raised the priority of this task from Low to Medium.

I would love if we could implement this.

Similarly, the banner and campaign editors could be implemented as content type handlers rather than special pages. (Not sure if this is desirable?)

Thanks for mentioning this!!! This should be part of a general re-factoring of the CentralNotice backend architecture and data model. :)

ggellerman moved this task from Triage to Q4 FY21-22 on the Fundraising-Backlog board.