mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 09:49:31 +02:00
Release version 3.0.0
This commit is contained in:
@ -64,28 +64,39 @@
|
|||||||
/// will process a page. If set to true in `LocalSettings.php`, links will
|
/// will process a page. If set to true in `LocalSettings.php`, links will
|
||||||
/// be inserted whenever a page is edited and saved (unless 'minor
|
/// be inserted whenever a page is edited and saved (unless 'minor
|
||||||
/// modifications' is checked). If set to false, the extension will not do
|
/// modifications' is checked). If set to false, the extension will not do
|
||||||
/// anything when a page is edited
|
/// anything when a page is edited and saved. Because saving a page
|
||||||
/// and saved.
|
/// automatically invalidates the cache, the next time the page is
|
||||||
|
/// displayed (i.e., immediately after saving it), the extension might add
|
||||||
|
/// links if $wgLinkTitlesParseOnRender is set to true.
|
||||||
/// @ingroup config
|
/// @ingroup config
|
||||||
$wgLinkTitlesParseOnEdit = true;
|
$wgLinkTitlesParseOnEdit = true;
|
||||||
|
|
||||||
/// Less important configuration variable that determines when the
|
/// Important configuration variable that determines when the
|
||||||
/// extension will process a page. If set to true in LocalSettings.php,
|
/// extension will process a page. If set to true in LocalSettings.php,
|
||||||
/// links will be inserted when a page is rendered for viewing.
|
/// links will be added whenever a page is rendered for viewing, after
|
||||||
/// @note Whether a page will be rendered or just fetched from the page
|
/// templates have been expanded.
|
||||||
/// cache is unpredictable. Therefore, pages may not always be parsed for
|
/// @note Since pages are cached, links may not appear immediately.
|
||||||
/// possible links when this variable is set to true.
|
/// When links are added during the rendering process, they do not appear
|
||||||
/// @warning Setting this to true has the potential to affect lots of page
|
/// as markup when the page is edited. This may or may not be the behavior
|
||||||
/// views (but see note regarding cached pages).
|
/// that you desire. Also note that if lots of templates or parser
|
||||||
|
/// functions are included, processing time may increase quite a bit,
|
||||||
|
/// causing gateway time-out errors of the web server.
|
||||||
/// @ingroup config
|
/// @ingroup config
|
||||||
$wgLinkTitlesParseOnRender = false;
|
$wgLinkTitlesParseOnRender = false;
|
||||||
|
|
||||||
/// Determines whether to parse text inside templates. If this is set to
|
/// Determines whether to parse text inside templates. If this is set to
|
||||||
/// true in LocalSettings.php,
|
/// true in LocalSettings.php, the parameters in a template will be parsed
|
||||||
|
/// (e.g., {{myTemplate|template parameter that may contain a page
|
||||||
|
/// title}}).
|
||||||
|
/// @note If pages are parsed when they are rendered (see
|
||||||
|
/// $wgLinkTitlesParseOnRender setting), this setting does not take
|
||||||
|
/// effect.
|
||||||
/// @ingroup config
|
/// @ingroup config
|
||||||
$wgLinkTitlesSkipTemplates = false;
|
$wgLinkTitlesSkipTemplates = false;
|
||||||
|
|
||||||
/// Blacklist of page titles that should never be linked.
|
/// Blacklist of page titles that should never be linked.
|
||||||
|
/// @note See also: __NOAUTOLINKTARGET__ magic word to allow wiki users to
|
||||||
|
/// blacklist a page dynamically.
|
||||||
/// @ingroup config
|
/// @ingroup config
|
||||||
$wgLinkTitlesBlackList = array();
|
$wgLinkTitlesBlackList = array();
|
||||||
|
|
||||||
@ -93,7 +104,6 @@
|
|||||||
/// title on a page or all occurrences. Default is false: All occurrences
|
/// title on a page or all occurrences. Default is false: All occurrences
|
||||||
/// on a page are linked.
|
/// on a page are linked.
|
||||||
/// @ingroup config
|
/// @ingroup config
|
||||||
|
|
||||||
$wgLinkTitlesFirstOnly = false;
|
$wgLinkTitlesFirstOnly = false;
|
||||||
|
|
||||||
/// Determines whether a page title must occur at the start of a word in
|
/// Determines whether a page title must occur at the start of a word in
|
||||||
@ -144,9 +154,8 @@
|
|||||||
$wgLinkTitlesSmartMode = true;
|
$wgLinkTitlesSmartMode = true;
|
||||||
|
|
||||||
/// Determines whether or not to check if a page redirects to the current
|
/// Determines whether or not to check if a page redirects to the current
|
||||||
/// page. Normally one would want to have the default behavior (true), but
|
/// page. This check requires that the extension fetches the page content
|
||||||
/// this check requires a time-consuming database query for every page in
|
/// of a potential target page from the database, which costs time.
|
||||||
/// the wiki.
|
|
||||||
/// @note For maximum performance, set both $wgLinkTitlesCheckRedirect and
|
/// @note For maximum performance, set both $wgLinkTitlesCheckRedirect and
|
||||||
/// $wgLinkTitlesEnableNoTargetMagicWord to false in LocalSettings.php.
|
/// $wgLinkTitlesEnableNoTargetMagicWord to false in LocalSettings.php.
|
||||||
/// On the developer's machine, fetching the target page content increased
|
/// On the developer's machine, fetching the target page content increased
|
||||||
@ -154,8 +163,7 @@
|
|||||||
/// (Intel Core i5-3320M, 2x 2.6 GHz, 16 GB RAM, PHP 5.5.9, Apache 2.4.7,
|
/// (Intel Core i5-3320M, 2x 2.6 GHz, 16 GB RAM, PHP 5.5.9, Apache 2.4.7,
|
||||||
/// MySQL 5.5.37, MediaWiki 1.23.0). If any of the two mentioned variables
|
/// MySQL 5.5.37, MediaWiki 1.23.0). If any of the two mentioned variables
|
||||||
/// is set to true, a page content request will be performed for every
|
/// is set to true, a page content request will be performed for every
|
||||||
/// page in the wiki whenever a single page is edited or parsed in batch
|
/// page whose title occurs on a given page.
|
||||||
/// mode.
|
|
||||||
/// @ingroup config
|
/// @ingroup config
|
||||||
$wgLinkTitlesCheckRedirect = true;
|
$wgLinkTitlesCheckRedirect = true;
|
||||||
|
|
||||||
@ -170,14 +178,14 @@
|
|||||||
/// (Intel Core i5-3320M, 2x 2.6 GHz, 16 GB RAM, PHP 5.5.9, Apache 2.4.7,
|
/// (Intel Core i5-3320M, 2x 2.6 GHz, 16 GB RAM, PHP 5.5.9, Apache 2.4.7,
|
||||||
/// MySQL 5.5.37, MediaWiki 1.23.0). If any of the two mentioned variables
|
/// MySQL 5.5.37, MediaWiki 1.23.0). If any of the two mentioned variables
|
||||||
/// is set to true, a page content request will be performed for every
|
/// is set to true, a page content request will be performed for every
|
||||||
/// page in the wiki whenever a single page is edited or parsed in batch
|
/// page whose title occurs on a given page.
|
||||||
/// mode.
|
|
||||||
/// @ingroup config
|
/// @ingroup config
|
||||||
$wgLinkTitlesEnableNoTargetMagicWord = true;
|
$wgLinkTitlesEnableNoTargetMagicWord = true;
|
||||||
|
|
||||||
/// Time limit for online batch processing. This determines the maximum
|
/// Time limit for online batch processing. This determines the maximum
|
||||||
/// amount of time in seconds that page processing will take before a
|
/// amount of time in seconds that page processing will take before a
|
||||||
/// refresh of the special page is issued.
|
/// refresh of the special page is issued.
|
||||||
|
/// @note See SpecialLinkTitles class.
|
||||||
/// @ingroup config
|
/// @ingroup config
|
||||||
$wgLinkTitlesTimeLimit = 0.2;
|
$wgLinkTitlesTimeLimit = 0.2;
|
||||||
|
|
||||||
@ -187,7 +195,7 @@
|
|||||||
'name' => 'LinkTitles',
|
'name' => 'LinkTitles',
|
||||||
'author' => '[https://www.mediawiki.org/wiki/User:Bovender Daniel Kraus]',
|
'author' => '[https://www.mediawiki.org/wiki/User:Bovender Daniel Kraus]',
|
||||||
'url' => 'https://www.mediawiki.org/wiki/Extension:LinkTitles',
|
'url' => 'https://www.mediawiki.org/wiki/Extension:LinkTitles',
|
||||||
'version' => '2.4.2',
|
'version' => '3.0.0',
|
||||||
'descriptionmsg' => 'linktitles-desc'
|
'descriptionmsg' => 'linktitles-desc'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
10
NEWS
10
NEWS
@ -1,3 +1,11 @@
|
|||||||
|
LinkTitles 3.0.0: 2014-06-13
|
||||||
|
* Dramatically improved performance (especially apparent during batch
|
||||||
|
processing).
|
||||||
|
* Change algorithm for parse-on-render so that it also adds links to
|
||||||
|
expanded templates.
|
||||||
|
* Make code fully compatible with the current MediaWiki version 1.23 by
|
||||||
|
removing deprecated hooks. Minimum required MediaWiki version is now 1.21.
|
||||||
|
|
||||||
LinkTitles 2.4.1: 2014-06-06
|
LinkTitles 2.4.1: 2014-06-06
|
||||||
* The ZIP file for 2.4.0 had missing files.
|
* The ZIP file for 2.4.0 had missing files.
|
||||||
|
|
||||||
@ -108,4 +116,4 @@ LinkTitles 0.0.2: 2012-05-20
|
|||||||
LinkTitles 0.0.1: 2012-05-20
|
LinkTitles 0.0.1: 2012-05-20
|
||||||
* Initial release.
|
* Initial release.
|
||||||
|
|
||||||
# vim: tw=76:fo=tqn:flp=^\\*\\s+
|
# vim: tw=76:fo=tqn:fo=tcroqn:flp=^\\*\\s+:comments=\:#
|
||||||
|
2
gh-pages
2
gh-pages
Submodule gh-pages updated: 5c3bdd596d...54c88f4ed7
BIN
release/LinkTitles-3.0.0.tar.gz
Normal file
BIN
release/LinkTitles-3.0.0.tar.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user