You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Tool:Interaction Timeline

From Wikitech-static
Revision as of 22:25, 20 October 2020 by imported>Dbarratt (Update link to AHT)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Toolforge tools
Crystal Clear app package utilities.png Interaction Timeline
Interaction Timeline Logo.svg
Website https://interaction-timeline.toolforge.org/
Description Chronological history for two users on pages where they have both made edits.

Help

Maintainer(s) Anti-Harassment Tools (View all)
Source code https://github.com/wikimedia/InteractionTimeline
License GNU General Public License 3.0
Issues Open tasks · Report a bug

The Interaction Timeline shows a chronological history for two users on pages where they have both made edits. The original development plan can be found on meta.

Technical Details

The tool is a React application that uses Redux for state management and Redux Observable for side effects. It attempts to do as much as it can on the client or by using MediaWiki's API directly. Unfortunately, MediaWiki's API does not provide a mechanism to query two users and get a single contribution history. A small PHP application using Slim was created to query the Toolforge Replicas.

During deployment, the client application is generated as static HTML, CSS, and JavaScript. The server application handles the HTTP requests and returns the static HTML pages or handles the custom API requests. The tool uses the PHP Kubernetes backend in order to use a newer version of PHP then what is available on the tool itself. Likewise, the client application use the Node Kubernetes backend in order to use a newer version of Node.js.