[MediaWiki-commits] [Gerrit] Fixup a few syntax and validator errors - change (operations/software)

2014-03-19 Thread Springle (Code Review)
Springle has submitted this change and it was merged.

Change subject: Fixup a few syntax and validator errors
..


Fixup a few syntax and validator errors

Change-Id: Id866ac01c812d591d2f7e32631bcbe5670977dee
---
M dbtree/index.php
1 file changed, 9 insertions(+), 11 deletions(-)

Approvals:
  Springle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/dbtree/index.php b/dbtree/index.php
index 3e8b70d..1056714 100644
--- a/dbtree/index.php
+++ b/dbtree/index.php
@@ -142,8 +142,8 @@
Active Threads: ' . $dbdata[$db]['mysql_threads_running'] . 
'
Slow Q (-1min): ' . $dbdata[$db]['mysql_slow_queries'] . '
Analyze:
-   slow 
|
-   sampled';
+   slow |
+   sampled';
 }
 
 if (file_exists($gangcache) && time() - $ttl < filemtime($gangcache)) {
@@ -209,14 +209,14 @@
print ' ">' . $s . '


-   ' . $master 
. '';
+   ' . 
$master . '';
print_dbdata($master, false);
 
print '';
foreach ($cluster['pri'] as $db) {
$color = get_db_color($db);
print '
-   
+   
' . $db . '';
print_dbdata($db);
print '';
@@ -224,7 +224,7 @@
 
if ($second) {
$second_color = get_db_color($second);
-   print '' .
+   print '' .
$second . '';
print_dbdata($second);
 
@@ -235,7 +235,7 @@
} else {
$color = get_db_color($db);
}
-   print '
+   print '
' . $db . '';
print_dbdata($db);
print '';
@@ -247,9 +247,7 @@



-   
-   
-   ';
+   ';
 }
 
 print '
@@ -261,9 +259,9 @@
Not Reporting or Replicating

Click shard name for list of wikis.
-';
+';
 
-print '

[MediaWiki-commits] [Gerrit] Fixup a few syntax and validator errors - change (operations/software)

2014-03-15 Thread Reedy (Code Review)
Reedy has uploaded a new change for review.

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

Change subject: Fixup a few syntax and validator errors
..

Fixup a few syntax and validator errors

Change-Id: Id866ac01c812d591d2f7e32631bcbe5670977dee
---
M dbtree/index.php
1 file changed, 9 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software 
refs/changes/54/118954/1

diff --git a/dbtree/index.php b/dbtree/index.php
index e97ed27..8e717dc 100644
--- a/dbtree/index.php
+++ b/dbtree/index.php
@@ -143,8 +143,8 @@
Active Threads: ' . $dbdata[$db]['mysql_threads_running'] . 
'
Slow Q (-1min): ' . $dbdata[$db]['mysql_slow_queries'] . '
Analyze:
-   slow 
|
-   sampled';
+   slow |
+   sampled';
 }
 
 if (file_exists($gangcache) && time() - $ttl < filemtime($gangcache)) {
@@ -210,14 +210,14 @@
print ' ">' . $s . '


-   ' . $master 
. '';
+   ' . 
$master . '';
print_dbdata($master, false);
 
print '';
foreach ($cluster['pri'] as $db) {
$color = get_db_color($db);
print '
-   
+   
' . $db . '';
print_dbdata($db);
print '';
@@ -226,7 +226,7 @@
if ($second) {

$second_color = get_db_color($second);
-   print '' .
+   print '' .
$second . '';
print_dbdata($second);

@@ -237,7 +237,7 @@
} else {
$color = get_db_color($db);
}
-   print '
+   print '
' . $db . '';
print_dbdata($db);
print '';
@@ -249,9 +249,7 @@



-   
-   
-   ';
+   ';
 }
 
 print '
@@ -263,9 +261,9 @@
Not Reporting or Replicating

Click shard name for list of wikis.
-';
+';
 
-print '