See T206817#4965342
We don't care about redirects, and they shouldn't be counted toward pages created/improved, or anywhere else in the application.
MusikAnimal | |
Feb 19 2019, 9:06 PM |
F28251512: af_compare.png | |
Feb 20 2019, 3:11 PM |
F28251527: id_compare.png | |
Feb 20 2019, 3:11 PM |
See T206817#4965342
We don't care about redirects, and they shouldn't be counted toward pages created/improved, or anywhere else in the application.
Merged and ready for QA. The example event we use in the integration tests includes some redirects, see https://github.com/wikimedia/eventmetrics/blob/master/src/AppBundle/DataFixtures/ORM/extended.yml#L11-L51 for the details. Hopefully that code is decipherable.
Comparing production with dev I see that moved pages no longer appear in the revisions/edit list nor are counted in the stats.
For example, https://eventmetrics-dev.wmflabs.org/programs/119/events/267, where user had moved two pages, previously counted as 2 new pages and 2 improved pages, now just counts as 2 improved pages.
Similarly for https://eventmetrics-dev.wmflabs.org/programs/91/events/240.
For https://eventmetrics-dev.wmflabs.org/programs/91/events/254 I compared stats with what I could derive from the revisions/edit list. Stats report Pages Improved: 91. In the revisions list there are 94 rows, 3 of which refer to the same page.