Hi.
I was curious about the prevalence and types of inline styling (or more
specifically, inline CSS) in articles on the English Wikipedia.
The relevant task is here: <https://phabricator.wikimedia.org/T115228>.
The results are here: <https://phabricator.wikimedia.org/P2230>.
The following are the top ten instances of inline styling from main
namespace pages on the English Wikipedia, as of about 2015-10-02:
1552197 text-align: center;
499756 text-align: left;
355952 background: #dfffdf;
235222 background: #cfcfff;
215038 background: #efcfff;
210702 text-align: right;
143095 display: none;
93646 background: #efefef;
86391 font-size: 90%;
80420 background: #fff;
My hope is that a better understanding of the uses of inline styling will
allow us to reduce the overall amount of it in smart ways. Semantic CSS
classes and per-page or per-template CSS files might be part of this.
MZMcBride