HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/ContentTranslation…

Description

Updated mediawiki/extensions Project: mediawiki/extensions/ContentTranslation 8fb920cc0e61464ce9542a9cd0c43a1906998346

Expose published translation with source-target URL pairs

Introducing an API to expose the published translations information
so that people interested in analyzing the translation pairs
(can't say parallel corpora in strict sense) get minimal information
to work with.

Sample output

"result": {

"translations": [
    {
        "sourceTitle": "SourceTitle",
        "targetTitle": "TranslatedTitle",
        "sourceLanguage": "es",
        "targetLanguage": "pt",
        "sourceURL": "//es.wikipedia.org/wiki/SourceTitle",
        "targetURL": "//pt.wikiedia.org/wiki/TranslatedTitle",
        "stats": {
            "any": 1,
            "human": 0.45176110260337,
            "mt": 0.54823889739663,
            "mtSectionsCount": 2
        }
    },

....

]

}

This is not a final version of the information we wanted to expose,
but just starting work on it.

As we improve our infrastructure we may able to provide
more useful information.

Bug: T87353
Change-Id: I0094102b7f04bd249e7f69502737f671755165c1

Details

Provenance
jenkins-botAuthored on
Gerrit Code ReviewCommitted on Feb 24 2015, 1:19 PM
Parents
rMEXT29e8bb790200: Updated mediawiki/extensions Project: mediawiki/extensions/GettingStarted…
Branches
Unknown
Tags
Unknown
ChangeId
I0094102b7f04bd249e7f69502737f671755165c1

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT358c2f047c27: Updated mediawiki/extensions Project: mediawiki/extensions/ContentTranslation… (authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>).Feb 24 2015, 1:19 PM