HttpFetcher::fetchFile() tries to fetch from, say, https://raw.github.com/Wikimedia/mediawiki-extensions-Abusefilter/master/i18n/de.json is redirected to https://raw.githubusercontent.com/Wikimedia/mediawiki-extensions-Abusefilter/master/i18n/de.json. But it uses \Http::get() function without the option [ 'followRedirects' => true ] returns only empty string "" and always ends up with the result massage "Found no new translations".
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Allow to follow redirect for fetching files | Lens0021 | mediawiki/extensions/LocalisationUpdate | master | +1 -1 |
Event Timeline
Comment Actions
Change 548785 had a related patch set uploaded (by Lens0021; owner: Lens0021):
[mediawiki/extensions/LocalisationUpdate@master] Allow to follow redirect for fetching files
Comment Actions
Change 548785 merged by jenkins-bot:
[mediawiki/extensions/LocalisationUpdate@master] Allow to follow redirect for fetching files