Template:Metric infobox/doc
Jump to navigation
Jump to search
Template:Documentation subpage
Usage
- input
{{Metric infobox
| name = New editor
| filename = Wiki_metrics.new_editor.svg
| measures = [[R:Editor activation|Editor activation]] & [[R:Editor productivity|Editor productivity]]
| specification =
A '''<math>\text{new editor}(n, t)</math>''' is a [[R:Newly registered user|newly registered user]] completing <math>n</math> edits to a page in a [[R:content namespace|content namespace]] of a Wikimedia project within <math>t</math> time since registration (<math>T</math>).
| wmf-standard =
* <math>n</math> = 1 edit
* <math>t</math> = 24 hours
| aliases = [[R:First-time editor|First-time editor]]
| related-metrics = [[Research:Newly registered user|Newly registered user]]
| status = draft
| repository = [https://github.com/halfak/Productive-new-editor-demonstration https://github.com/halfak/Productive-new-editor-demonstration]
| sql =
<syntaxhighlight lang="SQL">
SET @content_namespaces = (0);
/* ... snip ... */
GROUP BY 1,2,3
HAVING SUM(content_revisions) >= @n;
</syntaxhighlight>
}}
- output