| @@ 90-96 (lines=7) @@ | ||
| 87 | * |
|
| 88 | * @return string |
|
| 89 | */ |
|
| 90 | public function getArticlePath() |
|
| 91 | { |
|
| 92 | $metadata = $this->getRepository()->getMetadata($this->getUrl()); |
|
| 93 | return isset($metadata['general']['articlePath']) |
|
| 94 | ? $metadata['general']['articlePath'] |
|
| 95 | : '/wiki/'; |
|
| 96 | } |
|
| 97 | ||
| 98 | /** |
|
| 99 | * The URL path to index.php |
|
| @@ 105-111 (lines=7) @@ | ||
| 102 | * |
|
| 103 | * @return string |
|
| 104 | */ |
|
| 105 | public function getScriptPath() |
|
| 106 | { |
|
| 107 | $metadata = $this->getRepository()->getMetadata($this->getUrl()); |
|
| 108 | return isset($metadata['general']['scriptPath']) |
|
| 109 | ? $metadata['general']['scriptPath'] |
|
| 110 | : '/w/index.php'; |
|
| 111 | } |
|
| 112 | ||
| 113 | /** |
|
| 114 | * Get this project's title, the human-language full title of the wiki (e.g. "English |
|