mediawiki.util: Document isIPAddress() allowBlock as optional
authorTimo Tijhof <krinklemail@gmail.com>
Mon, 19 Mar 2018 03:32:05 +0000 (20:32 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Mon, 19 Mar 2018 03:32:05 +0000 (20:32 -0700)
commitd1b673ff59257d7ec68e34a055a5e00644101b50
tree7714bf498b26f32743e67cae264247cb3c264cc2
parent5b3481c4393827d9fb9d6588b5961d4b8d36f910
mediawiki.util: Document isIPAddress() allowBlock as optional

This was already the case in the code, but the documentation
was not reflecting this accurately. Passing 'false' as second
parameter is not desirable in most cases.

Change-Id: Idbbd7de795b444e401a16292dfb8c9a80f4d07be
resources/src/mediawiki/mediawiki.util.js