Page MenuHomePhabricator

CL support for adding wiki-specific CSS for styling citations output in Parsoid HTML
Closed, ResolvedPublic

Description

The parent task T156351: Add wiki-specific CSS styles for Parsoid Cite output so that it renders exactly like core Cite output describes the problem. We need to add these wiki-specific styles for every wiki that has its own wiki-specific styling. The parent task provides a link that already has these wiki-specific styles for a number of wikis, but doesn't cover all. In some (rare) cases, it might be simpler to tweak the current wiki styles to avoid having to add more complexity to the markup and CSS to replicate existing styles.

There is no hard deadline, but ideally by end of 2017, we will have the parent tasks resolved and citations in VE look identical to citations in the read view.

Event Timeline

Couple of complementary options:

  1. Submit edits on various wikis based on us having figured out the styles (see parent task T156351 for details)
  2. Go through wiki stewards

After meeting Subbu, next steps are:

  1. Subbu to make a page explaining this change (at the beginning the main rationale would be "cosmetic", but in the future stuff will break if it doesn't happen.), and a list of wikis for which he already has code ready
  2. Subbu to ask Timo or someone for a page or something that we can check to determine which wikis are using specific styling (because it's way more efficient than shouting "are you using specific styling" from a mountain)
  3. Erica to reach each wiki's sysops'noticeboard delivering request to make the change, code and rationale.

This is not urgent work - may or may not happen this quarter.

Elitre lowered the priority of this task from Medium to Low.

@ssastry Please say if this needs to be prioritized or.

Let us keep this low for now. We'll revisit this at our offsite. There is a lot going on right now that I haven't been able to pick this up again.

@ssastry Please let me know about your plans here (when you can). TYVM!

@ssastry Since it's been a year, I wonder if I should just close this and we can reopen when needed, or...?

ssastry changed the task status from Open to Stalled.Sep 6 2019, 5:11 PM

We have to resolve what direction we want to go with this. This will get clearer as we start the parser integration process. But, for clarity, I've marked this stalled.

We have to resolve what direction we want to go with this. This will get clearer as we start the parser integration process. But, for clarity, I've marked this stalled.

Hey! It's been another year and a half, so I wonder again if we should just let this go. For clarity, you could park it in your workboards if you don't want to forget. TY.

This is the year for it to happen as we've been addressing various Cite incompatibilities and just recently finished almost all the work in T51538: Cite: Improve compatibility between Parsoid's port and the PHP extension and are close to resolving that task. So, we'll pick up this CSS question this quarter. Thanks for your patience! :)

@ssastry Hi again, it's been a while for this task. What should we do with it? TY.

I was going to reach ou to you this week, but I need to tweak some of the instructions a bit after consulting with the editing team.

But, the relevant CSS patches have all been merged and I have tested and tweaked the CSS some more in December. So, it is just blocked on me updating the testing instructions on the wiki page before commencing outreach,

Elitre raised the priority of this task from Low to Medium.Jan 5 2023, 5:19 PM

Tasks completed. Docs simplified and translatable. Announcement made in Tech News. Engineers are engaged on the talkpage.