diff --git a/includes/Target.php b/includes/Target.php index 2ba506b..8fa99b5 100644 --- a/includes/Target.php +++ b/includes/Target.php @@ -95,7 +95,11 @@ class Target { } public function getPrefixedTitleText() { - return $this->title->getPrefixedText(); + + if ($this->title->getNamespace() == NS_CATEGORY) + return ':' . $this->title->getPrefixedText(); + else + return $this->title->getPrefixedText(); } /**