Robert Rohde wrote: >On Mon, Oct 26, 2015 at 2:13 AM, MZMcBride <[email protected]> wrote: >>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; > >I'm not sure what your bug is, but those counts are way too high to be >accurate reflections of the wikitext in the main namespace on enwiki.
Err, based on what? :-) These numbers are instances of style="[...]", not page counts. Looking at a specific example from <https://phabricator.wikimedia.org/P2230>: 1164 font-family: 'microsoft yi baiti', 'noto sans yi', nsimsun-18030, simsun-18030, 'sil yi', code2000; These 1,164 inline styling instances all come from a single article: <https://en.wikipedia.org/w/index.php?oldid=672244691&action=edit>. Maybe that's the confusion? I tried to make my descriptions as clear as possible and I'm not saying a major bug is impossible, of course, but I don't have any reason so far to doubt the data I collected. Another strange case is "background-color: {{/meta/color}};", which had 16,432 instances. This almost looks like it would try to transclude a subpage of the article, but due to subpages being disabled in the main namespace on the English Wikipedia, it's actually transcluding a template named "/meta/color": <https://en.wikipedia.org/wiki/Template:/meta/color>. I did concurrently look at the approximate number of non-redirect pages that contain inline styling. My findings were that about 408,777 non-redirect pages contain some kind of inline styling on the English Wikipedia (cf. <https://phabricator.wikimedia.org/T115228#1752223>). MZMcBride _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
