Commit Graph

222 Commits

Author SHA1 Message Date
Daniel Kraus
e2a6229487 Atom-ignore gh-pages directory. 2017-08-26 20:57:14 +02:00
Daniel Kraus
3f32077884 Refactor, add Targets class. 2017-08-26 20:35:25 +02:00
Daniel Kraus
a7bd7d19ef Add testing instructions to README.md. 2017-08-26 05:55:49 +02:00
Daniel Kraus
c484323a70 First working test. 2017-08-26 05:34:54 +02:00
Daniel Kraus
21af7b6699 Merge branch 'release-4.1.0' into develop 2017-08-25 19:32:12 +02:00
Daniel Kraus
5e821ef1a9 Prepare release. 2017-08-25 19:31:30 +02:00
Daniel Kraus
0dbddc795a Use recursive regex to deal with nested braces.
- Fix: Properly handle templates that include other templates.

Addresses #29.
2017-08-24 19:12:06 +02:00
Daniel Kraus
9d11c5b270 Implement <autolinks> tag.
- New: Mark sections that are to be automatically linked with the new `<autolinks>..</autolinks>` tag. This tag only makes sense on pages with the `__NOAUTOLINKS__` magic word, or if both `$wgLinkTitlesParseOnEdit` and `$wgLinkTitlesParseOnRender` are set to false. Note that this tag is parsed when a page is rendered, not when it is saved. Therefore, the links will not appear in the page source.

Addresses #29.
2017-08-24 14:18:13 +02:00
Daniel Kraus
8f16e00952 Spaces to tabs. 2017-08-24 14:03:05 +02:00
Daniel Kraus
d49acce467 Fix indentation. 2017-08-24 13:58:08 +02:00
Daniel Kraus
2b5b1d4613 Add support for <noautolinks> tag.
- New: Mark sections that are not to be automatically linked with the new `<noautolinks>..</noautolinks>` tag.

Addresses #29.
2017-08-24 13:48:40 +02:00
Daniel Kraus
138d4411a2 Merge branch 'release-4.0.9' into develop 2017-03-21 22:19:34 +01:00
Daniel Kraus
fe8e009565 Bump version and write history. 2017-03-21 22:18:54 +01:00
Daniel Kraus
21ce7cab62 Bump copyright year. 2017-03-21 22:17:58 +01:00
Daniel Kraus
aa8b163228 Fix detecting __NOAUTOLINKS__ on rendering.
- Fix: __NOAUTOLINKS__ was not respected during rendering.

The InternalParseBeforeLinks hook is called before the
mDoubleUnderScores instance variable is set.
2017-03-21 22:12:23 +01:00
Daniel Kraus
381194c02e Merge branch 'release-4.0.8' into develop 2017-02-16 06:31:13 +01:00
Daniel Kraus
debdfdda19 Bump version, write history, write docs. 2017-02-16 06:30:11 +01:00
Daniel Kraus
36bf1fc384 Do not use doQuickEditContent.
- Fix: The special page and the maintenance script did not work in MW 1.28.

Closes #24.
2017-02-16 06:25:46 +01:00
Daniel Kraus
464aac0ccd Fix incorrect namespace error.
- Fix: The special page did not work.
2017-01-19 09:02:30 +01:00
Daniel Kraus
815e8a7822 Do not link inside <gallery>..</gallery> tags.
- Fix: Do not link inside <gallery>...</gallery> tags.

Closes #21.
2017-01-14 06:30:13 +01:00
Daniel Kraus
1cfb1a8c9b Merge branch 'release-4.0.7' into develop 2017-01-02 13:48:56 +01:00
Daniel Kraus
f087efe9b2 Write history, write docs, bump version. 2017-01-02 13:48:10 +01:00
Daniel Kraus
0639b1deaf Merge pull request #19 from bovender/special-page-performance
Cache page titles.
2017-01-02 13:43:48 +01:00
Daniel Kraus
610c221211 Fix preventing linking to self. 2017-01-02 13:42:34 +01:00
Daniel Kraus
9b25d404ce Cache page titles.
- Improvement: Increase performance of special page and maintenance script.
2016-12-29 07:53:58 +01:00
Daniel Kraus
3990252a57 Merge branch 'release-4.0.6' into develop 2016-12-28 12:58:22 +01:00
Daniel Kraus
20937c20d0 Update documentation. 2016-12-28 12:57:35 +01:00
Daniel Kraus
b542bac99c Update NEWS. 2016-12-28 12:56:51 +01:00
Daniel Kraus
7cbe0cd89c Bump version, update contributors. 2016-12-28 12:55:12 +01:00
Daniel Kraus
8a6006236e Merge pull request #16 from labster/develop
Use underscores when searching the page table, not spaces
2016-12-28 12:41:34 +01:00
Daniel Kraus
dec716ed56 Explain branching model in readme. 2016-12-28 12:40:05 +01:00
Daniel Kraus
8104ce66ff Use namespace weight in page query.
- Fix: Custom namespace weights were not respected.

Closes #15.
2016-12-28 12:19:40 +01:00
Brent Laabs
500d441b4b Use underscores when searching the page table, not spaces
The old code replaced underscores with spaces, which was backwards.
Also we don't need to look for underscores or spaces in namespaces,
because they are all integers.
2016-12-28 01:11:02 -08:00
Daniel Kraus
7394da4c67 Merge branch 'release-4.0.5' into develop 2016-12-14 22:22:25 +01:00
Daniel Kraus
b7ccc95f41 Bump version, write history, write docs. 2016-12-14 22:21:53 +01:00
Daniel Kraus
e8e49eeab2 Refactor maintenance script.
- Improvement: Refactored maintenance script, improving user interaction.
2016-12-14 21:32:49 +01:00
Daniel Kraus
979b423e0a Remove remnant error log call.
- Fix: Remove leftover error log call.
2016-12-14 21:16:39 +01:00
Daniel Kraus
15d6be2c66 Fix page option in maintenance script.
- Fix: Maintenance script would crash if invoked with the --page option.

Closes #13.
2016-12-14 21:15:51 +01:00
Daniel Kraus
6dbfd1f503 Merge branch 'release-4.0.4' into develop 2016-11-30 06:12:02 +01:00
Daniel Kraus
6c4db6df5a Bump version, write history. 2016-11-30 06:11:29 +01:00
Daniel Kraus
6f5696eb9d Suppress second pass if $wgLinkTitlesFirstOnly is true.
- Fix: Do not link titles twice if $wgLinkTitlesFirstOnly and $wgLinkTitlesSmartMode are both true.

Closes #12.
2016-11-30 06:09:11 +01:00
Daniel Kraus
dc61174960 Merge branch 'release-4.0.3' into develop 2016-11-22 22:05:29 +01:00
Daniel Kraus
aaef459d67 Bump version, write history. 2016-11-22 22:05:03 +01:00
Daniel Kraus
904f90c9f7 Fix __NOAUTOLINKS__ magic word.
- Fix: __NOAUTOLINKS__ magic word would not be respected when saving an edited page.

Closes #11.
2016-11-22 22:03:15 +01:00
Daniel Kraus
0a77abbece Merge branch 'release-4.0.2' into develop 2016-11-09 22:51:28 +01:00
Daniel Kraus
fa323ec693 Write history, write docs. 2016-11-09 22:49:57 +01:00
Daniel Kraus
d6a7f69c4d Bump version.
- FIX: Repaired severely broken namespaces support.
2016-11-09 22:48:49 +01:00
Daniel Kraus
c67a428dde Fix PHP namespace errors. 2016-11-09 22:45:44 +01:00
Daniel Kraus
feda14e833 Fix namespaces support. 2016-11-09 22:40:28 +01:00
Daniel Kraus
e899f6a5cd Fix namespace of \Title class in maintenance script.
- FIX: Removed a fatal bug in the LinkTitles_Maintenance script.
2016-11-09 17:08:57 +01:00