Page MenuHomePhabricator

Use the appropriate content models for CentralNotice HTML, scripts and CSS
Open, NormalPublic4 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 created this task.Jan 15 2015, 11:41 AM
He7d3r raised the priority of this task from to Needs Triage.
He7d3r updated the task description. (Show Details)
He7d3r added a subscriber: He7d3r.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 15 2015, 11:41 AM
Aklapper triaged this task as Low priority.Jan 18 2015, 11:44 PM
Legoktm set Security to None.
He7d3r updated the task description. (Show Details)Jan 22 2016, 6:59 PM
awight moved this task from Unsorted to Cleanup on the Technical-Debt board.Apr 21 2016, 8:49 PM
He7d3r updated the task description. (Show Details)May 16 2016, 2:36 PM
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 Normal.
awight added a subscriber: awight.Oct 4 2016, 8:46 PM

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?)

Pcoombe added a subscriber: Pcoombe.

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

ggellerman set the point value for this task to 4.Jan 17 2017, 10:14 PM
ggellerman moved this task from Triage to Q2 (Oct-Dec) 2019-20 on the Fundraising-Backlog board.
mmodell removed a subscriber: awight.Jun 22 2017, 9:34 PM
Base added a subscriber: Base.Sep 4 2017, 3:36 PM