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:
Ivan C. Acha 2024-02-25 09:00:45 -05:00 committed by GitHub
parent 0656c88fbe
commit 535792390e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 6 deletions

View file

@ -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");