Sbisson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/252233

Change subject: Fix log entries for topic lock/unlock
......................................................................

Fix log entries for topic lock/unlock

Bug: T118002
Change-Id: I563443ec6045799822e3b3a6d35bbf1037c4ea8e
---
M Flow.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/33/252233/1

diff --git a/Flow.php b/Flow.php
index 1e8164a..b09d642 100644
--- a/Flow.php
+++ b/Flow.php
@@ -316,6 +316,7 @@
 $wgLogActionsHandlers['suppress/flow-restore-post'] = 
'Flow\Log\ActionFormatter';
 $wgLogActionsHandlers['delete/flow-restore-topic'] = 
'Flow\Log\ActionFormatter';
 $wgLogActionsHandlers['suppress/flow-restore-topic'] = 
'Flow\Log\ActionFormatter';
+$wgLogActionsHandlers['lock/flow-restore-topic'] = 'Flow\Log\ActionFormatter';
 $wgLogActionsHandlers['import/lqt-to-flow-topic'] = 
'Flow\Log\LqtImportFormatter';
 
 // Register URL actions
diff --git a/i18n/en.json b/i18n/en.json
index 7ae5033..6f25a9c 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -25,6 +25,8 @@
        "logentry-delete-flow-restore-topic": "$1 {{GENDER:$2|restored}} topic 
\"[[$3|$5]]\" on [[$6]]",
        "logentry-suppress-flow-suppress-topic": "$1 {{GENDER:$2|suppressed}} 
topic \"[[$3|$5]]\" on [[$6]]",
        "logentry-suppress-flow-restore-topic": "$1 {{GENDER:$2|deleted}} topic 
\"[[$3|$5]]\" on [[$6]]",
+       "logentry-lock-flow-lock-topic": "$1 {{GENDER:$2|marked}} topic 
\"[[$3|$5]]\" as resolved on [[$6]]",
+       "logentry-lock-flow-restore-topic": "$1 {{GENDER:$2|reopened}} topic 
\"[[$3|$5]]\" on [[$6]]",
        "logentry-import-lqt-to-flow-topic": "[[$1|$2]] on [[$3]] was imported 
from LiquidThreads to Flow",
        "flow-user-moderated": "Moderated user",
        "flow-board-header-browse-topics-link": "Browse topics",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 2bdfc67..2f57d46 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -33,6 +33,8 @@
        "logentry-delete-flow-restore-topic": "Text for a deletion log entry 
when a deleted topic was restored. Parameters:\n* $1 - the user: link to the 
user page\n* $2 - the username. Can be used for GENDER.\n* $3 - the page where 
the topic was moderated\n* $5 - The topic title text\n* $6 - The board 
page\n{{Related|Flow-logentry}}",
        "logentry-suppress-flow-suppress-topic": "Text for a deletion log entry 
when a topic was suppressed. Parameters:\n* $1 - the user: link to the user 
page\n* $2 - the username. Can be used for GENDER.\n* $3 - the page where the 
topic was moderated\n* $5 - The topic title text\n* $6 - The board 
page\n{{Related|Flow-logentry}}",
        "logentry-suppress-flow-restore-topic": "Text for a deletion log entry 
when a suppressed topic was restored. Parameters:\n* $1 - the user: link to the 
user page\n* $2 - the username. Can be used for GENDER.\n* $3 - the page where 
the topic was moderated\n* $4 - permalink URL to the moderated topic\n* $5 - 
The topic title text\n* $6 - The board page\n{{Related|Flow-logentry}}",
+       "logentry-lock-flow-lock-topic": "Text for a log entry when a topic was 
marked as resolved. Parameters:\n* $1 - the user: link to the user page\n* $2 - 
the username. Can be used for GENDER.\n* $3 - the page where the topic was 
moderated\n* $5 - The topic title text\n* $6 - The board 
page\n{{Related|Flow-logentry}}",
+       "logentry-lock-flow-restore-topic": "Text for a log entry when a 
resolved topic was reopened. Parameters:\n* $1 - the user: link to the user 
page\n* $2 - the username. Can be used for GENDER.\n* $3 - the page where the 
topic was moderated\n* $4 - permalink URL to the moderated topic\n* $5 - The 
topic title text\n* $6 - The board page\n{{Related|Flow-logentry}}",
        "logentry-import-lqt-to-flow-topic": "Text for an import log entry when 
a topic has been imported from LiquidThreads to Flow. Parameters:\n* $1 - The 
page within the topic namespace to which the topic was imported.\n* $2 - The 
title of the LiquidThreads thread being imported.\n* $3 - The board that was 
converted from LiquidThreads to Flow.",
        "flow-user-moderated": "Name to display when the current user is not 
allowed to see the users name due to moderation",
        "flow-board-header-browse-topics-link": "Text to show in the board 
description which links to the topics list.",

-- 
To view, visit https://gerrit.wikimedia.org/r/252233
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I563443ec6045799822e3b3a6d35bbf1037c4ea8e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Sbisson <sbis...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to