Rahul21 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/85635
Change subject: Added the license to UI.
......................................................................
Added the license to UI.
Change-Id: I83ca24201fd469dd84649f7cef75c6cb365ea38c
---
M SpecialPronunciationRecording.php
M resources/css/ext.pronunciationRecordingToolbar.css
2 files changed, 13 insertions(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PronunciationRecording
refs/changes/35/85635/1
diff --git a/SpecialPronunciationRecording.php
b/SpecialPronunciationRecording.php
index bc273da..def2aee 100644
--- a/SpecialPronunciationRecording.php
+++ b/SpecialPronunciationRecording.php
@@ -39,6 +39,10 @@
$output->addHTML( Html::element( 'option',
array( 'value' => $lang_code ) , $lang_code.' - '.$lang_name ) );
}
$output->addHTML( '</select>' );
+ $output->addHTML( '<br><br>'.wfMessage(
'mwe-upwiz-deeds-macro-prompt' )->escaped() );
+ $output->addHTML( '<div class =
"mw-pronunciationrecording-information-license_check" ><input type="radio"
name="license" checked="checked">'.wfMessage( 'mwe-upwiz-source-ownwork'
)->escaped().'</div><br>' );
+ $output->addHTML( '<div class =
"mw-pronunciationrecording-information-license_cc_by_sa" >'.wfMessage(
'mwe-upwiz-source-ownwork-assert-cc-by-sa-3.0', '', $user,
'http://creativecommons.org/licenses/by-sa/3.0/deed.en' )->parse().'<br>' );
+ $output->addHTML( wfMessage(
'mwe-upwiz-source-ownwork-cc-by-sa-3.0-explain')->parse().'</p><br></div>' );
$output->addHTML( '</fieldset>' );
$output->addHTML( '</form>' );
}
diff --git a/resources/css/ext.pronunciationRecordingToolbar.css
b/resources/css/ext.pronunciationRecordingToolbar.css
index fac7302..306b6ab 100644
--- a/resources/css/ext.pronunciationRecordingToolbar.css
+++ b/resources/css/ext.pronunciationRecordingToolbar.css
@@ -12,3 +12,12 @@
.mw-pronunciationrecording-information-language {
margin-left: 8em;
}
+
+.mw-pronunciationrecording-information-license_check {
+ margin-top: 0.5em;
+ margin-left: 1.5em;
+}
+.mw-pronunciationrecording-information-license_cc_by_sa {
+ margin-top: -1em;
+ margin-left: 5em;
+}
--
To view, visit https://gerrit.wikimedia.org/r/85635
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I83ca24201fd469dd84649f7cef75c6cb365ea38c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PronunciationRecording
Gerrit-Branch: master
Gerrit-Owner: Rahul21 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits