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

Content added Content deleted
(→‎All variables: +file_sha1 and file_size)
(→‎All variables: tweak file vars)
Line 117:
| Unix timestamp of change || <code>timestamp</code> || string || int(timestamp) gives you a number with which you can calculate the date, time, day of week, etc.
|-
| Uploaded {{int:abusefilter-edit-builder-vars-file [[SHA1]]-sha1}} || <code>file_sha1</code> || ||
|-
| Uploaded {{int:abusefilter-edit-builder-vars-file -size}} || <code>file_size</code>[https://gerrit.wikimedia.org/r/#/c/183430/] || integer || The file size in bytes
|}