Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
03d7b0467c Remove u flag from regexes.
- FIX: Prevent unicode compilation errors.

Closes #5.
2016-11-05 07:36:58 +01:00
Daniel Kraus
f9030dd7b1 Prevent crash on saving page with quote character.
- FIX: Prevent a crash when trying to save a page whose title contains a quote character.

Closes #8.
2016-11-05 07:31:18 +01:00
Daniel Kraus
f04f07722a Respect $wgLinkTitlesParseOnEdit and $wgLinkTitlesParseOnRender. 2016-06-08 23:09:16 +02:00
Daniel Kraus
c88ce848e8 Adjust to fit MediaWiki 1.25+ extension format.
- NEW: Use the new extension format introduced by MediaWiki 1.25; the extension will no longer run with older MediaWiki versions.
2016-06-06 23:30:04 +02:00