Commit Graph

190 Commits

Author SHA1 Message Date
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
Daniel Kraus
4a4bfbd7de Fix formatting in README.md. 2016-11-08 06:19:49 +01:00
Daniel Kraus
1ae27817a3 Merge branch 'release-4.0.1' into develop 2016-11-08 06:15:54 +01:00
Daniel Kraus
c1dc45da79 Bump version, write history, write docs. 2016-11-08 06:15:02 +01:00
Daniel Kraus
4ff5d7aadf Remove conflict markers from LinkTitles_Special.php
- FIX: Prevent syntax error when accessing special page.

Closes #9.
2016-11-08 06:10:33 +01:00
Daniel Kraus
ab8ecc2b0b Merge branch 'release-4.0.0' into develop 2016-11-05 10:28:03 +01:00
Daniel Kraus
eef36d7cc4 Write news. 2016-11-05 08:26:25 +01:00
Daniel Kraus
cb218ca9ae Write documentation. 2016-11-05 08:26:18 +01:00
Daniel Kraus
550df13947 Update readme and extension.json for namespaces support.
- NEW: Support namespaces.
2016-11-05 08:24:58 +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
95407cb41a Add contributing info to readme. 2016-11-05 07:21:57 +01:00
Daniel Kraus
0878047780 Fix comma in extension.json. 2016-08-25 14:55:48 +02:00
Daniel Kraus
65e883ba61 Merge branch 'c0nnex-namespaces' into develop 2016-08-25 14:48:57 +02:00
Daniel Kraus
a19fccf14a Merge branch 'namespaces' of https://github.com/c0nnex/LinkTitles into c0nnex-namespaces 2016-08-25 14:48:40 +02:00
Daniel Kraus
9b34b450e9 Merge branch 'develop' of github.com:bovender/LinkTitles into develop 2016-06-08 23:09:32 +02:00
Daniel Kraus
f04f07722a Respect $wgLinkTitlesParseOnEdit and $wgLinkTitlesParseOnRender. 2016-06-08 23:09:16 +02:00
Daniel Kraus
17456d1665 Fix typo in de.json. 2016-06-07 00:42:24 +02:00
Daniel Kraus
9d39defcd8 Merge branch 'mediawiki-1.25' into develop 2016-06-06 23:44:23 +02:00
Daniel Kraus
f9b308ffe0 Write documentation. 2016-06-06 23:44:07 +02:00
Daniel Kraus
bb86941682 Fix maintenance script. 2016-06-06 23:40:00 +02:00
Daniel Kraus
a30c7030d7 Update README_DOC.md. 2016-06-06 23:39:46 +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
Daniel Kraus
d0c6716346 Use S flag in regular expressions. 2016-06-06 06:33:01 +02:00
c0nnex
085a4032f0 Fixed error because of global missing 2015-10-09 17:22:30 +02:00
c0nnex
dca10de21f Fixed Hooks only to process pags in wanted namespaces. Fixes ugly autolinking in Sidebar and breaking imagepages 2015-10-02 02:44:42 +02:00
c0nnex
124e92aafd * Fixed linking in Namespace pages
* added paramters to cli interface
  --page={pagename}   only process that page
  --log : show some output about the process
  --debug : show debug output in cli
* changed pagecount on SpecialPage to use COUNT instead of selecting all rows
2015-10-02 02:35:47 +02:00
c0nnex
70c679f757 Debug Namespace clutches 2015-10-01 04:57:40 +02:00
c0nnex
40c1e73818 Namspeces 2 2015-10-01 04:04:55 +02:00
c0nnex
d7464ac995 NS Check 1 2015-10-01 03:40:16 +02:00
c0nnex
5e58bc0dfc Added namepsace-support to cli and specialpage 2015-09-30 02:48:10 +02:00
c0nnex
c75fe391ce Made debug logging private (explicit turn on). Final 2015-09-30 02:28:01 +02:00
c0nnex
b18350efdd Fix 7 2015-09-30 02:25:05 +02:00