From: Alexandre Emsenhuber Date: Mon, 18 Jan 2010 19:05:41 +0000 (+0000) Subject: * (bug 21936) When a revision has been patrolled, there's now a link back to the... X-Git-Tag: 1.31.0-rc.0~38211 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=518ba96f530430f4e2b817625dd1215462ab8ff1;p=lhc%2Fweb%2Fwiklou.git * (bug 21936) When a revision has been patrolled, there's now a link back to the article * Break lines at 80 chars in RELEASE-NOTES --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7bec1e2383..13fa883111 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -300,11 +300,15 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 22051) Returing false in SpecialContributionsBeforeMainOutput hook now stops normal output * Send new password e-mail in users preference language -* LanguageConverter now support nested using of manual convert syntax like "-{-{}-}-" +* LanguageConverter now support nested using of manual convert syntax like + "-{-{}-}-" * (bug 16281) Show copyright system message on special pages * Upload license preview now uses the API instead of action=ajax * (bug 7346) Add to RSS to avoid duplicates -* (bug 19996) Added new hooks for Special:Search, which allow to further restrict/expand it. +* (bug 19996) Added new hooks for Special:Search, which allow to further + restrict/expand it. +* (bug 21936) When a revision has been patrolled, there's now a link back to the + article === Bug fixes in 1.16 === diff --git a/includes/Article.php b/includes/Article.php index b47a906033..d747706214 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2152,7 +2152,7 @@ class Article { # Inform the user $wgOut->setPageTitle( wfMsg( 'markedaspatrolled' ) ); - $wgOut->addWikiMsg( 'markedaspatrolledtext' ); + $wgOut->addWikiMsg( 'markedaspatrolledtext', $rc->getTitle()->getPrefixedText() ); $wgOut->returnToMain( false, $return ); } diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 0d14c32b01..452850741f 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -3413,7 +3413,7 @@ please see math/README to configure.', 'markaspatrolledlink' => '[$1]', # do not translate or duplicate this message to other languages 'markaspatrolledtext' => 'Mark this page as patrolled', 'markedaspatrolled' => 'Marked as patrolled', -'markedaspatrolledtext' => 'The selected revision has been marked as patrolled.', +'markedaspatrolledtext' => 'The selected revision of [[:$1]] has been marked as patrolled.', 'rcpatroldisabled' => 'Recent changes patrol disabled', 'rcpatroldisabledtext' => 'The recent changes patrol feature is currently disabled.', 'markedaspatrollederror' => 'Cannot mark as patrolled',