Last modified: 2014-02-26 12:53:45 UTC
There's some interest (e.g. by Jon Robson at https://gerrit.wikimedia.org/r/#/c/91512) in reducing bandwidth usage of EventLogging RL schema modules. Low-hanging fruit for this is removing the human-readable "description" property from the declareSchema call.
My patch is not so much about bandwidth but more about consistency with the rest of ResourceLoader modules - the majority of keys are plural and allow strings or arrays (e.g. messages, scripts, styles) I think removing description property might be a slight micro optimisation. That said is the description used anywhere?
True, you can have multiple script files, etc. But at the same time, it's encouraged for a module to be a cohesive unit. But that's another topic. Anyway, the description is not used anywhere on the client side, unless some developer is looking at it in their JavaScript console. The descriptions are for the aid of people reading and modifying the Meta (schema wiki) schema pages. They're documentation.
[moving from MediaWiki extensions to Analytics product - see bug 61946]