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

Change subject: Add feedbackDisplay class to feedback( correction ) in quiz to 
hide/show feedback
......................................................................

Add feedbackDisplay class to feedback( correction ) in quiz to hide/show 
feedback

This change adds feedbackDisplay class which can be used to hide/show feedback 
on all quizzes
by using CSS in Common.css

Bug: T159952
Change-Id: I0e89cd2c3c5ecf2a0d9c5d7fcd583f35c483d5ac
---
M Question.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Quiz 
refs/changes/41/368341/1

diff --git a/Question.php b/Question.php
index 4868061..577606d 100644
--- a/Question.php
+++ b/Question.php
@@ -276,7 +276,7 @@
                        } elseif ( preg_match( $this->mCorrectionPattern, $raw, 
$matches ) &&
                                $this->mBeingCorrected
                        ) {
-                               $rawClass = 'correction';
+                               $rawClass = 'correction feedbackDisplay';
                                $text = array_pop( $matches );
                                $signesOutput = '<td>&#x2192;</td>';
                                // Hacks to avoid counting the number of signes.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0e89cd2c3c5ecf2a0d9c5d7fcd583f35c483d5ac
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Quiz
Gerrit-Branch: master
Gerrit-Owner: Harjotsingh <harjo...@ymail.com>

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

Reply via email to