Commit Graph

98 Commits

Author SHA1 Message Date
733b0e967d Update Source.php 2023-11-29 13:35:51 -05:00
503fdfbbbf Update Target.php 2023-11-29 13:34:42 -05:00
db42a48c07 Fix "Call to undefined method WikiPage::factory()" 2023-11-29 13:34:10 -05:00
c9af0dc860 Fix "Call to undefined method WikiPage::factory()" 2023-11-28 21:40:46 -05:00
b202254a12 Merge pull request #65 from neayi/bug-63-fixed-links-for-categories
Fixed issue #63: when linking to a category, needs to prefix with a colon
2022-07-27 11:16:40 +02:00
29dcd69787 Fixed issue #63: when linking to a category, needs to prefix with a colon 2022-06-27 19:45:18 +02:00
66cc926a5d Fixed issue #60: replaced deprecated method doEditContent with PageUpdater::saveRevision 2022-06-27 19:24:56 +02:00
d992823cf4 Update copyright year. 2022-03-13 11:42:37 +01:00
4e868e3669 Exclude stuff betweeen input and select tags.
Addresses #58 to prevent LinkTitles from interfering with the
PageForms extension. Needs testing.
2022-01-12 07:15:40 +01:00
584c330eec Fix typo in message designator. 2021-05-08 15:08:28 +02:00
96bdd0ad23 Prevent division by zero.
Closes #55.
2021-05-08 15:06:55 +02:00
33bbfdef5c Update copyright year. 2021-04-06 21:16:03 +02:00
1caa06a041 Merge pull request #53 from paladox/patch-1
Replace PageContentSave with MultiContentSave
2021-04-06 20:26:47 +02:00
06a42f90a8 added "data-sort-value" to ignored HTML attributes 2021-03-31 22:07:09 +02:00
1c79deb7dd Fix change in magic words API for mediawiki 1.35 part 2 (#54) 2021-03-30 21:14:45 +02:00
3d834a1ed5 Update Extension.php 2021-03-21 00:19:00 +00:00
f8dbdefdec Update Extension.php 2021-03-21 00:17:56 +00:00
702c090ad3 Update Extension.php 2021-03-21 00:11:01 +00:00
8e8355117e Update Extension.php 2021-03-20 23:55:25 +00:00
80fd7d9803 Update Extension.php 2021-03-20 23:52:50 +00:00
a238b3c8ce Update Extension.php 2021-03-20 23:46:42 +00:00
095384e453 Update Extension.php 2021-03-20 23:27:43 +00:00
73eaefc78b Update Extension.php 2021-03-20 21:59:37 +00:00
440b2f55b1 Update Extension.php 2021-03-20 21:59:00 +00:00
1b097dddf3 Use MultiContentSave hook 2021-03-20 21:54:50 +00:00
ab97174283 Fix MediaWiki 1.35 support 2020-11-08 05:53:31 +01:00
ee4386a8c9 DB_SLAVE -> DB_REPLICA (#44)
* --amend

* Add Beerpay badge

* Remove beerpay badge.

* Remove erroneous release folder from master branch.

* DB_SLAVE -> DB_REPLICA

DB_SLAVE has been removed under 1.34 thus throws an exception.

* Update Targets.php

* Update linktitles-cli.php

* Update Special.php
2019-12-18 21:25:35 +01:00
ceeca98964 Fix undefined $config 2019-03-12 10:32:42 +01:00
7a69e87a8d Fix handling of target titles with numbers.
- Fix: Improve handling of page titles that start or end with numbers.
2018-06-27 21:31:16 +02:00
a2a63e2d29 Write news, update year. 2018-06-20 20:40:27 +02:00
d9360be630 Include attributes in <syntaxhighlight> 2018-06-03 13:14:01 +02:00
d80500176b Add syntaxhiglight to tags excluded from splitter
This should prevent code blocks from getting auto-linked.
2018-06-03 13:14:01 +02:00
9f1c5a655e Substitute other CHAR_LENGTH occurrence.
Addresses #35.
2017-10-17 19:59:45 +02:00
9244518b26 Use different query for SQLite databases.
- Fix: Avoid errors with SQLite database.

Closes #35.
2017-10-16 20:16:33 +02:00
7c1563e82a Fix counting actual new links.
- Fix: Many pages would not be linked.
2017-09-23 07:16:28 +02:00
04c1be307b Fix <noautolinks> tag in parse-on-render mode.
- Fix: <noautolinks> tag did not work in parse-on-render mode.
2017-09-06 22:31:59 +02:00
2fc921249f Fix <autolinks> tag.
- Fix: <autolinks> tag was broken.
2017-09-06 13:00:06 +02:00
a78a782f04 Fix detection of span and div elements without attributes.
- Fix: Better detection of <span> and <div> elements that do not have attributes.
2017-09-05 08:58:04 +02:00
fa9d10bd63 Localize comment that is added by processPage.
- Improved: The comment that is added when pages are edited by the maintenance script can now be translated using a message.
2017-09-03 20:02:31 +02:00
a0449eaf6d Fix special page I18N. 2017-09-03 19:53:03 +02:00
2f76224ac0 Enable localization of special page.
- Improved: Special Page can now be translated using messages.
2017-09-03 14:24:28 +02:00
d34b2090c0 Harden test for redirects.
- Fix: Do not crash when testing redirect target on empty page.
2017-09-03 09:35:11 +02:00
b879fd409d Fix regex for existing link detection.
- Fix: Detection of existing links had a bug.
2017-09-03 09:33:38 +02:00
96bce45172 Do not use the reserved word default as function name. 2017-09-01 05:39:51 +02:00
a461e19433 Fix CLI script to work with namespaces. 2017-08-31 21:24:23 +02:00
85e09b8f5d Fix special page for use with namespaces. 2017-08-31 21:13:58 +02:00
4c67935491 Parse contents of <noautolink> tags.
- Fix: Contents of <noautolink> tags are now properly parsed as Wiki text.

Closes #34.
2017-08-31 21:02:33 +02:00
b856d3487e Add $wgLinkTitlesSameNamespace option. 2017-08-31 20:53:18 +02:00
256feb50d9 Add Source class, refactor. 2017-08-31 20:37:49 +02:00
6bf1d3f072 Change nameSpace to all lowercase everywhere.
Makes it consistent with MW's spelling of the term.
2017-08-31 13:56:42 +02:00