Index: trunk/extensions/mw-editcount/EditCountPage.php |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | |
64 | 64 | $nt = Title::newFromURL($this->target); |
65 | 65 | if (!$nt) { |
66 | | - $wgOut->addWikiMsg("editcount-notuser", $this->target)); |
| 66 | + $wgOut->addWikiMsg("editcount-notuser", $this->target); |
67 | 67 | wfProfileOut(__METHOD__); |
68 | 68 | return; |
69 | 69 | } |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | wfProfileIn(__METHOD__); |
88 | 88 | |
89 | 89 | if ($ec->getTotal() == 0) { |
90 | | - $wgOut->addWikiMsg("editcount-noedits", $ec->getName())); |
| 90 | + $wgOut->addWikiMsg("editcount-noedits", $ec->getName()); |
91 | 91 | wfProfileOut(__METHOD__); |
92 | 92 | return; |
93 | 93 | } |
Index: trunk/extensions/mw-editcount/EditCount.php |
— | — | @@ -152,7 +152,7 @@ |
153 | 153 | |
154 | 154 | //FIXME: don't use is_numeric |
155 | 155 | if (!is_numeric($param2)) { |
156 | | - $index = Namespace::getCanonicalIndex(strtolower($param2)); |
| 156 | + $index = MWNamespace::getCanonicalIndex(strtolower($param2)); |
157 | 157 | if ($index === null) { |
158 | 158 | wfProfileOut(__FUNCTION__); |
159 | 159 | return array("found" => false); |