As per CR of https://gerrit.wikimedia.org/r/#/c/236529/2/includes/Translation.php
Explore the option of merging published and draft stats queries, and if possible avoid the subquery
As per CR of https://gerrit.wikimedia.org/r/#/c/236529/2/includes/Translation.php
Explore the option of merging published and draft stats queries, and if possible avoid the subquery
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/ContentTranslation | master | +31 -111 | Stats: Optimize the query behind contenttranslationlangtrend API |
It may be even possible to to abstract output formatting part. See https://gerrit.wikimedia.org/r/#/c/236538/2/includes/Translation.php
Change 238114 had a related patch set uploaded (by Santhosh):
Stats: Optimize the query behind contenttranslationlangtrend API
Change 238114 merged by jenkins-bot:
Stats: Optimize the query behind contenttranslationlangtrend API