From cc5941acf287dd182698e87bdfc60604ab6cba7b Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 2 Sep 2014 15:39:22 +0200 Subject: Fix #15: Show {{Location}} template in wikitext preview. --- mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mediawiki.lrdevplugin') diff --git a/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua b/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua index 3ea7f48..90acf9e 100755 --- a/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua +++ b/mediawiki.lrdevplugin/MediaWikiExportServiceProvider.lua @@ -265,7 +265,7 @@ MediaWikiExportServiceProvider.sectionsForTopOfDialog = function(viewFactory, pr viewFactory:push_button { title = LOC '$$$/LrMediaWiki/Section/Licensing/Preview=Preview generated wikitext', action = function(button) - local wikitext = MediaWikiInterface.buildFileDescription('', propertyTable.info_source, '', propertyTable.info_author, propertyTable.info_license, propertyTable.info_templates, propertyTable.info_other, propertyTable.info_categories, '') + local wikitext = MediaWikiInterface.buildFileDescription('', propertyTable.info_source, '', propertyTable.info_author, propertyTable.info_license, '\n' . propertyTable.info_templates, propertyTable.info_other, propertyTable.info_categories, '') LrDialogs.message(LOC '$$$/LrMediaWiki/Section/Licensing/Preview=Preview generated wikitext', wikitext, 'info') end, }, -- cgit v1.2.3