For the parent ticket to be realized, please implement the following:
- For each search that
- was made by humans (not bots)
- happened on the wikimedia wikis
- included keywords that are (or will be) accessible through advancedSearch: file_type, in_title, subpageof, inlanguage, hastemplate, deepcategory
- no matter where the search was executed from
Please record:
- Which keywords it included
- Whether the person had advancedSearch enabled or not
**NB: Please make a draft of the outcoming SQL table first and discuss it with @GoranSMilovanovic to make sure this is what he needs**
**Note**
For people who have advancedSearch enabled, we are already counting keywords when the search was submitted from specialpage:search. Here we are interested in the overall searches (by humans). It might be worth refactoring the old code to do that as well, though (without taking away any of the current functionality)