Commit graph

5 commits

Author SHA1 Message Date
Seb35 fb60b51cd8
Permit spaces in the SQL LIKE pattern
The search is against the MediaWiki-DB-encoded title (with '_' for space
and initial uppercase letter): these constraints are converted in this
patch to let the user use MediaWiki-displayed titles if they want.

It was taken care about of the configuration-specific case where some
namespaces are first-case-insensitive but other namespaces are first-case-
sensitive, by partitioning the namespace space into to distinct spaces.

Bug: T234726
Co-authored-by: Chlod Alejandro <chlod@chlod.net>
Change-Id: Id83832c256660b691a896113c98641700ed02707
2024-05-04 16:15:24 +03:00
Bartosz Dziewoński 80bdcd3004 Restore support for matching 'LIKE' patterns/wildcards
Follow-up to 910ce4c870.

Add a test so that we don't break this again.

Bug: T355478
Change-Id: I98620dd66a3c3a6913f999d6f96eef0ef69271d1
2024-01-22 11:30:50 +00:00
Umherirrender fc111cb213 tests: Add basic test for HookRunner
Add a basic unit test for HookRunner to improve coverage and
validate arguments between hook runner and hook interfaces.

Change-Id: I3cb332abf9aefbb1cb435188cbf5938f4bcda0c5
2023-05-31 23:17:39 +02:00
Matěj Suchánek 1f3dd54dfc Migrate to new phan
Bug: T216929
Change-Id: I76a095438571132118aeed0a98657367b4ee5e42
2019-02-25 09:27:00 +01:00
Kunal Mehta f9d7a47243 Add configuration for phan
Change-Id: I4103d96b0701ddc9ef7cafc57b1b5d375f3b835f
2018-02-16 15:48:38 +00:00