mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Changed line break behaviour. (#5562)
Added line breaks to PageContentsCreator.java, CategoryEditHelperUnitTests.kt, and MediaDetailFragmentUnitTests.kt following the example given on issue #5523.
This commit is contained in:
parent
0656c88fbe
commit
535792390e
3 changed files with 7 additions and 6 deletions
|
|
@ -44,7 +44,6 @@ public class PageContentsCreator {
|
|||
.append("}}");
|
||||
}
|
||||
buffer
|
||||
.append("\n")
|
||||
.append("|source=").append("{{own}}\n")
|
||||
.append("|author=[[User:").append(media.getAuthor()).append("|")
|
||||
.append(media.getAuthor()).append("]]\n");
|
||||
|
|
@ -68,7 +67,9 @@ public class PageContentsCreator {
|
|||
Utils.getWikiLovesMonumentsYear(Calendar.getInstance()), contribution.getCountryCode()));
|
||||
}
|
||||
|
||||
buffer.append("== {{int:license-header}} ==\n")
|
||||
buffer
|
||||
.append("\n")
|
||||
.append("== {{int:license-header}} ==\n")
|
||||
.append(licenseTemplateFor(media.getLicense())).append("\n\n")
|
||||
.append("{{Uploaded from Mobile|platform=Android|version=")
|
||||
.append(ConfigUtils.getVersionNameWithSha(context)).append("}}\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue