Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8006
diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:48 PM
2014-11-21 23:48:34 (UTC+0)
Size
594 B
Referenced Files
None
Subscribers
None
diff
View Options
Index: HTMLForm.php
===================================================================
--- HTMLForm.php (revision 99130)
+++ HTMLForm.php (working copy)
@@ -1695,7 +1695,17 @@
} else {
$final = $this->getDefault();
- $list = $text = '';
+
+ $list = 'other';
+ $text = $final;
+ foreach ( $this->mFlatOptions as $option ) {
+ $match = $option . wfMsgForContent( 'colon-separator' );
+ if( strpos( $text, $match ) === 0 ) {
+ $list = $option;
+ $text = substr( $text, strlen( $match ) );
+ break;
+ }
+ }
}
return array( $final, $list, $text );
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7534
Default Alt Text
diff (594 B)
Attached To
Mode
T33405: Pre-load block reason
Attached
Detach File
Event Timeline
Log In to Comment