Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SemanticData.php |
— | — | @@ -86,8 +86,6 @@ |
87 | 87 | $dv = SMWDataValueFactory::newPropertyObjectValue($property); |
88 | 88 | $dv->setDBkeys($dbkeys); |
89 | 89 | |
90 | | - $dv->isValid(); |
91 | | - |
92 | 90 | if ($this->m_noduplicates) { |
93 | 91 | $this->propvals[$property->getDBkey()][$dv->getHash()] = $dv; |
94 | 92 | } else { |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Import.php |
— | — | @@ -127,10 +127,12 @@ |
128 | 128 | } |
129 | 129 | |
130 | 130 | public function getShortWikiText($linked = NULL) { |
| 131 | + $this->unstub(); |
131 | 132 | return $this->m_caption; |
132 | 133 | } |
133 | 134 | |
134 | 135 | public function getShortHTMLText($linker = NULL) { |
| 136 | + $this->unstub(); |
135 | 137 | return htmlspecialchars($this->m_value); |
136 | 138 | } |
137 | 139 | |
— | — | @@ -151,22 +153,27 @@ |
152 | 154 | } |
153 | 155 | |
154 | 156 | public function getDBkeys() { |
| 157 | + $this->unstub(); |
155 | 158 | return array($this->m_namespace . ' ' . $this->m_section . ' ' . $this->m_uri); |
156 | 159 | } |
157 | 160 | |
158 | 161 | public function getWikiValue(){ |
| 162 | + $this->unstub(); |
159 | 163 | return $this->m_value; |
160 | 164 | } |
161 | 165 | |
162 | 166 | public function getNS(){ |
| 167 | + $this->unstub(); |
163 | 168 | return $this->m_uri; |
164 | 169 | } |
165 | 170 | |
166 | 171 | public function getNSID(){ |
| 172 | + $this->unstub(); |
167 | 173 | return $this->m_namespace; |
168 | 174 | } |
169 | 175 | |
170 | 176 | public function getLocalName(){ |
| 177 | + $this->unstub(); |
171 | 178 | return $this->m_section; |
172 | 179 | } |
173 | 180 | } |