@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | 3, |
| 105 | 105 | $wikilinks->contents()->length, |
| 106 | 106 | 'There should be 3 backlinks' |
| 107 | - ); |
|
| 107 | + ); |
|
| 108 | 108 | |
| 109 | 109 | $lastlink = pq('a:last', $wikilinks); |
| 110 | 110 | dbglog($lastlink->text(), "last backlink"); |
@@ -112,6 +112,6 @@ discard block |
||
| 112 | 112 | 'A link to Bob Ross', |
| 113 | 113 | $lastlink->text(), |
| 114 | 114 | 'The last backlink should be "A link to Bob Ross"' |
| 115 | - ); |
|
| 115 | + ); |
|
| 116 | 116 | } |
| 117 | 117 | } |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | 4, |
| 136 | 136 | $wikilinks->contents()->length, |
| 137 | 137 | 'There should be 4 backlinks' |
| 138 | - ); |
|
| 138 | + ); |
|
| 139 | 139 | |
| 140 | 140 | $lastlink = pq('a:last', $wikilinks); |
| 141 | 141 | dbglog($lastlink->text(), "last backlink"); |
@@ -143,6 +143,6 @@ discard block |
||
| 143 | 143 | $lastlink->text(), |
| 144 | 144 | 'A link to Bob Ross', |
| 145 | 145 | 'The last backlink should be a link to Bob Ross' |
| 146 | - ); |
|
| 146 | + ); |
|
| 147 | 147 | } |
| 148 | 148 | } |
@@ -83,16 +83,16 @@ |
||
| 83 | 83 | global $INFO; |
| 84 | 84 | global $ID; |
| 85 | 85 | |
| 86 | - $id = $ID; |
|
| 86 | + $id = $ID; |
|
| 87 | 87 | // If it's a sidebar, get the original id. |
| 88 | 88 | if ($INFO != null) { |
| 89 | 89 | $id = $INFO['id']; |
| 90 | 90 | } |
| 91 | - $match = $data[0]; |
|
| 92 | - $match = ($match == '.') ? $id : $match; |
|
| 91 | + $match = $data[0]; |
|
| 92 | + $match = ($match == '.') ? $id : $match; |
|
| 93 | 93 | if (strstr($match, ".:")) { |
| 94 | 94 | resolve_pageid(getNS($id), $match, $exists); |
| 95 | - } |
|
| 95 | + } |
|
| 96 | 96 | |
| 97 | 97 | if ($mode == 'xhtml') { |
| 98 | 98 | $renderer->info['cache'] = false; |