Commit graph

4 commits

Author SHA1 Message Date
Florian
abd721cb38 Split out UserInputWidgets from mediawiki.widgets
Move it to its own module mediawiki.widgets.UserInputWidget. It's
currently used in HTMLUserTextField only.

Bug: T108733
Change-Id: Id8c6dd5d9616086bdb0918442bfafe9ec708ab31
2015-10-07 08:54:35 -07:00
Florian
5c50bb4caf HTMLForm: Allow IP adresses as username in HTMLUserTextField
Can be configured with the 'ipallowed' config parameter, which defaults
to false (IP's not allowed).

Bug: T106807
Change-Id: Ib2885883bdb3383c60382bf3257afdfc3cc26821
2015-07-24 18:59:53 +02:00
Kunal Mehta
9686485a1d HTMLUserTextField: "else if" → "elseif"
Change-Id: I4df7773f79ccb90e1eff5295b94a9f5dd4cd0097
2015-07-24 04:12:45 -07:00
Florian
c226b13545 Implement UserInputWidget in OOUI/MW Widgets
To use OOUI for forms with user name autocomplete, the new widget
UserInputWidget interacts like the jQuery pendant (working with css
class "mw-autocomplete-user").

It is also available in HTMLForm as "user".

Example usage: Iaeff912e6437d6ebef0d5b1919ce8cf53a7fd5f1

Change-Id: I9501c85f4288c255bbe3a5284e99b57b6169916f
2015-07-20 06:11:16 +02:00