Lucie Kaffee has uploaded a new change for review. https://gerrit.wikimedia.org/r/258083
Change subject: Remove the word "Description: " ...................................................................... Remove the word "Description: " Bug: T120521 Change-Id: I6307f78fce46c58f9fc56b77c42da994489c02a3 --- M i18n/en.json M i18n/qqq.json M includes/Lua/EntityRenderer.lua 3 files changed, 1 insertion(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ArticlePlaceholder refs/changes/83/258083/1 diff --git a/i18n/en.json b/i18n/en.json index 7e995a0..ff5251a 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -15,7 +15,6 @@ "articleplaceholder-abouttopic-create-article-submit-button": "Submit", "articleplaceholder-abouttopic-article-exists-error": "An article with this name already exists", "articleplaceholder-abouttopic-lua-entity": "Entity", - "articleplaceholder-abouttopic-lua-description": "Description:", "articleplaceholder-abouttopic-lua-reference": "Reference", "articleplaceholder-abouttopic-lua-qualifier": "Qualifier", "articleplaceholder-abouttopic-lua-identifier": "Identifier", diff --git a/i18n/qqq.json b/i18n/qqq.json index 0642bf0..0993883 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -17,7 +17,6 @@ "articleplaceholder-abouttopic-create-article-submit-button": "Label on submit button\n{{Identical|Submit}}", "articleplaceholder-abouttopic-article-exists-error": "Error to indicate the given article title already exists", "articleplaceholder-abouttopic-lua-entity": "Header of the entity section\n{{Identical|Entity}}", - "articleplaceholder-abouttopic-lua-description": "Word before the description string\n{{Identical|Description}}", "articleplaceholder-abouttopic-lua-reference": "Header of the reference section\n{{Identical|Reference}}", "articleplaceholder-abouttopic-lua-qualifier": "Header of the qualifier section\n{{Identical|Qualifier}}", "articleplaceholder-abouttopic-lua-identifier": "Header of the identifier section\n{{Identical|Identifier}}", diff --git a/includes/Lua/EntityRenderer.lua b/includes/Lua/EntityRenderer.lua index a95e661..3b1b454 100644 --- a/includes/Lua/EntityRenderer.lua +++ b/includes/Lua/EntityRenderer.lua @@ -229,7 +229,7 @@ result = result .. '__NOTOC__' if description ~= nil then - result = result .. mw.message.new( 'articleplaceholder-abouttopic-lua-description' ):plain() .. description + result = result .. description end result = result .. '<div class="articleplaceholder-sidebar">' .. image result = result .. identifier .. '</div>' -- To view, visit https://gerrit.wikimedia.org/r/258083 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6307f78fce46c58f9fc56b77c42da994489c02a3 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ArticlePlaceholder Gerrit-Branch: master Gerrit-Owner: Lucie Kaffee <lucie.kaf...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits