HomePhabricator

Use API to retrieve utterances
c67c26b95febUnpublished

Tags
None
Referenced Files
None
Subscribers
None

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Use API to retrieve utterances

Utterances are now stored in a variable instead of HTML element. A
request is sent to the Wikispeech API action and the segments in the
response is stored. This is done on page load.

Default values for removetags and segmentbreakingtags are read
from the config.

Implemented specifying multiple CSS classes for tags, when listing
tags that should be removed.

Checking if the current page is in a namespace where Wikispeech is
activated was moved to Javscript code. It also uses id rather than
name.

Removed the logic for moving the player when the log panel was
added. This probably wasn't a good idea to begin with. If it turns out
that it's really needed, it should be implemented in some other way.

Moved logic for handling elements wrapping text content to back end.

Bug: T164251
Bug: T146454
Change-Id: I2bb7c2ae83b6aae2a1435e7041d8a5480e37f616

Details

Provenance
Sebastian_Berlin-WMSEAuthored on Jul 17 2017, 9:19 AM
ChangeId
I2bb7c2ae83b6aae2a1435e7041d8a5480e37f616

Commit No Longer Exists

This commit no longer exists in the repository.