Index: trunk/extensions/Wikidata/OmegaWiki/Wikidata.php |
— | — | @@ -129,6 +129,7 @@ |
130 | 130 | $viewInformation->filterLanguageId = $this->filterLanguageId; |
131 | 131 | $viewInformation->possiblySynonymousRelationTypeId = $this->possiblySynonymousRelationTypeId; |
132 | 132 | $viewInformation->queryTransactionInformation = $referenceQueryTransactionInformation; |
| 133 | + $viewInformation->setPropertyToColumnFilters($this->propertyToColumnFilters); |
133 | 134 | $viewInformation->viewOrEdit = "edit"; |
134 | 135 | |
135 | 136 | $this->viewInformation = $viewInformation; |
— | — | @@ -185,6 +186,7 @@ |
186 | 187 | $viewInformation->showRecordLifeSpan = false; |
187 | 188 | $viewInformation->queryTransactionInformation = new QueryLatestTransactionInformation(); |
188 | 189 | $viewInformation->viewOrEdit = "edit"; |
| 190 | + $viewInformation->setPropertyToColumnFilters($this->propertyToColumnFilters); |
189 | 191 | |
190 | 192 | $this->viewInformation = $viewInformation; |
191 | 193 | |
— | — | @@ -241,6 +243,7 @@ |
242 | 244 | $viewInformation->possiblySynonymousRelationTypeId = $this->possiblySynonymousRelationTypeId; |
243 | 245 | $viewInformation->showRecordLifeSpan = $this->showRecordLifeSpan; |
244 | 246 | $viewInformation->queryTransactionInformation = $this->queryTransactionInformation; |
| 247 | + $viewInformation->setPropertyToColumnFilters($this->propertyToColumnFilters); |
245 | 248 | |
246 | 249 | $this->viewInformation = $viewInformation; |
247 | 250 | |
Index: trunk/extensions/Wikidata/OmegaWiki/type.php |
— | — | @@ -48,8 +48,7 @@ |
49 | 49 | } |
50 | 50 | |
51 | 51 | function createLink($url, $text) { |
52 | | - |
53 | | - return '<a href="'. $url . '">' . htmlspecialchars($text) . '</a>'; |
| 52 | + return '<a href="'. htmlspecialchars($url) . '">' . htmlspecialchars($text) . '</a>'; |
54 | 53 | } |
55 | 54 | |
56 | 55 | function spellingAsLink($spelling) { |