Commit graph

8 commits

Author SHA1 Message Date
Umherirrender 1e200ba116 Update extensions to take advantage of parser test autodiscovery
Bug: T170037
Change-Id: I537f8b2679bc546606856e4bf031efcd52cb381e
2018-04-13 20:15:44 +02:00
jenkins-bot 2739368322 Merge "Update parser tests for RemexHtml as tidy implementation" 2018-03-06 22:27:45 +00:00
Kunal Mehta 6deecac4c2 Add phan configuration
Change-Id: I220a6da9d506a754d4e502bd4bd3178949b73f5f
2018-02-24 13:57:36 -08:00
Kunal Mehta 91763b61f3 Update parser tests for RemexHtml as tidy implementation
Bug: T188167
Depends-On: Ic7c34d57a300dbd36a37f03fbfe33391b2950b44
Change-Id: Id2ed22063dbf40af6d470d6879a79d8df5ab49d8
2018-02-23 22:31:26 -08:00
Brian Wolff b9e0005c71 Have inputbox langconvert certain attributes
This approximates the behaviour prior to core change for
T119158. It will language convert the options: default,
buttonlabel, searchbuttonlabel, and placeholder if they
contain a "-{".

The old behaviour was to handle the insides
of -{ glossary rules here }- and convert text if there was a
glossary rule both prior to the beginning of the attribute and
prior to the end of the attribute (So default=foo-{}-bar-{}-baz
only bar would be converted). I believe that just looking for
-{ is probably close enough. It also opens the question of if these
options should always be language converted, but I'll leave that
for someone else to decide.

Bug: T180485
Change-Id: I3aa10890950afce445075e895baf6b10327bc222
2017-11-21 04:13:53 +00:00
Sam Tarling cba46734e1 Add tour parameter
Add an optional tour parameter with adds `&tour=[x]` to the local Special:Search URL
Remove whitespace error
Add test
Modify test HTML (x3)

Bug: T174077
Change-Id: Iaaf1d04e1939bd555cacd4ea3ac4390d7e43b19d
2017-09-02 15:51:23 +01:00
Florian Schmidt a7c83858c6 Don't add url parameters to an input box, if the parameter is empty
If a parameter isn't set, it shouldn't be added to the form.

Bug: T147048
Change-Id: I7e5aa21528fbc98e9e4d52baca93870f213d4c15
2017-07-27 02:29:35 +00:00
Tim Starling f7491d3484 Add parser tests
Change-Id: I718b0e0c1dd0a4507e77abc7e2cb88800ae2176a
2016-07-08 16:20:57 +10:00