Fix incorrect handling of PreferShortTitles option.

This commit is contained in:
Daniel Kraus
2012-10-05 18:31:35 +02:00
parent 38a7cd2e16
commit b704c3187e
3 changed files with 5 additions and 2 deletions

View File

@ -80,7 +80,7 @@
// extract the current page's title.
$myTitle = $article->getTitle()->getText();
( $wgLinkTitlesPreferShortTitles ) ? $sort_order = 'DESC' : $sort_order = '';
( $wgLinkTitlesPreferShortTitles ) ? $sort_order = 'ASC' : $sort_order = 'DESC';
// Build a regular expression that will capture existing wiki links ("[[...]]"),
// wiki headings ("= ... =", "== ... ==" etc.),

View File

@ -44,7 +44,7 @@
'name' => 'LinkTitles',
'author' => '[http://www.mediawiki.org/wiki/User:Bovender Daniel Kraus]',
'url' => 'http://www.mediawiki.org/wiki/Extension:LinkTitles',
'version' => '1.3.1',
'version' => '1.3.2',
'descriptionmsg' => 'linktitles-desc'
);

3
NEWS
View File

@ -1,3 +1,6 @@
LinkTitles 1.3.2: 2012-10-05
* Fix incorrect handling of PreverShortTitles option.
LinkTitles 1.3.1: 2012-10-05
* Fix typo that prevented proper function of the extension.