aboutsummaryrefslogtreecommitdiff
path: root/mediawiki.lrdevplugin/MediaWikiMetadataProvider.lua
blob: 2f1c89aa7a672374014ed31e20dadee9891bfcbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
-- This file is part of the LrMediaWiki project and distributed under the terms
-- of the MIT license (see LICENSE.txt file in the project root directory or
-- [0]).  See [1] for more information about LrMediaWiki.
--
-- Copyright (C) 2014 by the LrMediaWiki team (see CREDITS.txt file in the
-- project root directory or [2])
--
-- [0]  <https://raw.githubusercontent.com/LrMediaWiki/LrMediaWiki/master/LICENSE.txt>
-- [1]  <https://commons.wikimedia.org/wiki/Commons:LrMediaWiki>
-- [2]  <https://raw.githubusercontent.com/LrMediaWiki/LrMediaWiki/master/CREDITS.txt>

-- Code status:
-- doc:   missing
-- i18n:  complete

return {
	metadataFieldsForPhotos = {
		{
			id = 'description_en',
			title = LOC '$$$/LrMediaWiki/Metadata/DescriptionEn=Description (en)',
			dataType = 'string',
		},
		{
			id = 'description_de',
			title = LOC '$$$/LrMediaWiki/Metadata/DescriptionDe=Description (de)',
			dataType = 'string',
		},
		{
			id = 'description_additional',
			title = LOC '$$$/LrMediaWiki/Metadata/DescriptionAdditional=Description (other)',
			dataType = 'string',
		},
		{
			id = 'categories',
			title = LOC '$$$/LrMediaWiki/Metadata/Categories=Categories',
			dataType = 'string',
		},
	},
	
	schemaVersion = 2,
}