mediawiki-extensions-Discus.../tests/phpunit
Bartosz Dziewoński 82803f9968 Fix PHP getTitleFromUrl() when $wgArticlePath is '/$1'
In this case, the generated regexp would match the '/local' part in
the generated URL. Prefixing 'https://local' is no longer necessary
since 10899af666.

Add tests for this, and some tests to cover T261711 as well.

Bug: T358321
Change-Id: Idf54deba13f30b799b7b8d17de1897bc90f95701
(cherry picked from commit 6419c19d1e)
2024-05-07 17:55:05 +00:00
..
unit Prefer late static binding over self:: 2022-06-09 15:12:48 +01:00
ApiDiscussionToolsPageInfoTest.php Convert more self:: to static:: 2022-06-14 22:53:00 +01:00
CommentFormatterTest.php Enhance vector-2022 table of contents 2022-08-23 19:46:44 +00:00
CommentModifierTest.php Add signature on separate line if wikitext comment ends with a list 2022-08-06 16:08:13 +02:00
CommentParserTest.php Remove all stuff about legacy IDs 2022-08-24 01:01:09 +02:00
CommentUtilsTest.php Fix PHP getTitleFromUrl() when $wgArticlePath is '/$1' 2024-05-07 17:55:05 +00:00
ContentThreadItemTest.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00
EventDispatcherTest.php Fix fetching of oldest comment in a thread 2022-09-01 21:22:09 +00:00
IntegrationTestCase.php Set $wgUsePigLatinVariant = false while running tests 2021-12-01 23:25:30 +01:00
LanguageDataTest.php Prefer late static binding over self:: 2022-06-09 15:12:48 +01:00
MockCommentFormatter.php Add some missing typehints 2022-06-29 15:15:52 +00:00
MockEventDispatcher.php Separate ContentThreadItem and DatabaseThreadItem etc. 2022-07-04 23:35:50 +02:00
MockLanguageData.php Change CommentParser into a service 2022-02-19 19:51:57 +01:00
MockSubscriptionStore.php Automatic topic subscriptions (on any edit) 2021-11-15 22:45:42 +01:00
TestUtils.php CommentParser: Replace uses of Title with TitleValue 2022-03-18 18:24:34 +00:00
ThreadItemStoreTest.php Migrate usage of Database::select (and friends) to SelectQueryBuilder 2022-08-13 00:32:45 +02:00