条件: | /* botでなく */
!("bot" in user_groups)
&
/* 通常記事空間内で */
article_namespace = 0
&
/* 追加文に以下の時系列に関するマジックワードを含む場合*/
contains_any(added_lines,
"{{CURRENTYEAR}}",
"{{CURRENTMONTH}}",
"{{CURRENTDAY}}",
"{{CURRENTTIME}}",
"{{CURRENTDAY2}}",
"{{CURRENTDOW}}",
"{{CURRENTMONTHABBREV}}",
"{{CURRENTMONTHNAME}}",
"{{CURRENTTIME}}",
"{{CURRENTHOUR}}",
"{{CURRENTWEEK}}",
"{{CURRENTTIMESTAMP}}",
"{{LOCALYEAR}}",
"{{LOCALMONTH}}",
"{{LOCALDAY}}",
"{{LOCALTIME}}",
"{{LOCALDAY2}}",
"{{LOCALDOW}}",
"{{LOCALMONTHABBREV}}",
"{{LOCALMONTHNAME}}",
"{{LOCALTIME}}",
"{{LOCALHOUR}}",
"{{LOCALWEEK}}",
"{{LOCALTIMESTAMP}}",
"{{CURRENTTIME-JST}}",
"{{CURRENTHOUR-JST}}",
"{{CURRENTDAY-JST}}",
"{{CURRENTDAYNAME-JST}}",
"{{CURRENTMONTH-JST}}",
"{{CURRENTYEAR-JST}}",
"{{CURRENTGENGONAME-JST}}",
"{{CURRENTGENGOYEAR-JST}}",
"{{CURRENTKANSHI-JST}}",
"{{CURRENTLASTDAYOFMONTH-JST}}"
)
|
ツール: | このフィルターを別のウィキにエクスポートする
|