Commit Graph

11 Commits

Author SHA1 Message Date
Kunal Mehta d606957003 Move classes to includes/
Change-Id: I96427695a109bd50848dd0b6f95d8bb2bdcd6d33
2018-02-09 01:15:28 -08:00
Kunal Mehta 16bae40f59 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I9438f06ae623e1db52df7b6feea17446b7616502
2018-01-04 02:57:08 -08:00
jdlrobson 8642bab44f Drop DisplayFormat configuration
Force ooui display format for all contact
forms

Change-Id: Idb4225fb71d9d030192226bb6ba1111d39a9040d
2017-07-12 16:41:02 +00:00
jdlrobson 72532a3ea6 ContactForm should use OOUI for form rendering
This makes the form style itself on mobile
This will however break compatibility with configurations that
use the `cols` parameter

Bug: T162538
Change-Id: I8f5cf572b97b0789b516d0fc556f8de5d5ca5555
2017-07-12 16:04:37 +00:00
codynguyen1116 4df0d70718 v2.3 - Remove old compatibility shims
Change-Id: I60843643703f865894ba0147d215316091880db3
2017-01-22 20:54:31 -06:00
Reedy 402c07aadd Re-add extension.json
This reverts commit 4699d68b37.

I64cb055 was merged a while ago.

Change-Id: I9017e93c9a59445e2c500fb7c01836f5675182d6
Bug: T126332
Bug: T87901
2016-08-06 23:52:07 +01:00
Bryan Davis 4699d68b37 Remove extension.json
The complex structure of $wgContactConfig cannot be properly managed
until I64cb055 is merged.

Change-Id: I68853dc282330e595cc30ae56fc97859304e0573
2015-08-01 20:47:33 -06:00
Kunal Mehta 01c3a66418 Set manifest_version in extension.json
Also pass schema validation by making the version number a string instead
of double.

Bug: T100745
Change-Id: Iad556b807954d2f087270b39042c34f0763db1f9
2015-06-02 15:54:00 +00:00
Bryan Davis ff7794bf26 Allow loading of ResourceLoader modules
Add a new 'RLModules' and 'RLStyleModules' configuration options that
allow a contact page to specify list of ResourceLoader modules and/or
CSS only modules to add to the output page that is used to display the
form.

Bug: T95789
Change-Id: Ic10c4b3c6a402c5cebc34f675672552b7d9ebb67
2015-04-30 14:27:02 -06:00
Bryan Davis c6913cee66 Allow selection of HTMLForm display format
Add a 'DisplayFormat' configuration value that tells HTMLForm which output
styling should be used. This can be used for example to change the form
to the 'vform' style which uses the Mediawiki.ui css styles.

Change-Id: I04d2959b80a44e31f1e04324b26e6dff5ea5b4a6
2015-04-30 09:18:16 -06:00
Kunal Mehta eb3a743cba Add extension.json
Bug: T87901
Change-Id: Iba8dccbf5ec5b303610c89bb82ff13d86dc5883a
2015-03-02 18:51:39 -08:00