編集フィルター設定

版間での差分

項目2011年6月1日 (水) 11:37VZP10224 による版2011年6月18日 (土) 12:12VZP10224 による版
基本情報
メモ:
時系列に関するマジックワードを加筆した際に発動するフィルタ。
時系列に関するマジックワードを加筆した際に発動するフィルタ。
2011/05/03初版 加筆した行の中に{{CURRENTYEAR}}・{{CURRENTMONTH}}・{{CURRENTDAY}}の3つのうちどれかが加筆されたときに発動するように作成
2011/05/03初版 加筆した行の中に{{CURRENTYEAR}}・{{CURRENTMONTH}}・{{CURRENTDAY}}の3つのうちどれかが加筆されたときに発動するように作成


5/8修正 発動条件からbotの編集を除外、[[Help:マジックワード#協定世界時]]を条件に追加
5/8修正 発動条件からbotの編集を除外、[[Help:マジックワード#協定世界時]]を条件に追加


5/13改定 LOCAL関連を追加、編集後のテキストに含まれている場合に変更
5/13改定 LOCAL関連を追加、編集後のテキストに含まれている場合に変更
5/15修正 意図した動作になるよう修正
5/15修正 意図した動作になるよう修正
6/18 [[Help:条件文]]を確認し、時間変数を変更
フィルター条件
条件:
/* botでなく */
/* botでなく */
!("bot" in user_groups)
!("bot" in user_groups)


&
&
/*通常記事空間内で*/
/*通常記事空間内で*/
article_namespace = 0
article_namespace = 0
&
&
/*以下のマジックワードを*/
/*以下のマジックワードを*/
(
(
( (new_wikitext contains "{{#time:")? 1 : 0)
/*
( (new_wikitext contains "{{CURRENTYEAR}}")? 1 : 0)
( (new_wikitext contains "{{CURRENTYEAR}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTMONTH}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTMONTH}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTDAY}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTDAY}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTTIME}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTTIME}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTDAY2}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTDAY2}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTDOW}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTDOW}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTMONTHABBREV}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTMONTHABBREV}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTMONTHNAME}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTMONTHNAME}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTTIME}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTTIME}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTHOUR}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTHOUR}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTWEEK}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTWEEK}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTTIMESTAMP}}")? 1 : 0)
+( (new_wikitext contains "{{CURRENTTIMESTAMP}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALYEAR}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALYEAR}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALMONTH}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALMONTH}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALDAY}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALDAY}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALTIME}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALTIME}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALDAY2}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALDAY2}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALDOW}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALDOW}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALMONTHABBREV}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALMONTHABBREV}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALMONTHNAME}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALMONTHNAME}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALTIME}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALTIME}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALHOUR}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALHOUR}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALWEEK}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALWEEK}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALTIMESTAMP}}")? 1 : 0)
+( (new_wikitext contains "{{LOCALTIMESTAMP}}")? 1 : 0)
*/
/*1つ以上含む*/
/*1つ以上含む*/
>= 1)
>= 1)