Wikimedia
Add options for filtering deleted pages to Wikimedia's "Pages Created" tool
The live Pages Created tool on Wikimedia Cloud Services is at https://xtools.wmflabs.org/pages
Example result for a user who had some of their pages deleted: https://xtools.wmflabs.org/pages/en.wikipedia.org/Matthewrbowker
The XTools code repository: https://github.com/x-tools/xtools
We should introduce a new dropdown for filtering deleted pages. The options should include:
- "Include live and deleted pages" (this will be the default)
- "Exclude deleted pages"
- "Only include deleted pages"
The things that need updating, in a pull request provided in GitHub:
- The Pages Created form at https://github.com/x-tools/xtools/blob/master/app/Resources/views/pages/index.html.twig
- The resultAction of the PagesController at https://github.com/x-tools/xtools/blob/master/src/AppBundle/Controller/PagesController.php#L67
UserRepository::getPagesCreated
at https://github.com/x-tools/xtools/blob/master/src/Xtools/UserRepository.php#L209- The result view at https://github.com/x-tools/xtools/blob/master/app/Resources/views/pages/result.html.twig
You can find us on IRC in the #wikimedia-xtools
channel for quick questions.
Task tags
Students who completed this task
Albert Wolszon