Index: trunk/extensions/Wikidata/OmegaWiki/WikiDataGlobals.php |
— | — | @@ -92,14 +92,57 @@ |
93 | 93 | $wgSourceIdentifierAttributeName = "Source identifier"; |
94 | 94 | $wgTextAttributeAttributeName = "Property"; |
95 | 95 | $wgTextAttributeName = "Text"; |
96 | | -$wgTextAttributeValuesAttributeName = "Plain texts"; |
| 96 | +$wgTextAttributeValuesAttributeName = "String properties"; |
97 | 97 | $wgTranslatedTextAttributeAttributeName = "Property"; |
98 | 98 | $wgTranslatedTextAttributeName = "Translated text"; |
99 | 99 | $wgTranslatedTextAttributeValueAttributeName = "Text"; |
100 | | -$wgTranslatedTextAttributeValuesAttributeName = "Translatable texts"; |
| 100 | +$wgTranslatedTextAttributeValuesAttributeName = "Text properties"; |
101 | 101 | $wgUrlAttributeAttributeName = "Property"; |
102 | 102 | $wgUrlAttributeValuesAttributeName = "URLs"; |
103 | 103 | |
| 104 | +// Attribute Ids |
| 105 | + |
| 106 | +global |
| 107 | + $wgAlternativeDefinitionsAttributeId, |
| 108 | + $wgClassAttributesAttributeId, |
| 109 | + $wgClassMembershipAttributeId, |
| 110 | + $wgCollectionMembershipAttributeId, |
| 111 | + $wgDefinedMeaningAttributesAttributeId, |
| 112 | + $wgDefinitionAttributeId, |
| 113 | + $wgIncomingRelationsAttributeId, |
| 114 | + $wgPossiblySynonymousAttributeId, |
| 115 | + $wgRelationsAttributeId, |
| 116 | + $wgSynonymsAndTranslationsAttributeId; |
| 117 | + |
| 118 | +$wgAlternativeDefinitionsAttributeId = "alternative-definitions"; |
| 119 | +$wgClassAttributesAttributeId = "class-attributes"; |
| 120 | +$wgClassMembershipAttributeId = "class-membership"; |
| 121 | +$wgCollectionMembershipAttributeId = "collection-membership"; |
| 122 | +$wgDefinedMeaningAttributesAttributeId = "defined-meaning-attributes"; |
| 123 | +$wgDefinitionAttributeId = "definition"; |
| 124 | +$wgIncomingRelationsAttributeId = "reciprocal-relations"; |
| 125 | +$wgPossiblySynonymousAttributeId = "possibly-synonymous"; |
| 126 | +$wgRelationsAttributeId = "relations"; |
| 127 | +$wgSynonymsAndTranslationsAttributeId = "synonyms-translations"; |
| 128 | + |
| 129 | +// Defined meaning editor |
| 130 | + |
| 131 | +global |
| 132 | + $wgDefinedMeaningAttributesOrder; |
| 133 | + |
| 134 | +$wgDefinedMeaningAttributesOrder = array( |
| 135 | + $wgDefinitionAttributeId, |
| 136 | + $wgClassAttributesAttributeId, |
| 137 | + $wgAlternativeDefinitionsAttributeId, |
| 138 | + $wgSynonymsAndTranslationsAttributeId, |
| 139 | + $wgPossiblySynonymousAttributeId, |
| 140 | + $wgRelationsAttributeId, |
| 141 | + $wgIncomingRelationsAttributeId, |
| 142 | + $wgClassMembershipAttributeId, |
| 143 | + $wgCollectionMembershipAttributeId, |
| 144 | + $wgDefinedMeaningAttributesAttributeId |
| 145 | +); |
| 146 | + |
104 | 147 | // Go to source templates |
105 | 148 | |
106 | 149 | require_once("GotoSourceTemplate.php"); |
— | — | @@ -148,3 +191,4 @@ |
149 | 192 | * |
150 | 193 | */ |
151 | 194 | $wgPropertyToColumnFilters = array(); |
| 195 | +?> |
\ No newline at end of file |