Index: trunk/extensions/MetavidWiki/includes/articlepages/MV_StreamPage.php |
— | — | @@ -103,18 +103,17 @@ |
104 | 104 | $page = 'stream page'; |
105 | 105 | $wgOut->addHTML( $page ); |
106 | 106 | $wgOut->returnToMain( false ); |
107 | | - |
| 107 | + |
108 | 108 | $wgOut->output(); |
109 | 109 | } |
110 | 110 | function delete() { |
111 | 111 | global $wgOut, $wgRequest, $wgUser; |
112 | 112 | if ( !$wgRequest->wasPosted() ) { |
113 | | - $wgOut->addHTML( wfMsg( 'mv_stream_delete_warrning', |
| 113 | + $wgOut->addHTML( wfMsgExt( 'mv_stream_delete_warrning', 'parsemag', |
114 | 114 | MV_Index::countMVDInRange( $this->mvTitle->getStreamId() ) ) ); |
115 | 115 | } |
116 | 116 | // update text button to delete stream rather than delete stream |
117 | 117 | parent::delete(); |
118 | 118 | } |
119 | | - |
120 | | - } |
121 | | -?> |
| 119 | +} |
| 120 | + |
Index: trunk/extensions/MetavidWiki/languages/MV_Messages.php |
— | — | @@ -241,7 +241,7 @@ |
242 | 242 | 'mv_error_stream_insert' => 'failed to insert stream', |
243 | 243 | 'mv_redirect_and_delete_reason' => 'removed redirect page', |
244 | 244 | 'mv_remove_reason' => 'Reason for deletion:', |
245 | | - 'mv_stream_delete_warrning' => '<b>Removing this stream will also remove $1 pieces of associative metadata</b><br />', |
| 245 | + 'mv_stream_delete_warrning' => "'''Removing this stream will also remove $1 {{PLURAL:$1|piece|pieces}} of associative metadata'''<br />", |
246 | 246 | |
247 | 247 | # stream type |
248 | 248 | 'mv_label_stream_type' => 'Stream type', |
— | — | @@ -249,7 +249,6 @@ |
250 | 250 | 'mv_metavid_live' => 'Set up live stream', |
251 | 251 | 'mv_upload_file' => 'Upload file', |
252 | 252 | 'mv_external_file' => 'External file', |
253 | | - 'mv_stream_delete_warning' => 'Deleting this stream will additionally remove $1 pages of metadata', |
254 | 253 | |
255 | 254 | # tools |
256 | 255 | 'mv_tool_search' => 'Search', |