Changeset View
Changeset View
Standalone View
Standalone View
include/wb/DataType.php
| <?php | <?php | ||||
| # Boz-MW - Another MediaWiki API handler in PHP | # Boz-MW - Another MediaWiki API handler in PHP | ||||
| # Copyright (C) 2017, 2018, 2019 Valerio Bozzolan | # Copyright (C) 2017-2022 Valerio Bozzolan | ||||
| # 2022 Valerio Bozzolan, Luca Mauri | |||||
| # | # | ||||
| # This program is free software: you can redistribute it and/or modify | # This program is free software: you can redistribute it and/or modify | ||||
| # it under the terms of the GNU Affero General Public License as published by | # it under the terms of the GNU Affero General Public License as published by | ||||
| # the Free Software Foundation, either version 3 of the License, or | # the Free Software Foundation, either version 3 of the License, or | ||||
| # (at your option) any later version. | # (at your option) any later version. | ||||
| # | # | ||||
| # This program is distributed in the hope that it will be useful, | # This program is distributed in the hope that it will be useful, | ||||
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| Show All 20 Lines | class DataType { | ||||
| const MONOLINGUAL_TEXT = 'monolingualtext'; | const MONOLINGUAL_TEXT = 'monolingualtext'; | ||||
| const GLOBE_COORDINATE = 'globecoordinate'; | const GLOBE_COORDINATE = 'globecoordinate'; | ||||
| const EXTERNAL_ID = 'external-id'; | const EXTERNAL_ID = 'external-id'; | ||||
| const COMMONS_MEDIA = 'commonsMedia'; | const COMMONS_MEDIA = 'commonsMedia'; | ||||
| const ITEM = 'wikibase-item'; | const ITEM = 'wikibase-item'; | ||||
| const ENTITY_ID = 'wikibase-entityid'; | const ENTITY_ID = 'wikibase-entityid'; | ||||
| const PROPERTY = 'wikibase-property'; | const PROPERTY = 'wikibase-property'; | ||||
| // https://www.mediawiki.org/wiki/Extension:Wikibase_Local_Media | |||||
| const LOCALMEDIA = 'localMedia'; | |||||
| } | } | ||||
Public contents are in Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) or GNU Free Documentation License (at your option) unless otherwise noted. · Contact / Register