mw.widgets.TitleInputWidget: Allow limiting to main namespace, too
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 22 Jul 2015 00:14:04 +0000 (02:14 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 22 Jul 2015 00:16:55 +0000 (02:16 +0200)
commit0f51fc6ab1de7419b1e99737e2b350357a6f75f9
tree0886c16a32a53267af696f7d77196d30b6f79afd
parentf0f90ef4d00545ef0bae5e6f6e500b4944cc2148
mw.widgets.TitleInputWidget: Allow limiting to main namespace, too

Not sure if it was intentional or a bug, but the widget would treat
`namespace: 0` (assume main namespace) in config the same as
`namespace: null` (allow all namespaces). This has been changed.

Change-Id: Iab2a76771de0debe9111d4ccce3477b022000e51
resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js