mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 17:59:29 +02:00
Spaces to tabs.
This commit is contained in:
@ -155,8 +155,8 @@ class Extension {
|
|||||||
self::$targetTitleText = self::$targetTitle->getText();
|
self::$targetTitleText = self::$targetTitle->getText();
|
||||||
$quotedTitle = preg_quote( self::$targetTitleText, '/' );
|
$quotedTitle = preg_quote( self::$targetTitleText, '/' );
|
||||||
|
|
||||||
self::ltDebugLog('TargetTitle='. self::$targetTitleText,"private");
|
self::ltDebugLog( 'TargetTitle='. self::$targetTitleText, 'private' );
|
||||||
self::ltDebugLog('TargetTitleQuoted='. $quotedTitle,"private");
|
self::ltDebugLog( 'TargetTitleQuoted='. $quotedTitle, 'private' );
|
||||||
|
|
||||||
// Depending on the global configuration setting $wgCapitalLinks,
|
// Depending on the global configuration setting $wgCapitalLinks,
|
||||||
// the title has to be searched for either in a strictly case-sensitive
|
// the title has to be searched for either in a strictly case-sensitive
|
||||||
@ -497,8 +497,7 @@ class Extension {
|
|||||||
|
|
||||||
/// 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' );
|
||||||
@ -506,8 +505,7 @@ class Extension {
|
|||||||
|
|
||||||
/// 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' );
|
||||||
|
Reference in New Issue
Block a user