r41847 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41846‎ | r41847 | r41848 >
Date:19:06, 8 October 2008
Author:stipe
Status:old
Tags:
Comment:
url_file path_type is selectable from MetavidWiki edit stream interface
Modified paths:
  • /trunk/extensions/MetavidWiki/includes/MV_EditStreamPage.php (modified) (history)
  • /trunk/extensions/MetavidWiki/languages/MV_Messages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/includes/MV_EditStreamPage.php
@@ -174,6 +174,8 @@
175175 $html .= '<option value="url_anx"' . $sel . '>' . wfMsg( 'mv_path_type_url_anx' ) . '</option>' .
176176 $sel = ( $sf['path_type'] == 'wiki_title' ) ? ' selected':'';
177177 $html .= '<option value="wiki_title"' . $sel . '>' . wfMsg( 'mv_path_type_wiki_title' ) . '</option>' .
 178+ $sel = ( $sf['path_type'] == 'url_file' ) ? ' selected':'';
 179+ $html .= '<option value="url_file"' . $sel . '>' . wfMsg( 'mv_path_type_url_file' ) . '</option>' .
178180 '</select></td>';
179181 $html .= '<td><input type="text" name="sf_' . htmlspecialchars( $sf['id'] ) . '[path]" value="' . htmlspecialchars( $sf['path'] ) . '" maxlength="250" size="50" />' .
180182 '<input type="hidden" name="sf_' . htmlspecialchars( $sf['id'] ) . '[stream_id]" value="' . htmlspecialchars( $sf['stream_id'] ) . '">' .
Index: trunk/extensions/MetavidWiki/languages/MV_Messages.php
@@ -49,6 +49,7 @@
5050 'mv_edit_stream_files' => 'Edit stream files',
5151 'mv_path_type_url_anx' => 'full media url',
5252 'mv_path_type_wiki_title' => 'wiki media title',
 53+ 'mv_path_type_url_file' => 'full media url using local seek',
5354 'mv_path_type_label' => 'path type',
5455 'mv_base_offset_label' => 'base offset',
5556 'mv_duration_label' => 'Duration',

Status & tagging log