On Thu, Jun 28, 2012 at 6:43 PM, Krinkle <krinklemail(a)gmail.com> wrote:
Replies inline:
On Jun 28, 2012, at 7:38 PM, Jon Robson wrote:
# "things rely on those inline styles
whether we like it or not."
No... They rely on styles not //inline// styles. This is my main
problem with the current setup! I believe the majority of things done
in inline styles that are essential would be better done in
MediaWiki:Common.css - if we have text that is red this would be
better down with a class markedRed otherwise some text risks being red
or and other text #BE3B3B despite meaning the same thing. Most layout
problems on mobile can be fixed with media queries. You can't do these
in inline styles.
Hold on, we're in misunderstanding :). We agree.
So, they *do* rely on inline styles. But when I said "they rely" I meant: they
currently use them to do something that should not be removed. You won't hear me
say we "need" inline styles (there is not a single layout best done through
inline styles). I'm saying they are in use - right now - and fulfilling valid
needs to the point that they can break or make an article.
Obviously they should become css classes loaded through modules like
MediaWiki:Common.css and what not. I will +1 any movement towards deprecating
them entirely from wikitext in MediaWii core. But not for just for mobile and
not without at least a year of migration time for live sites (possibly with an
opt-in feature before that for users to preview articles without inline styles
to help fixing them).
Yes, please, because fixing things such as (put your sunglasses first)
https://pt.wikipedia.org/?oldid=30926886&action=edit§ion=3&…
is a PITA and will take years! (there are tons of it!)
Best regards,
Helder