Dzahn has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/338040 )

Change subject: add tooltip texts to describe columns
......................................................................

add tooltip texts to describe columns

As requested in T157181, add definitions of column headers.

Do it as tooltips, using the Bootstrap Tooltip Plugin.

https://www.w3schools.com/bootstrap/bootstrap_tooltip.asp

Bug: T157181
Change-Id: Icbdb6d911bd137a939a905aa063c5b745c7aa7fc
---
M var/www/wikistats/display.php
1 file changed, 15 insertions(+), 15 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/debs/wikistats 
refs/changes/40/338040/1

diff --git a/var/www/wikistats/display.php b/var/www/wikistats/display.php
index e8945f4..8aa37e7 100644
--- a/var/www/wikistats/display.php
+++ b/var/www/wikistats/display.php
@@ -286,21 +286,21 @@
 }
 
 print <<<THEAD_MAIN
-<th class="sub">Good</th>
-<th class="sub">Total </th>
-<th class="sub">Edits</th>
-<th class="sub">Admins</th>
-<th class="sub">Users</th>
-<th class="sub">Active Users</th>
-<th class="sub">Files</th>
-<th class="sub">Stub Ratio</th>
-<th class="sub">Version</th>
-<th class="sub">License</th>
-<th class="sub">Archive</th>
-<th class="sub">HTTP</th>
-<th class="sub">ID</th>
-<th class="sub">mt</th>
-<th class="sub" align="right">Last update</th></tr></thead>
+<th class="sub" data-toggle="tooltip" title="number of real articles (per 
https://www.mediawiki.org/wiki/Manual:Article_count)">Good</th>
+<th class="sub" data-toggle="tooltip" title="number of all pages, articles and 
others">Total </th>
+<th class="sub" data-toggle="tooltip" title="number of edits on 
pages">Edits</th>
+<th class="sub" data-toggle="tooltip" title="number of 
administrators">Admins</th>
+<th class="sub" data-toggle="tooltip" title="number of users">Users</th>
+<th class="sub" data-toggle="tooltip" title="number of active users (per 
https://www.mediawiki.org/wiki/Manual:$wgActiveUserDays)">Active Users</th>
+<th class="sub" data-toggle="tooltip" title="number of files (images and 
others)">Files</th>
+<th class="sub" data-toggle="tooltip" title="number of 'good' articles divided 
by number of total pages">Stub Ratio</th>
+<th class="sub" data-toggle="tooltip" title="MediaWiki version">Version</th>
+<th class="sub" data-toggle="tooltip" title="license wiki content is published 
under">License</th>
+<th class="sub" data-toggle="tooltip" title="link to archive.org to download a 
dump of the wiki">Archive</th>
+<th class="sub" data-toggle="tooltip" title="the HTTP status code (or a custom 
return code if it starts with 9)">HTTP</th>
+<th class="sub" data-toggle="tooltip" title="internal ID of the wiki">ID</th>
+<th class="sub" data-toggle="tooltip" title="internal code for the method used 
to get stats">mt</th>
+<th class="sub" align="right" data-toggle="tooltip" title="last time data was 
updated (or an attempt failed)">Last update</th></tr></thead>
 THEAD_MAIN;
 
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icbdb6d911bd137a939a905aa063c5b745c7aa7fc
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/wikistats
Gerrit-Branch: master
Gerrit-Owner: Dzahn <dz...@wikimedia.org>

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

Reply via email to