User:松/Drafts/Extension:AbuseFilter/Rules format: Difference between revisions

Translation code removal
(Translation code removal)
(Translation code removal)
Line 6:
 
You can get linebreaks with <code>\n</code>, tab characters with <code>\t</code>, and you can also escape the quote character with a backslash.
 
 
Use the <code>+</code> (plus) symbol to [[w:concatenation|concatenate]] two [[w:string literal|literal strings]] or the values of two [[w:Variable (computer science)|vars]] with a string value.
 
 
; Examples:
Line 110 ⟶ 108:
* <code>!x</code> &mdash; NOT &ndash; returns true if the condition is not true.
 
'''<translate><!--T:41--> Examples</translate>'''
<!--Note: these examples are also used in https://phabricator.wikimedia.org/diffusion/EABF/browse/master/tests/parserTests/mwexamples-bools.t -->
 
{| class="wikitable"
|-
!Code
! <translate><!--T:42--> Code</translate>
!Result
! <translate><!--T:43--> Result</translate>
|-
| <code>1 <nowiki>|</nowiki> 1</code>
222

edits