Index: trunk/extensions/Wikidata/OmegaWiki/WikiDataAPI.php |
— | — | @@ -944,7 +944,7 @@ |
945 | 945 | $dbr = & wfGetDB(DB_SLAVE); |
946 | 946 | |
947 | 947 | $definedMeaningId=$dbr->addQuotes($definedMeaningId); |
948 | | - $userLangaugeId=$dbr->addQuotes($userLangaugeId); |
| 948 | + $userLanguageId=$dbr->addQuotes($userLanguageId); |
949 | 949 | $fallbackLanguageId=$dbr->addQuotes($fallbackLanguageId); |
950 | 950 | |
951 | 951 | if($userLanguageId) { |
Index: trunk/extensions/Wikidata/OmegaWiki/Wikidata.php |
— | — | @@ -496,8 +496,8 @@ |
497 | 497 | /** returns the page title associated with this defined meaning (as a Title object) |
498 | 498 | * First time from db lookup. Subsequently from cache |
499 | 499 | */ |
500 | | - public function &getTitle() { |
501 | | - $title=&$this->title; |
| 500 | + public function getTitle() { |
| 501 | + $title=$this->title; |
502 | 502 | if ($title==null) { |
503 | 503 | |
504 | 504 | $name=$this->getSpelling(); |