36 Commits

Author SHA1 Message Date
c56a6850a2 Updated to work with new MediaWiki\Title\Title in 1.44 2025-07-10 12:51:31 +02:00
5e6702f47a Update copyright year. 2024-01-05 07:56:56 +01:00
d992823cf4 Update copyright year. 2022-03-13 11:42:37 +01:00
de10da2e20 Fix tests. 2022-03-13 11:38:51 +01:00
33bbfdef5c Update copyright year. 2021-04-06 21:16:03 +02:00
5c3dac9dc3 Fix tests. 2021-03-30 21:09:54 +02:00
ee4386a8c9 DB_SLAVE -> DB_REPLICA (#44)
* --amend

* Add Beerpay badge

* Remove beerpay badge.

* Remove erroneous release folder from master branch.

* DB_SLAVE -> DB_REPLICA

DB_SLAVE has been removed under 1.34 thus throws an exception.

* Update Targets.php

* Update linktitles-cli.php

* Update Special.php
2019-12-18 21:25:35 +01:00
f44a85b1a0 Add test case for issue #39. 2018-11-15 20:26:40 +01:00
73f546a33d Reflow PHP files. 2018-11-15 20:17:59 +01:00
7a69e87a8d Fix handling of target titles with numbers.
- Fix: Improve handling of page titles that start or end with numbers.
2018-06-27 21:31:16 +02:00
a2a63e2d29 Write news, update year. 2018-06-20 20:40:27 +02:00
04c1be307b Fix <noautolinks> tag in parse-on-render mode.
- Fix: <noautolinks> tag did not work in parse-on-render mode.
2017-09-06 22:31:59 +02:00
c99ec87b87 Unit tests for parseOnRender. 2017-09-06 13:00:27 +02:00
a78a782f04 Fix detection of span and div elements without attributes.
- Fix: Better detection of <span> and <div> elements that do not have attributes.
2017-09-05 08:58:04 +02:00
3382336a45 Add tests for headings. 2017-09-04 20:24:23 +02:00
34715f9dc8 Test namespace handling. 2017-09-03 13:02:13 +02:00
96bce45172 Do not use the reserved word default as function name. 2017-09-01 05:39:51 +02:00
256feb50d9 Add Source class, refactor. 2017-08-31 20:37:49 +02:00
4a92321895 Fix namespace spelling. 2017-08-31 13:57:11 +02:00
352add204f Prefix links with namespace if needed.
- Fix: Links to other namespaces were not prefixed properly.
2017-08-31 13:52:57 +02:00
6294ee8679 Fix blacklist.
- Fix: Blacklist did not always work properly
2017-08-30 22:39:17 +02:00
28dcd244e8 Call parent's addDBDataOnce. 2017-08-30 22:37:16 +02:00
4c3250e021 Add tests for headings. 2017-08-30 22:23:03 +02:00
9484e5b13d Fix Splitter tests. 2017-08-30 17:48:04 +02:00
b27dea8709 Linker tests for templates. 2017-08-30 09:03:24 +02:00
66cb7d0793 Add license comments to tests. 2017-08-29 14:48:20 +02:00
0d8d2bfbb2 Test black list. 2017-08-29 05:56:17 +02:00
04aa26d6a2 Add linker tests, fix firstOnly behavior.
- Fix: The firstOnly option finally also works if a page contains a link to a given other page that was not currently added by the extension, i.e. that existed prior to an edit or that was manually added.

Closes #12.
2017-08-29 05:42:49 +02:00
33df917af1 Linker tests. 2017-08-28 19:03:11 +02:00
1e27f47750 Rename Delimiters to Splitter; add tests. 2017-08-27 22:32:49 +02:00
3f2141e6c7 Add Target unit test. 2017-08-27 22:25:22 +02:00
4d5554a74e Add Delimiters class. 2017-08-26 22:01:52 +02:00
5faf4a5968 Test Targets class. 2017-08-26 21:06:29 +02:00
e2a6229487 Atom-ignore gh-pages directory. 2017-08-26 20:57:14 +02:00
3f32077884 Refactor, add Targets class. 2017-08-26 20:35:25 +02:00
c484323a70 First working test. 2017-08-26 05:34:54 +02:00