mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-30 00:34:36 +00:00
8 lines
163 B
Perl
8 lines
163 B
Perl
|
/* Examples from [[mw:Extension:AbuseFilter/Rules format#Arithmetic]] */
|
||
|
|
||
|
1 + 1 === 2 &
|
||
|
2 * 2 === 4 &
|
||
|
12 / 24 === 0.5 &
|
||
|
24 / 12 === 2 &
|
||
|
9 ** 2 === 81 &
|
||
|
6 % 5 === 1
|