Florianschmidtwelzow has uploaded a new change for review. https://gerrit.wikimedia.org/r/287955
Change subject: Add categories on a new line ...................................................................... Add categories on a new line Currently, the categories are in one line and are appended directly after the current content of the page (not on a new line). It would be more readable for the users editing wikitext, if each category is added on a new line (including the first added one). This change changes the behaviour of the category overlay to do that. Bug: T130503 Change-Id: I70fe2baedc8b03f175fa34961228000140c78653 --- M resources/mobile.categories.overlays/CategoryAddOverlay.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/55/287955/1 diff --git a/resources/mobile.categories.overlays/CategoryAddOverlay.js b/resources/mobile.categories.overlays/CategoryAddOverlay.js index 316d54b..6aaeffe 100644 --- a/resources/mobile.categories.overlays/CategoryAddOverlay.js +++ b/resources/mobile.categories.overlays/CategoryAddOverlay.js @@ -110,7 +110,7 @@ if ( data ) { // add the new categories in wikitext markup - newCategories += '[[' + data + ']] '; + newCategories += '\n[[' + data + ']] '; } } ); -- To view, visit https://gerrit.wikimedia.org/r/287955 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I70fe2baedc8b03f175fa34961228000140c78653 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits