Thiemo Kreuz (WMDE)
f6e51e5274
thiemowmde's legal name changed
...
I was a co-author only, and my contribution was not really
noteworthy, so I choose to remove the outdated name (in this
case only).
Change-Id: I9d9592d5b114adae633f6a4bdac2dd60f329bd7a
2018-07-24 06:07:38 +00:00
David Barratt
d609da624b
Add a method to HTMLForm that allows the preText to be accessed externally.
...
Currently there is no way to access the preText outside of an HTMLForm. Adding
a getPreText method to HTMLForm so the preText is accessible.
Bug: T199115
Change-Id: I937028e7025b4a7b5d333e9bf5a25920f6a88316
2018-07-09 10:42:19 -04:00
Kunal Mehta
e0193327bd
Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors
...
Change-Id: I936c3f5fca1a0061f215e80469f5d882cb32ee29
2018-05-23 16:23:42 -07:00
Umherirrender
69dbaf3f88
build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
...
Change-Id: Ib494b47c54fe6354d166055b1e1b31d3583bb992
2018-03-29 21:53:10 +02:00
Umherirrender
63d96c15fd
build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
...
Change-Id: I59b59f79bbf3ce4feff3b3a20c1c31bc16370531
2018-02-17 13:29:13 +01:00
Umherirrender
45da581551
Use ::class to resolve class names in tests
...
This helps to find renamed or misspelled classes earlier.
Phan will check the class names
Change-Id: Ie541a7baae10ab6f5c13f95ac2ff6598b8f8950c
2018-01-26 22:49:13 +01:00
jenkins-bot
4ad03aa11d
Merge "Add @covers tags for more tests"
2018-01-02 12:19:02 +00:00
Kunal Mehta
823a96e2ce
Add @covers tags for more tests
...
Change-Id: If2254b3a9e61e056091779a1ea14237aa7b42eb6
2018-01-02 11:52:42 +00:00
Kunal Mehta
75160bdd3b
Use MediaWikiCoversValidator for tests that don't use MediaWikiTestCase
...
Change-Id: I8c4de7e9c72c9969088666007b54c6fd23f6cc13
2018-01-01 08:28:02 +00:00
Fomafix
04ff65fc69
Simplify autocomplete attribute in HTMLForm
...
Follows-up 7489a3e8
Change-Id: Ifb17c88e39df7031054b3bee83772172c64d0a6b
2017-12-28 16:41:39 +01:00
Kunal Mehta
01f7176c8b
Add @covers tags to HTMLForm test
...
Change-Id: I41cc4867b071ee9a58a43760fc4a8b301cda558e
2017-12-27 17:47:17 +00:00
Umherirrender
29323f5622
Fix test class names to match convention
...
The test class should have Test at end
and same name as the testing class
Change-Id: Id0c90994d257fb325834e123b462f7f0849ac556
2017-12-10 11:41:59 +01:00
jenkins-bot
ff70e103de
Merge "HTMLForm: Allow returning Message objects from HTMLFormField::validate()"
2016-11-25 09:11:07 +00:00
Gergő Tisza
8f17b09a9f
Add 'autocomplete' option to HTMLTextField
...
Adds support for the 'autocomplete' HTML attribute to HTMLTextField
(mainly for turning it off, but other values are supported as well).
Renames 'autocomplete' to 'autocomplete-data' (with temporary B/C)
in HTMLAutoCompleteSelectField to make space.
Change-Id: Ic0539d5a61d9862e670d10686adc1e41f65d908e
2016-11-17 19:50:38 +00:00
Brad Jorsch
7fdbe15fb6
HTMLForm: Allow returning Message objects from HTMLFormField::validate()
...
It mostly already worked. HTMLForm::trySubmit() needed a little
adjustment to handle things properly.
Change-Id: Ibb17bb61ac0b2d41953249980bc2f23b8a3ae5b6
2016-11-14 13:25:14 -05:00
Gergő Tisza
3090a1d1f8
Add HTMLFormField class for MWRestrictions and use it for bot passwords
...
Change-Id: Ib50238e3be5eec63eb5df97154b60dc4ca33d581
2016-09-22 20:50:36 +00:00
Gergő Tisza
e3d7978bc6
Enforce calling HTMLForm::prepareForm before displayForm
...
Bug: T133163
Change-Id: Idd5d117cb0dd65c195019dcd321cd4bf9024b426
2016-04-27 20:00:06 +01:00
Kunal Mehta
6e9b4f0e9c
Convert all array() syntax to []
...
Per wikitech-l consensus:
https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html
Notes:
* Disabled CallTimePassByReference due to false positives (T127163)
Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
2016-02-17 01:33:00 -08:00
Vivek Ghaisas
d6def861bf
Explicitly declare property visibility, remove use of var
...
Codesniffer says that the `var` keyword must not be used to declare a
property and that visibility must be declared on class properties.
Change-Id: I28240aa0f394588b1df315621dbcd260c51430c1
2015-06-21 00:07:13 +03:00
Ori Livneh
711235309a
Add a few PHPUnit tests for HTMLAutoCompleteSelectField
...
They're nothing especially sophisticated or exhaustive, but why not.
Change-Id: If89e8328080aa97e27fcc32f3bd4d777692f2fd1
2014-08-26 12:33:21 -07:00
Siebrand Mazeland
e1d58d9071
Pass phpcs-strict on some test files (8/11)
...
Change-Id: I138c1f9bf2c3c7e9218d5fa29365e78b309fb459
2014-04-24 13:49:48 -07:00
Siebrand Mazeland
896bda7c85
Pass phpcs-strict on some test files (7/11)
...
Change-Id: Ia0ceea60e7ef43959f868378f3fcd463a3adf782
2014-04-24 18:27:12 +00:00
addshore
b97109f113
Cleanup HTMLCheckMatrixTest.
...
Fix Covers tags, looks like we need more testcases
for all other HTML* classes
Change-Id: I166464da3373b45564dd770feecacafacb301604
2014-01-06 14:30:46 +01:00
addshore
976276338a
Split includes/HTMLForm
...
Change-Id: I6eabfdb064c0e35b69efe9d6142e94df4128b632
2013-12-08 23:13:56 +01:00