On 2015-10-26 8:15 PM, MZMcBride wrote:
Daniel Friesen wrote:
Perhaps some deeper segregation of those stats would be useful. ie: Separate the numbers of styles used between templates and pages.
Then we might have a better idea of what kind of patterns are being used directly in pages that should actually be moved to templates or stylesheets.
This reply confused me a little. The script I ran exclusively looked at pages in the main namespace and exclusively looked at an XML dump, which is unexpanded wikitext. That is, assuming people aren't doing a lot of inline styling as arguments/parameters to templates, we should already have a decent amount of segregation as I only looked at direct uses.
Looking at the template namespace or looking at pages post-expansion would be annoying. I think templates aren't necessarily a bad place for inline styling, so I'm a lot less focused on templates than I am on articles.
Sorry, n/m then. I ended up skimming past the namespace mention and thought the stats were for all namespaces.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]