Alex Monk has uploaded a new change for review.
https://gerrit.wikimedia.org/r/49817
Change subject: (bug 26390) Add a note to the top of the discussion page
history view pointing to the header history
......................................................................
(bug 26390) Add a note to the top of the discussion page history view pointing
to the header history
Change-Id: I5167fdda9fcd9651e6745d94d8d82988a6e41ec3
---
M i18n/Lqt.i18n.php
M pages/TalkpageHistoryView.php
2 files changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LiquidThreads
refs/changes/17/49817/1
diff --git a/i18n/Lqt.i18n.php b/i18n/Lqt.i18n.php
index ab09559..1889995 100644
--- a/i18n/Lqt.i18n.php
+++ b/i18n/Lqt.i18n.php
@@ -286,6 +286,7 @@
'lqt-talkpage-history-title' => 'Discussion page history',
'lqt-talkpage-history-subtitle' => 'For $1',
'lqt-talkpage-history-tab' => 'Header',
+ 'lqt-talkpage-history-normalhistorynote' => 'You might also be looking
for the [{{fullurl:{{FULLPAGENAME}}|action=history}} page header\'s history].',
// Protection
'restriction-reply' => 'Post replies',
@@ -621,6 +622,7 @@
* $1 is a link to a talk page, with the talk page title as link label
{{Identical|For $1}}',
'lqt-talkpage-history-tab' => 'The text for the tab pointing to a
discussion page header',
+ 'lqt-talkpage-history-normalhistorynote' => 'Shown at the top of the
discussion page history view.',
'lqt-edit-bump' => 'See {{msg-mw|Lqt-edit-bump-tooltip}} for the
explanation of this feature.',
'lqt-reply-subpage' => 'Part of the page title when a LiquidThread
answer is given. Should probably be translated as a noun and not as a verb.
diff --git a/pages/TalkpageHistoryView.php b/pages/TalkpageHistoryView.php
index a4358b9..4416cef 100644
--- a/pages/TalkpageHistoryView.php
+++ b/pages/TalkpageHistoryView.php
@@ -9,6 +9,8 @@
$this->output->setSubtitle( wfMessage(
'lqt-talkpage-history-subtitle' )
->rawParams( $talkpageLink )->parse() );
+ $this->output->addWikiMsg(
'lqt-talkpage-history-normalhistorynote' );
+
$pager = new TalkpageHistoryPager( $this, $this->article );
$html = $pager->getNavigationBar() .
--
To view, visit https://gerrit.wikimedia.org/r/49817
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5167fdda9fcd9651e6745d94d8d82988a6e41ec3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LiquidThreads
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits