Conditions: | page_namespace == 0
& (
'[[Property:P212]]' in summary
& (
! 'wbremoveclaims-remove' in summary
& (
set("isbn13", substr(summary, 48))
& isbn13 in added_lines
& set("isbn13", str_replace(isbn13, '-', ''))
& length(isbn13) === 13
& (
checksum := int(substr(isbn13, 0, 1))
+ int(substr(isbn13, 1, 1)) * 3
+ int(substr(isbn13, 2, 1))
+ int(substr(isbn13, 3, 1)) * 3
+ int(substr(isbn13, 4, 1))
+ int(substr(isbn13, 5, 1)) * 3
+ int(substr(isbn13, 6, 1))
+ int(substr(isbn13, 7, 1)) * 3
+ int(substr(isbn13, 8, 1))
+ int(substr(isbn13, 9, 1)) * 3
+ int(substr(isbn13, 10, 1))
+ int(substr(isbn13, 11, 1)) * 3
+ int(substr(isbn13, 12, 1));
checksum % 10 > 0
)
)
)
)
|
Tools: | Export this filter to another wiki
|