diff --git a/LinkTitles.body.php b/LinkTitles.body.php index 4a5dad8..c5cbafa 100755 --- a/LinkTitles.body.php +++ b/LinkTitles.body.php @@ -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.), diff --git a/LinkTitles.php b/LinkTitles.php index e02c676..75716ce 100755 --- a/LinkTitles.php +++ b/LinkTitles.php @@ -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' ); diff --git a/NEWS b/NEWS index 3513077..cb36ec1 100644 --- a/NEWS +++ b/NEWS @@ -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.