diff --git a/NEWS b/NEWS index 03bc3c6..f6afcfb 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,11 @@ +Version 5.0.6 (2018-06-20) +------------------------------------------------------------------------ + +- Fix: Do not link inside `` tags. + +* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + + Version 5.0.5 (2017-10-17) ------------------------------------------------------------------------ diff --git a/README.md b/README.md index ca49bcb..966a24a 100644 --- a/README.md +++ b/README.md @@ -451,6 +451,7 @@ master branch if you want to install the extension for your own Wiki. - Brent Laabs (@labster), code review and bug fixes - @tetsuya-zama, bug fix - @yoshida3669, namespace-related bug fixes +- Caleb Mingle (@dentafrice), bug fix ### Testing @@ -521,7 +522,7 @@ fail and tell you about database problems. License ------- -Copyright 2012-2017 Daniel Kraus (@bovender) +Copyright 2012-2018 Daniel Kraus (@bovender) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/extension.json b/extension.json index ada0bdc..0630b6a 100644 --- a/extension.json +++ b/extension.json @@ -5,11 +5,12 @@ "Ulrich Strauss (c0nnex)", "Brent Laabs (labster)", "tetsuya-zama", - "yoshida" + "yoshida", + "Caleb Mingle (dentafrice)" ], "type": "parserhook", "url": "https://www.mediawiki.org/wiki/Extension:LinkTitles", - "version": "5.0.5", + "version": "5.0.6", "license-name": "GPL-2.0+", "descriptionmsg": "linktitles-desc", "requires": { diff --git a/includes/Config.php b/includes/Config.php index f5c77d0..a6a9cca 100644 --- a/includes/Config.php +++ b/includes/Config.php @@ -2,7 +2,7 @@ /** * The LinkTitles\Config class holds configuration for the LinkTitles extension. * - * Copyright 2012-2017 Daniel Kraus ('bovender') + * Copyright 2012-2018 Daniel Kraus ('bovender') * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or diff --git a/includes/Extension.php b/includes/Extension.php index dbe3d7e..0997c7d 100644 --- a/includes/Extension.php +++ b/includes/Extension.php @@ -2,7 +2,7 @@ /** * The LinkTitles\Extension class provides event handlers and entry points for the extension. * - * Copyright 2012-2017 Daniel Kraus ('bovender') + * Copyright 2012-2018 Daniel Kraus ('bovender') * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/includes/Linker.php b/includes/Linker.php index 62b07af..65fbb46 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -2,7 +2,7 @@ /** * The LinkTitles\Linker class does the heavy linking for the extension. * - * Copyright 2012-2017 Daniel Kraus ('bovender') + * Copyright 2012-2018 Daniel Kraus ('bovender') * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/includes/Magic.php b/includes/Magic.php index b4ac715..b8bdfbc 100644 --- a/includes/Magic.php +++ b/includes/Magic.php @@ -1,6 +1,6 @@ ('bovender') + * Copyright 2012-2018 Daniel Kraus ('bovender') * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/includes/Source.php b/includes/Source.php index e44962b..b751004 100644 --- a/includes/Source.php +++ b/includes/Source.php @@ -2,7 +2,7 @@ /** * The LinkTitles\Source represents a Wiki page to which links may be added. * - * Copyright 2012-2017 Daniel Kraus ('bovender') + * Copyright 2012-2018 Daniel Kraus ('bovender') * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/includes/Special.php b/includes/Special.php index 27ca411..453e262 100644 --- a/includes/Special.php +++ b/includes/Special.php @@ -2,7 +2,7 @@ /** * Provides a special page for the LinkTitles extension. * - * Copyright 2012-2017 Daniel Kraus ('bovender') + * Copyright 2012-2018 Daniel Kraus ('bovender') * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/includes/Splitter.php b/includes/Splitter.php index 8b03cc8..74d7cb2 100644 --- a/includes/Splitter.php +++ b/includes/Splitter.php @@ -2,7 +2,7 @@ /** * The Splitter class caches a regular expression that delimits text to be parsed. * - * Copyright 2012-2017 Daniel Kraus ('bovender') + * Copyright 2012-2018 Daniel Kraus ('bovender') * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -134,6 +134,7 @@ class Splitter { '.*?<.nowiki>|.*?<\/code>|' . // nowiki/code '
.*?<\/pre>|.*?<\/html>|' .      // pre/html
 			'