|
|
| /* 非日本語記事の作成 */ | | /* 非日本語記事の作成 */ |
|
| |
|
| /* 通常名前空間での新規作成 */ | | /* 通常名前空間での新規作成 */ |
| action === "edit" & | | action === "edit" & |
| page_age === 0 & | | page_age === 0 & |
| page_namespace === 0 & | | page_namespace === 0 & |
| | new_size > 500 & |
|
| |
|
| /* 日本語が含まれていない */ | | /* 日本語が10%以下 */ |
| rmspecials(content := rmwhitespace(added_lines)) !== "" &
| | ( |
| !content regex "[一-龠ぁ-ゔァ-ヴー々〆〤ヶ]" &
| | r_jpchars := "[一-龠ぁ-ゔァ-ヴー々〆〤ヶ]"; |
| | content := rmspecials(rmwhitespace(added_lines)); |
| | rcount(r_jpchars, content) / length(content) < 0.1 |
| | ) & |
|
| |
|
| /* リダイレクトではない */ | | /* リダイレクトではない */ |
| !content regex "^[##](?i:redirect|転送|リダイレクト):?\[\[[^\]]+\]\]" | | !rmwhitespace(added_lines) regex "^[##](?i:redirect|転送|リダイレクト):?\[\[[^\]]+\]\]" |