43 Commits

Author SHA1 Message Date
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
650ffecdcf Version 3.1.0 information. 2015-02-05 20:36:35 +01:00
cf0cf61516 Prepare release 3.0.1. 2014-09-03 15:13:22 +02:00
10f528e265 Release version 3.0.0 2014-06-13 17:15:09 +02:00
34720765da Implement config for check-redirect and magic word.
Added two new configuration variables, $wgLinkTitlesCheckRedirect and
$wgLinkTitlesEnableNoTargetMagicWord, that can be used to increase
performance. If both are overridden to be false, the target page content
will not be fetched from the database to check for redirect or the
occurrence of a magic word, which saves a lot of time.
2014-06-10 13:41:35 +02:00
adbc1ea5cd Use PageContentSave rather than ArticleSave hook.
This commit also contains some refactoring which should lend itself to
increased performance.
2014-06-08 19:21:41 +02:00
d97213fd28 Version 2.4.0 information. 2014-06-05 22:45:08 +02:00
1542901551 Complete documentation of source code. 2014-06-05 22:41:09 +02:00
3e850f2781 Implement access restriction for special page. 2014-06-03 16:50:57 +02:00
0c9bbe0d0c First working version of batch processing.
Added SpecialLinkTitles special page. This page is not secured yet, anybody
may call it an start automatic parsing of every page in the wiki!
2014-06-03 14:29:53 +02:00
2930916ce6 Adjust copyright year. 2014-06-01 18:10:31 +02:00
33a2169301 Fix regular expression.
The regular expression used to split the page content had a few pipe
characters in the wrong places, due to the previous 'cleaning-up' of the
convoluted expression for version 2.3.0.
2013-08-29 19:54:57 +02:00
a6d7184fc6 Add version 2.3.0 information. 2013-08-28 19:44:58 +02:00
9d414d0e5e Prevent crashes due to regexp compilation errors
Page titles are now properly escaped using preg_quote() to prevent regexp
compilation errors if the title contains characters with special meanings in
regular expressions.
2013-08-09 17:36:32 +02:00
3bf0ddfe17 Make the SQL query work with sqlite databases.
The fallback query does not use the CHAR_LENGTH function, but uses LENGTH.
2013-07-22 22:00:40 +02:00
53ad020f1d Fix case-sensitive linking when $wgCapitalLinks is false. 2013-04-16 21:48:30 +02:00
0f15be2fa8 Add version 2.1.1 information. 2013-03-06 19:04:41 +01:00
7da35ff4ec Fix incompatibility with PHP prior to 5.3. 2013-03-06 18:59:45 +01:00
6d38db71af Use MagicWord class to handle the magic word; update copyright year. 2013-02-23 12:38:39 +01:00
05d77684c2 Introduce smart mode ($wgLinkTitlesSmartmode).
Smart mode generates aliases for page titles if a case mismatch is
detected.
2013-01-29 21:17:21 +01:00
a448b8632b Generate aliases for case-mismatched page titles.
If a page title does has a different case than an occurrence of the same
word(s) on the page that is being edited, the extension will now
automatically generate 'piped' links such as [[Linking titles|Linking
Titles]].
2013-01-26 18:44:45 +01:00
455f333c28 Add option $wgLinkTitlesIgnoreCase to enable case-sensitive linking of page titles. 2013-01-22 16:11:25 +01:00
77c5840199 Fix bug that could prevent linking when $wgLinkTitlesFirstOnly was set to true. 2012-12-31 12:54:15 +01:00
5f82daad6a Added two options to restrict linking to whole words. 2012-12-22 17:15:29 +01:00
a2850bb318 Introduce new option to link only the first occurrence of a title on a page. 2012-12-11 16:37:06 +01:00
55e6f01b5f Add new option to skip parsing of templates. 2012-10-09 19:40:33 +02:00
b704c3187e Fix incorrect handling of PreferShortTitles option. 2012-10-05 18:31:35 +02:00
487b91b016 Fix typo in regexp that prevented proper functioning. 2012-10-05 18:02:16 +02:00
084450d00a 1.3.0: Don't link template names. 2012-09-15 10:29:45 +02:00
0ea48f1403 Turn off debug mode. 2012-07-19 09:31:13 +02:00
c4fbcda676 Implement black list option. 2012-07-19 09:19:12 +02:00
cc1dae2ad3 Stop parsing urls and e-mail addresses. 2012-05-30 14:03:58 +02:00
c12578ed92 Implement option to not parse headings 2012-05-22 18:59:22 +02:00
30586d3446 Fix parsing on page viewing only 2012-05-21 19:09:28 +02:00
1175328eba Add options to parse on editing or rendering a page. 2012-05-21 18:29:28 +02:00
36bc157055 Fix version information 2012-05-20 17:24:43 +02:00
be1a02678d Add option 2012-05-20 17:19:15 +02:00
4e3d31981c Implement PreferShortTitles option 2012-05-20 17:00:46 +02:00
dee2149532 Only look for titles from normal pages (namespace = 0) 2012-05-20 15:02:57 +02:00
602831acc1 Fix inadvertent page deletions; prevent self references 2012-05-20 14:41:07 +02:00
20e5a284cf Fix internationalization 2012-05-20 13:14:12 +02:00
142c71e723 First working version. 2012-05-20 12:58:29 +02:00
13238548fb Try to get internal API calls to work 2012-05-19 16:21:20 +02:00