Commit graph

10 commits

Author SHA1 Message Date
James D. Forrester 14c09ad705 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I7e0ea80e93f813e62a73e6672b3210c81aeaa18a
2019-05-07 10:40:41 -07:00
Kunal Mehta 8328acb9b1 Upgrade to newer phan
Bug: T216940
Change-Id: If8c2027f6bb7b91504fb51a3d2668b6d929b5da1
2019-03-20 21:19:37 -07:00
Kunal Mehta d245edbb94 Add phan configuration
Manually import LuaSandbox's git repository as a composer dependency to
provide the PHP stubs for phan.

Change-Id: I6226b9211f31d829da5a2775c6f5cf3599dd8ebc
2018-05-14 18:41:59 -07:00
Umherirrender eb8699aef6 Expand .gitignore for more editors
List is from mediawiki/core

Change-Id: Ied75b1fe7075832b90492d3f5d50e421a1b58e94
2016-11-13 13:22:31 +01:00
Kunal Mehta 08a39470c0 build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Also added "composer fix" command.

Change-Id: I8da17b799929b7caed0e0a89014c6ab15c39f0c6
2016-05-27 18:24:16 -07:00
Paladox bd44f0f5e8 Add phplint to composer
Change-Id: Ia3509caa82a3ed6d021c61d8bbe2340f12f15e05
2016-02-10 08:57:50 +00:00
Kunal Mehta 956170560d build: Configure banana-checker and jsonlint
Change-Id: I9c3597e4fea669ff7ec5086dfc6a61d797fa48fe
2015-06-19 22:17:55 -07:00
Mark A. Hershberger e08b2a4524 Update ignores for some emacs tmp files
Change-Id: I7ea67b68e701f6b9ef6685d10988af347798cb67
2013-07-25 13:11:50 -04:00
Brad Jorsch 0a8757baba Lua ustring implementation
This is a reimplementation of Lua's string library with support for
UTF-8.

The entire ustring library is implemented in pure Lua. PHP callbacks are
also available for overrides: in LuaSandbox these are used for almost
all functions, while in LuaStandalone they are used only for the pattern
matching. Also, ustring.upper and ustring.lower are overridden using
mw.language's .uc and .lc if available.

It also includes a bunch of unit tests.

Note that if you download the normalization tests, they may fail under
LuaSandbox if you have PHP's intl extension installed and libicu on your
system is too old.

Change-Id: Ie76fdf8d3a85d0a3d2a41b0d3b7afe433f247af0
2013-02-12 14:26:29 -05:00
Reedy 9584ae2016 Add .gitignore
Change-Id: I9e989ba6c579f2098abd99764798cf180edaf864
2012-05-21 01:44:42 +01:00