HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/Citoid…

Authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/Citoid a06d4100fb390249a889ff6736e5d37c285ad6d1

Refactor Citoid extension as an inspector

Transform the dialog into an inspector and refactor it to work with
promises, as well as stage an initial empty reference and apply or
erase it when the user chooses what to do.

Depends on ooui fix I9d0c6c12c19043

  • Make the Citoid extension an inspector.
  • Change the workflow to depend on promises. Abort all promises when the user clicks away.
  • Create a 'lookup' button that sends the API request and creates a list of rendered citation previews for the user to choose from.
  • Display a preview of the citation the way it will appear in the reference list, including its type and a matching icon.
  • The citation is added only if the user actively picks the preview option.

Bug: T88152
Change-Id: Ib2e06015529c239c972093f8d285d9f814c16961

Details

Committed
Gerrit Code ReviewMar 9 2015, 10:02 PM
Parents
rMEXTd35f2ed152ff: Updated mediawiki/extensions Project: mediawiki/extensions/Gather…
Branches
Unknown
Tags
Unknown
ChangeId
Ib2e06015529c239c972093f8d285d9f814c16961

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT30cbaf4892c4: Updated mediawiki/extensions Project: mediawiki/extensions/Citoid… (authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>).Mar 9 2015, 10:02 PM