Shirayuki has uploaded a new change for review.

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


Change subject: Replace "coll-add_this_page" by "coll-add_page_tooltip"
......................................................................

Replace "coll-add_this_page" by "coll-add_page_tooltip"

The message "coll-add_this_page" is for a link text.
The tooltip for the link is "coll-add_page_tooltip".

Change-Id: I9c7188be7f9b94ddf1e43f33001eb459665d4280
---
M Collection.templates.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Collection 
refs/changes/90/56890/1

diff --git a/Collection.templates.php b/Collection.templates.php
index d3a8dd8..46984c1 100644
--- a/Collection.templates.php
+++ b/Collection.templates.php
@@ -475,7 +475,7 @@
                $url = $title->getLocalUrl();
                $out .= '<li style="margin-bottom: 10px; padding: 4px 4px; 
background-color: #ddddff; font-size: 1.4em; font-weight: bold;">';
                $out .= '<noscript><input type="checkbox" value="' . 
htmlspecialchars( $artName ) . '" name="articleList[]" /></noscript>';
-               $out .= '<a onclick="' . htmlspecialchars( 
'collectionSuggestCall("AddArticle", ' . Xml::encodeJsVar( array( $artName ) ) 
. '); return false;' ) . '" href="' . htmlspecialchars( 
SkinTemplate::makeSpecialUrl( 'Book', array( 'bookcmd' => 'suggest', 'add' => 
$artName ) ) ) . '" title="' . wfMessage( 'coll-add_this_page' )->escaped() . 
'"><img src="' . htmlspecialchars( $mediapath . 'silk-add.png' ) . '" 
width="16" height="16" alt=""></a> ';
+               $out .= '<a onclick="' . htmlspecialchars( 
'collectionSuggestCall("AddArticle", ' . Xml::encodeJsVar( array( $artName ) ) 
. '); return false;' ) . '" href="' . htmlspecialchars( 
SkinTemplate::makeSpecialUrl( 'Book', array( 'bookcmd' => 'suggest', 'add' => 
$artName ) ) ) . '" title="' . wfMessage( 'coll-add_page_tooltip' )->escaped() 
. '"><img src="' . htmlspecialchars( $mediapath . 'silk-add.png' ) . '" 
width="16" height="16" alt=""></a> ';
                $out .= '<a onclick="' . htmlspecialchars( 
'collectionSuggestCall("BanArticle", ' . Xml::encodeJsVar( array( $artName ) ) 
. '); return false;' ) . '" href="' . htmlspecialchars( 
SkinTemplate::makeSpecialUrl( 'Book', array( 'bookcmd' => 'suggest', 'ban' => 
$artName ) ) ) . '" title="' . wfMessage( 'coll-suggest_ban_tooltip' 
)->escaped() . '"><img src="' . htmlspecialchars( $mediapath . 
'silk-cancel.png' ) . '" width="16" height="16" alt=""></a> ';
                $out .= '<a href="' . htmlspecialchars( $url ) . '" title="' . 
htmlspecialchars( $artName ) . '">' . htmlspecialchars( $artName ) . '</a>';
                $out .= '</li>';
@@ -486,7 +486,7 @@
                        $url = str_replace( " ", "_", $url );
                        $out .= '<li style="padding-left: 4px;">';
                        $out .= '<noscript><input type="checkbox" value="' . 
htmlspecialchars( $artName ) . '" name="articleList[]" /></noscript>';
-                       $out .= '<a onclick="' . htmlspecialchars( 
'collectionSuggestCall("AddArticle", ' . Xml::encodeJsVar( array( $artName ) ) 
. '); return false;' ) . '" href="' . htmlspecialchars( 
SkinTemplate::makeSpecialUrl( 'Book', array( 'bookcmd' => 'suggest', 'add' => 
$artName ) ) ) . '" title="' . wfMessage( 'coll-add_this_page' )->escaped() . 
'"><img src="' . htmlspecialchars( $mediapath . 'silk-add.png' ) . '" 
width="16" height="16" alt=""></a> ';
+                       $out .= '<a onclick="' . htmlspecialchars( 
'collectionSuggestCall("AddArticle", ' . Xml::encodeJsVar( array( $artName ) ) 
. '); return false;' ) . '" href="' . htmlspecialchars( 
SkinTemplate::makeSpecialUrl( 'Book', array( 'bookcmd' => 'suggest', 'add' => 
$artName ) ) ) . '" title="' . wfMessage( 'coll-add_page_tooltip' )->escaped() 
. '"><img src="' . htmlspecialchars( $mediapath . 'silk-add.png' ) . '" 
width="16" height="16" alt=""></a> ';
                        $out .= '<a href="' . htmlspecialchars( $url ) . '" 
title="' . htmlspecialchars( $artName ) . '">' . htmlspecialchars( $artName ) . 
'</a>';
                        $out .= '</li>';
                }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9c7188be7f9b94ddf1e43f33001eb459665d4280
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Collection
Gerrit-Branch: master
Gerrit-Owner: Shirayuki <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to