r24745 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24744‎ | r24745 | r24746 >
Date:10:33, 13 August 2007
Author:proes
Status:old
Tags:
Comment:
Fixed property to column filters for Link attributes.
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/OmegaWikiEditors.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/OmegaWikiEditors.php
@@ -188,14 +188,16 @@
189189 $wgPropertyAttributeName;
190190
191191 $linkValueObjectAttributesEditors = array();
192 - $textValueObjectAttributesEditors = array();
 192+ $textValueObjectAttributesEditors = array();
 193+ $translatedTextValueObjectAttributesEditors = array();
 194+ $optionValueObjectAttributesEditors = array();
193195
194196 foreach ($viewInformation->getPropertyToColumnFilters() as $propertyToColumnFilter) {
195197 $attribute = $propertyToColumnFilter->getAttribute();
196198 $propertyCaption = $propertyToColumnFilter->getPropertyCaption();
197199
198200 $textValueObjectAttributesEditors[] = new ObjectAttributeValuesEditor($attribute, $propertyCaption, $viewInformation);
199 - $linkValueObjectAttributeEditors[] = new ObjectAttributeValuesEditor($attribute, $propertyCaption, $viewInformation);
 201+ $linkValueObjectAttributesEditors[] = new ObjectAttributeValuesEditor($attribute, $propertyCaption, $viewInformation);
200202 $translatedTextValueObjectAttributesEditors[] = new ObjectAttributeValuesEditor($attribute, $propertyCaption, $viewInformation);
201203 $optionValueObjectAttributesEditors[] = new ObjectAttributeValuesEditor($attribute, $propertyCaption, $viewInformation);
202204 }

Status & tagging log