Commit Graph

10 Commits

Author SHA1 Message Date
a2a63e2d29 Write news, update year. 2018-06-20 20:40:27 +02:00
d34b2090c0 Harden test for redirects.
- Fix: Do not crash when testing redirect target on empty page.
2017-09-03 09:35:11 +02:00
256feb50d9 Add Source class, refactor. 2017-08-31 20:37:49 +02:00
6bf1d3f072 Change nameSpace to all lowercase everywhere.
Makes it consistent with MW's spelling of the term.
2017-08-31 13:56:42 +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
1ba5a7b799 Fix bug with non-latin languages.
- Fix: When $wgCapitalLinks was true, the extension would not work with non-latin languages.

Closes #7.
2017-08-29 06:08:30 +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
38284b11a1 Rename maintenance script. 2017-08-27 22:53:01 +02:00
3f2141e6c7 Add Target unit test. 2017-08-27 22:25:22 +02:00
35b174771e Refactor Linker class, add Target class. 2017-08-27 22:18:22 +02:00