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

Line 559:
=== Notes ===
 
When <code>action='move'</code>,only the <code>summary</code>,<code>action</code>,<code>timestamp</code> and <code>user_*</code> variables are available.The <code>page_*</code> variables are also available, but the prefix is replaced by <code>moved_from_</code> and <code>moved_to_</code>, that represent the values of the original article name and the destination one, respectively.For example, <code>moved_from_title</code> and <code>moved_to_title</code> instead of <code>page_title</code>.
<translate>
<!--T:266-->
The <tvar|1><code>page_*</code></> variables are also available, but the prefix is replaced by <tvar|2><code>moved_from_</code></> and <tvar|3><code>moved_to_</code></>, that represent the values of the original article name and the destination one, respectively.</translate>
<translate>
<!--T:267-->
For example, <tvar|1><code>moved_from_title</code></> and <tvar|2><code>moved_to_title</code></> instead of <tvar|3><code>page_title</code></>.
 
Since MediaWiki 1.28 (<tvar|1>[[mw:gerrit:295254|gerrit:295254]]</>), <tvar|2><code>action='upload'</code></> is only used when publishing an upload, and not for uploads to stash.</translate>
<!--T:268-->
Since MediaWiki 1.28 (<tvar|1>[[gerrit:295254]]</>), <tvar|2><code>action='upload'</code></> is only used when publishing an upload, and not for uploads to stash.</translate>
<translate>
<!--T:269-->
222

edits