mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Merge remote-tracking branch 'refs/remotes/origin/2.8-release'
This commit is contained in:
commit
61888f7456
3 changed files with 11 additions and 5 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# Wikimedia Commons for Android
|
||||
|
||||
## v2.8.1
|
||||
- Fixed bug with category edits not being sent to server
|
||||
|
||||
## v2.8.0
|
||||
- Fixed failed uploads by modifying auth token
|
||||
- Fixed crashes during upload by storing file temporarily
|
||||
|
|
|
|||
|
|
@ -87,8 +87,8 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
applicationId 'fr.free.nrw.commons'
|
||||
versionCode 87
|
||||
versionName '2.8.0'
|
||||
versionCode 88
|
||||
versionName '2.8.1'
|
||||
setProperty("archivesBaseName", "app-commons-v$versionName-" + getBranchName())
|
||||
|
||||
minSdkVersion project.minSdkVersion
|
||||
|
|
|
|||
|
|
@ -270,7 +270,8 @@ public class ApacheHttpClientMediaWikiApi implements MediaWikiApi {
|
|||
public String edit(String editToken, String processedPageContent, String filename, String summary) throws IOException {
|
||||
return api.action("edit")
|
||||
.param("title", filename)
|
||||
.param("token", editToken)
|
||||
.param("token", getEditToken())
|
||||
.param("centralauthtoken", getCentralAuthToken())
|
||||
.param("text", processedPageContent)
|
||||
.param("summary", summary)
|
||||
.post()
|
||||
|
|
@ -283,7 +284,8 @@ public class ApacheHttpClientMediaWikiApi implements MediaWikiApi {
|
|||
public String appendEdit(String editToken, String processedPageContent, String filename, String summary) throws IOException {
|
||||
return api.action("edit")
|
||||
.param("title", filename)
|
||||
.param("token", editToken)
|
||||
.param("token", getEditToken())
|
||||
.param("centralauthtoken", getCentralAuthToken())
|
||||
.param("appendtext", processedPageContent)
|
||||
.param("summary", summary)
|
||||
.post()
|
||||
|
|
@ -295,7 +297,8 @@ public class ApacheHttpClientMediaWikiApi implements MediaWikiApi {
|
|||
public String prependEdit(String editToken, String processedPageContent, String filename, String summary) throws IOException {
|
||||
return api.action("edit")
|
||||
.param("title", filename)
|
||||
.param("token", editToken)
|
||||
.param("token", getEditToken())
|
||||
.param("centralauthtoken", getCentralAuthToken())
|
||||
.param("prependtext", processedPageContent)
|
||||
.param("summary", summary)
|
||||
.post()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue