mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 01:39:30 +02:00
Fixed issue #63: when linking to a category, needs to prefix with a colon
This commit is contained in:
@ -95,7 +95,11 @@ class Target {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function getPrefixedTitleText() {
|
public function getPrefixedTitleText() {
|
||||||
return $this->title->getPrefixedText();
|
|
||||||
|
if ($this->title->getNamespace() == NS_CATEGORY)
|
||||||
|
return ':' . $this->title->getPrefixedText();
|
||||||
|
else
|
||||||
|
return $this->title->getPrefixedText();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user