Index: trunk/extensions/SemanticMediaWiki/maintenance/SMW_conceptCache.php |
— | — | @@ -128,8 +128,6 @@ |
129 | 129 | $select_old = isset( $options['old'] ) ? intval( $options['old'] ) : false; |
130 | 130 | |
131 | 131 | if ( isset( $options['concept'] ) ) { // single concept mode |
132 | | - // $concept = SMWDataValueFactory::newTypeIDValue( '_wpg' ); |
133 | | - // $concept->setValues( 'African_countries', SMW_NS_CONCEPT ); |
134 | 132 | global $wgContLang; |
135 | 133 | $concept = Title::newFromText( $wgContLang->getNsText( SMW_NS_CONCEPT ) . ':' . $options['concept'] ); |
136 | 134 | if ( $concept !== null ) { |
Index: trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_WikiPage.php |
— | — | @@ -347,7 +347,7 @@ |
348 | 348 | /** |
349 | 349 | * Find the sortkey for this object. |
350 | 350 | * |
351 | | - * @deprecated Use SMWStore::getWikiPageSortKey(). |
| 351 | + * @deprecated Use SMWStore::getWikiPageSortKey(). Will vanish before SMW 1.7 |
352 | 352 | * |
353 | 353 | * @return string sortkey |
354 | 354 | */ |
— | — | @@ -356,24 +356,6 @@ |
357 | 357 | } |
358 | 358 | |
359 | 359 | /** |
360 | | - * Init this data value object based on a given Title object. |
361 | | - * @deprecated Use setDataItem(); it's easy to create an SMWDIWikiPage from a Title, will vanish before SMW 1.7 |
362 | | - */ |
363 | | - public function setTitle( $title ) { |
364 | | - $diWikiPage = SMWDIWikiPage::newFromTitle( $title ); |
365 | | - $this->setDataItem( $diWikiPage ); |
366 | | - $this->m_title = $title; // optional, just for efficiency |
367 | | - } |
368 | | - |
369 | | - /** |
370 | | - * @deprecated Use setDataItem() |
371 | | - */ |
372 | | - public function setValues( $dbkey, $namespace, $id = false, $interwiki = '' ) { |
373 | | - $dataItem = new SMWDIWikiPage( $dbkey, $namespace, $interwiki ); |
374 | | - $this->setDataItem( $dataItem); |
375 | | - } |
376 | | - |
377 | | - /** |
378 | 360 | * Static function for creating a new wikipage object from |
379 | 361 | * data as it is typically stored internally. In particular, |
380 | 362 | * the title string is supposed to be in DB key form. |