Commit Graph

286 Commits

Author SHA1 Message Date
03f99fd9ff Prepare release 5.0.5. 2017-10-17 21:03:46 +02:00
9f1c5a655e Substitute other CHAR_LENGTH occurrence.
Addresses #35.
2017-10-17 19:59:45 +02:00
9244518b26 Use different query for SQLite databases.
- Fix: Avoid errors with SQLite database.

Closes #35.
2017-10-16 20:16:33 +02:00
f1df4e29f0 Merge branch 'release-5.0.4' into develop 2017-09-23 07:20:28 +02:00
aa713a9501 Prepare release 5.0.4. 2017-09-23 07:19:31 +02:00
7c1563e82a Fix counting actual new links.
- Fix: Many pages would not be linked.
2017-09-23 07:16:28 +02:00
f5c1605fe7 Git-ignore release folder.
See #30.
2017-09-22 11:45:21 +02:00
8fde84f667 Merge branch 'release-5.0.3' into develop 2017-09-06 22:34:13 +02:00
7bf2883b78 Prepare release 5.0.3. 2017-09-06 22:33:41 +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
2fc921249f Fix <autolinks> tag.
- Fix: <autolinks> tag was broken.
2017-09-06 13:00:06 +02:00
9a94b8ba7c Merge branch 'release-5.0.2' into develop 2017-09-05 13:31:24 +02:00
307e5f79a8 Prepare release 5.0.2. 2017-09-05 13:28:58 +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
0f0105ee47 Fix typos in README. 2017-09-04 20:23:35 +02:00
0973264fd0 Merge branch 'release-5.0.1' into develop 2017-09-03 20:05:46 +02:00
012817eb92 Prepare release 5.0.1. 2017-09-03 20:04:59 +02:00
fa9d10bd63 Localize comment that is added by processPage.
- Improved: The comment that is added when pages are edited by the maintenance script can now be translated using a message.
2017-09-03 20:02:31 +02:00
a0449eaf6d Fix special page I18N. 2017-09-03 19:53:03 +02:00
2f76224ac0 Enable localization of special page.
- Improved: Special Page can now be translated using messages.
2017-09-03 14:24:28 +02:00
34715f9dc8 Test namespace handling. 2017-09-03 13:02:13 +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
95bd9e0cbc Correct default value for minimum title length. 2017-09-03 09:34:11 +02:00
b879fd409d Fix regex for existing link detection.
- Fix: Detection of existing links had a bug.
2017-09-03 09:33:38 +02:00
b877821bce Merge branch 'release-5.0.0' into develop 2017-09-01 05:47:25 +02:00
608355a514 Prepare release v5.0.0. 2017-09-01 05:40:21 +02:00
96bce45172 Do not use the reserved word default as function name. 2017-09-01 05:39:51 +02:00
ac15eb0f5d Readme for version 5. 2017-09-01 05:25:44 +02:00
067575f830 Work on README. 2017-08-31 22:03:02 +02:00
a461e19433 Fix CLI script to work with namespaces. 2017-08-31 21:24:23 +02:00
85e09b8f5d Fix special page for use with namespaces. 2017-08-31 21:13:58 +02:00
4c67935491 Parse contents of <noautolink> tags.
- Fix: Contents of <noautolink> tags are now properly parsed as Wiki text.

Closes #34.
2017-08-31 21:02:33 +02:00
b856d3487e Add $wgLinkTitlesSameNamespace option. 2017-08-31 20:53:18 +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
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
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
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
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
0d9e74d7e9 Refactor Extension class. 2017-08-27 23:09:38 +02:00