r22552 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22551‎ | r22552 | r22553 >
Date:03:35, 30 May 2007
Author:kim
Status:old
Tags:
Comment:
minor edits to zap notices
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/WikiDataAPI.php (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/Wikidata.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/WikiDataAPI.php
@@ -944,7 +944,7 @@
945945 $dbr = & wfGetDB(DB_SLAVE);
946946
947947 $definedMeaningId=$dbr->addQuotes($definedMeaningId);
948 - $userLangaugeId=$dbr->addQuotes($userLangaugeId);
 948+ $userLanguageId=$dbr->addQuotes($userLanguageId);
949949 $fallbackLanguageId=$dbr->addQuotes($fallbackLanguageId);
950950
951951 if($userLanguageId) {
Index: trunk/extensions/Wikidata/OmegaWiki/Wikidata.php
@@ -496,8 +496,8 @@
497497 /** returns the page title associated with this defined meaning (as a Title object)
498498 * First time from db lookup. Subsequently from cache
499499 */
500 - public function &getTitle() {
501 - $title=&$this->title;
 500+ public function getTitle() {
 501+ $title=$this->title;
502502 if ($title==null) {
503503
504504 $name=$this->getSpelling();