Add title to remove cross on watchlist page

This commit is contained in:
Starbeamrainbowlabs 2019-12-23 22:53:16 +00:00
parent ab179e4e83
commit f06c37c561
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@
"version": "0.1",
"author": "Starbeamrainbowlabs",
"description": "Adds per-user watchlists. When a page on a user's watchlist is edited, a notification email is sent.",
"lastupdate": 1577132588,
"lastupdate": 1577141571,
"optional": false,
"extra_data": []
},

View File

@ -61,7 +61,7 @@ register_module([
if(!empty($watchlist)) {
$content .= "<ul class='page-list watchlist'>\n";
foreach($watchlist as $pagename) {
$content .= "<li><a href='?action=watchlist-edit&amp;page=".rawurlencode($pagename)."&amp;do=remove&amp;returnto=".rawurlencode("?action=watchlist&success=yes")."'>&#x274c;</a> <a href='?page=".rawurlencode($pagename)."'>".htmlentities($pagename)."</a></li>";
$content .= "<li><a href='?action=watchlist-edit&amp;page=".rawurlencode($pagename)."&amp;do=remove&amp;returnto=".rawurlencode("?action=watchlist&success=yes")."' title='Remove from watchlist'>&#x274c;</a> <a href='?page=".rawurlencode($pagename)."'>".htmlentities($pagename)."</a></li>";
}
$content .= "</ul>";
$content .= "<p>You can also <a href='?action=watchlist-edit&amp;do=clear&amp;returnto=".rawurlencode("?action=watchlist")."'>clear your entire list</a> and start again.</p>";