webplatform / mediawiki-conversion

Convert MediaWiki XML backup into structured raw text file tree
https://github.com/webplatform/docs
15 stars 4 forks source link

Ability to view contributions, filter per path and/or author #15

Open renoirb opened 9 years ago

renoirb commented 9 years ago

Ability to visualize contributions, and changes history on the wiki and on pages in particular.

  1. On a page
  2. By a user
  3. On a page, by a user

    Task summary

    • [x] Create a view where we can query GitHub API and list commits
    • [ ] Ability to filter per wiki page path (e.g. path=content/css/properties/border-radius/index.md)
    • [ ] Ability to filter per author. Has to support both migrated users (e.g. Dgash@docs.webplatform.org and GitHub users (e.g. renoirb).
    • [ ] Setup redirect from former /wiki/Special:RecentChanges (example) to point to List edits
    • [ ] Setup redirect from former /wiki/Special:Contributions/Username (example) to point to List edits made by author
    • [ ] Setup redirect from former "page history" /w/index.php?title=css/properties/border-radius&action=history (example) to point to List edits made on a page

      Links

    • Prototype on JsFiddle, source article
    • GitHub API commits
    • Views:
    • List edits (a.k.a. Recent Changes) using API, using GitHub
    • List edits made on a page using API, using GitHub
    • List edits made by author migrated from MediaWiki using API, using GitHub
    • List edits made on a page by author migrated from MediaWiki using API, using GitHub
    • List edits made by author (after migration) using API, using GitHub

      Proof of concept ScreenShot

The following is a snapshot of a client side JavaScript client proof of concept (ref: source article) that we could use to list contributions.

ability-view-contributions