Yaron Koren has uploaded a new change for review.
https://gerrit.wikimedia.org/r/79020
Change subject: Added hook, needed by the upcoming "QuizTabulate" extension
......................................................................
Added hook, needed by the upcoming "QuizTabulate" extension
Change-Id: I6a954167016ddb18873c1174b3a99c638a65ba2a
---
M Quiz.class.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Quiz
refs/changes/20/79020/1
diff --git a/Quiz.class.php b/Quiz.class.php
index 374dbc4..9b67a78 100644
--- a/Quiz.class.php
+++ b/Quiz.class.php
@@ -287,6 +287,7 @@
$this->mQuestionId,
$this->mParser
);
+ wfRunHooks( 'QuizQuestionCreated', array( &$this, &$question )
);
$buffer = $question->parseHeader( $matches[1] );
if( !array_key_exists( 3, $matches ) || trim( $matches[3] ) ==
'' ) {
switch( $matches[1] ) {
--
To view, visit https://gerrit.wikimedia.org/r/79020
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6a954167016ddb18873c1174b3a99c638a65ba2a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Quiz
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits