| @@ 78-84 (lines=7) @@ | ||
| 75 | * |
|
| 76 | * @return string |
|
| 77 | */ |
|
| 78 | public function getArticlePath() |
|
| 79 | { |
|
| 80 | $metadata = $this->getRepository()->getMetadata($this->getUrl()); |
|
| 81 | return isset($metadata['general']['articlePath']) |
|
| 82 | ? $metadata['general']['articlePath'] |
|
| 83 | : '/wiki/'; |
|
| 84 | } |
|
| 85 | ||
| 86 | /** |
|
| 87 | * The URL path to index.php |
|
| @@ 93-99 (lines=7) @@ | ||
| 90 | * |
|
| 91 | * @return string |
|
| 92 | */ |
|
| 93 | public function getScriptPath() |
|
| 94 | { |
|
| 95 | $metadata = $this->getRepository()->getMetadata($this->getUrl()); |
|
| 96 | return isset($metadata['general']['scriptPath']) |
|
| 97 | ? $metadata['general']['scriptPath'] |
|
| 98 | : '/w/index.php'; |
|
| 99 | } |
|
| 100 | ||
| 101 | /** |
|
| 102 | * Get this project's title, the human-language full title of the wiki (e.g. "English |
|