Gergő Tisza has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/136833

Change subject: Handle id="fileinfotpl_credit" and class="licensetpl_attr"
......................................................................

Handle id="fileinfotpl_credit" and class="licensetpl_attr"

Handle markup which is used to specify attribution requirements.

Bug: 57460
Change-Id: I900c9824a978f1da787259265eb23e7a5db16a4a
---
M TemplateParser.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CommonsMetadata 
refs/changes/33/136833/1

diff --git a/TemplateParser.php b/TemplateParser.php
index 1f52a7b..5f70dac 100755
--- a/TemplateParser.php
+++ b/TemplateParser.php
@@ -24,7 +24,7 @@
                'licensetpl_short' => 'LicenseShortName',
                'licensetpl_long' => 'UsageTerms',
                // 'licensetpl_attr_req',
-               // 'licensetpl_attr',
+               'licensetpl_attr' => 'Attribution',
                // 'licensetpl_link_req',
                'licensetpl_link' => 'LicenseUrl',
        );
@@ -53,6 +53,7 @@
                'fileinfotpl_art_title' => 'ObjectName',
                'fileinfotpl_book_title' => 'ObjectName',
                'fileinfotpl_perm' => 'Permission',
+               'fileinfotpl_credit' => 'Attribution',
        );
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/136833
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I900c9824a978f1da787259265eb23e7a5db16a4a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CommonsMetadata
Gerrit-Branch: master
Gerrit-Owner: GergÅ‘ Tisza <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to