r23833 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23832‎ | r23833 | r23834 >
Date:06:40, 7 July 2007
Author:mulligen
Status:old
Tags:
Comment:
order of attributes defined as well
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/WikiDataGlobals.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/WikiDataGlobals.php
@@ -92,14 +92,57 @@
9393 $wgSourceIdentifierAttributeName = "Source identifier";
9494 $wgTextAttributeAttributeName = "Property";
9595 $wgTextAttributeName = "Text";
96 -$wgTextAttributeValuesAttributeName = "Plain texts";
 96+$wgTextAttributeValuesAttributeName = "String properties";
9797 $wgTranslatedTextAttributeAttributeName = "Property";
9898 $wgTranslatedTextAttributeName = "Translated text";
9999 $wgTranslatedTextAttributeValueAttributeName = "Text";
100 -$wgTranslatedTextAttributeValuesAttributeName = "Translatable texts";
 100+$wgTranslatedTextAttributeValuesAttributeName = "Text properties";
101101 $wgUrlAttributeAttributeName = "Property";
102102 $wgUrlAttributeValuesAttributeName = "URLs";
103103
 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+
104147 // Go to source templates
105148
106149 require_once("GotoSourceTemplate.php");
@@ -148,3 +191,4 @@
149192 *
150193 */
151194 $wgPropertyToColumnFilters = array();
 195+?>
\ No newline at end of file

Status & tagging log