r24466 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24465‎ | r24466 | r24467 >
Date:15:30, 30 July 2007
Author:kim
Status:old
Tags:
Comment:
minor changes indeed
Modified paths:
  • /trunk/extensions/Wikidata/OmegaWiki/small/ra3.pl (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/OmegaWiki/small/ra3.pl
@@ -11,7 +11,7 @@
1212 my @a=@_;
1313 my @b;
1414 for(my $pointer=0;$pointer<$#a;$pointer+=2) {
15 - push (@b, $a[$pointer].$a[$pointer+1]);
 15+ push (@b, [$a[$pointer], $a[$pointer+1]]);
1616 }
1717 return \@b;
1818 }
@@ -68,6 +68,7 @@
6969 $global=0; # end of global statement
7070 }
7171 #$statement=~s/\$o\s*=\s*\$omegaWikiAttributes;/\$o=OmegaWikiAttributes::getInstance();/g;
 72+ #$tomatch=$globals{$block_stack[0]}
7273 $statement=~s/\$(\w+)Attribute(\W)/\$o\-\>$1$2/g;
7374 $statement=~s/\$(\w+)Attributes(\W)/\$o\-\>$1Attributes$2/g;
7475 $statement=~s/\$(\w+)Structure(\W)/\$o\-\>$1Structure$2/g;

Status & tagging log