@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | $excludeNS = ''; |
75 | 75 | if (strstr($match, "#")) { |
76 | 76 | [$includeNS, $excludeNS] = explode('!', substr(strstr($match, "#", false), 1).'!'); |
77 | - $match = strstr($match, "#", true); |
|
77 | + $match = strstr($match, "#", true); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | return ([$match, $includeNS, $excludeNS]); |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | |
110 | 110 | dbglog($backlinks, "backlinks: all backlinks to: $match"); |
111 | 111 | |
112 | - $renderer->doc .= '<div id="plugin__backlinks">' . "\n"; |
|
112 | + $renderer->doc .= '<div id="plugin__backlinks">'."\n"; |
|
113 | 113 | |
114 | 114 | $filterNS = $data[1]; |
115 | 115 | if (!empty($backlinks) && !empty($filterNS)) { |
@@ -141,16 +141,16 @@ discard block |
||
141 | 141 | $name = $backlink; |
142 | 142 | } |
143 | 143 | $renderer->doc .= '<li><div class="li">'; |
144 | - $renderer->doc .= html_wikilink(':' . $backlink, $name); |
|
145 | - $renderer->doc .= '</div></li>' . "\n"; |
|
144 | + $renderer->doc .= html_wikilink(':'.$backlink, $name); |
|
145 | + $renderer->doc .= '</div></li>'."\n"; |
|
146 | 146 | } |
147 | 147 | |
148 | - $renderer->doc .= '</ul>' . "\n"; |
|
148 | + $renderer->doc .= '</ul>'."\n"; |
|
149 | 149 | } else { |
150 | - $renderer->doc .= "<strong>Plugin Backlinks: " . $lang['nothingfound'] . "</strong>" . "\n"; |
|
150 | + $renderer->doc .= "<strong>Plugin Backlinks: ".$lang['nothingfound']."</strong>"."\n"; |
|
151 | 151 | } |
152 | 152 | |
153 | - $renderer->doc .= '</div>' . "\n"; |
|
153 | + $renderer->doc .= '</div>'."\n"; |
|
154 | 154 | |
155 | 155 | return true; |
156 | 156 | } |