Fix indentation.

This commit is contained in:
Daniel Kraus
2017-08-24 13:58:08 +02:00
parent 2b5b1d4613
commit d49acce467

View File

@ -435,10 +435,10 @@ class Extension {
return true; return true;
} }
/// Builds the delimiter that is used in a regexp to separate /// Builds the delimiter that is used in a regexp to separate
/// text that should be parsed from text that should not be /// text that should be parsed from text that should not be
/// parsed (e.g. inside existing links etc.) /// parsed (e.g. inside existing links etc.)
private static function BuildDelimiters() { private static function BuildDelimiters() {
// Configuration variables need to be defined here as globals. // Configuration variables need to be defined here as globals.
global $wgLinkTitlesParseHeadings; global $wgLinkTitlesParseHeadings;
global $wgLinkTitlesSkipTemplates; global $wgLinkTitlesSkipTemplates;
@ -493,25 +493,25 @@ private static function BuildDelimiters() {
'\[' . $urlPattern . '\s.+?\]|'. $urlPattern . '(?=\s|$)|' . // urls '\[' . $urlPattern . '\s.+?\]|'. $urlPattern . '(?=\s|$)|' . // urls
'(?<=\b)\S+\@(?:\S+\.)+\S+(?=\b)' . // email addresses '(?<=\b)\S+\@(?:\S+\.)+\S+(?=\b)' . // email addresses
')/ismS'; ')/ismS';
} }
/// Local Debugging output function which can send output to console as well /// Local Debugging output function which can send output to console as well
public static function ltDebugLog($text) { public static function ltDebugLog($text) {
if (self::$ltConsoleOutputDebug) if (self::$ltConsoleOutputDebug)
{ {
print $text . "\n"; print $text . "\n";
} }
wfDebugLog('LinkTitles', $text , 'private'); wfDebugLog('LinkTitles', $text , 'private');
} }
/// Local Logging output function which can send output to console as well /// Local Logging output function which can send output to console as well
public static function ltLog($text) { public static function ltLog($text) {
if (self::$ltConsoleOutput) if (self::$ltConsoleOutput)
{ {
print $text . "\n"; print $text . "\n";
} }
wfDebugLog('LinkTitles', $text , 'private'); wfDebugLog('LinkTitles', $text , 'private');
} }
} }
// vim: ts=2:sw=2:noet:comments^=\:/// // vim: ts=2:sw=2:noet:comments^=\:///