Reverted r111186, r111226: broken per CR
This commit is contained in:
parent
c760826b64
commit
dfb7d5d206
3 changed files with 6 additions and 7 deletions
1
CREDITS
1
CREDITS
|
|
@ -114,7 +114,6 @@ following names for their contribution to the product.
|
|||
* Harry Burt
|
||||
* Ireas
|
||||
* Jaska Zedlik
|
||||
* Jarry1250
|
||||
* Jeremy Baron
|
||||
* Jidanni
|
||||
* Jimmy Xu
|
||||
|
|
|
|||
|
|
@ -209,8 +209,8 @@ class ChangeTags {
|
|||
if ( !$wgUseTagFilter || !count( self::listDefinedTags() ) )
|
||||
return $fullForm ? '' : array();
|
||||
|
||||
$data = array( Html::rawElement( 'label', array( 'for' => 'tagfilter' ), wfMsgExt( 'tag-filter', 'parseinline' ),
|
||||
Xml::input( 'tagfilter', 20, $selected, array( 'class' => 'tagfilter-input' ) ) ) );
|
||||
$data = array( Html::rawElement( 'label', array( 'for' => 'tagfilter' ), wfMsgExt( 'tag-filter', 'parseinline' ) ),
|
||||
Xml::input( 'tagfilter', 20, $selected ) );
|
||||
|
||||
if ( !$fullForm ) {
|
||||
return $data;
|
||||
|
|
@ -219,7 +219,7 @@ class ChangeTags {
|
|||
$html = implode( ' ', $data );
|
||||
$html .= "\n" . Xml::element( 'input', array( 'type' => 'submit', 'value' => wfMsg( 'tag-filter-submit' ) ) );
|
||||
$html .= "\n" . Html::hidden( 'title', $title->getPrefixedText() );
|
||||
$html = Xml::tags( 'form', array( 'action' => $title->getLocalURL(), 'class' => 'tagfilter-form', 'method' => 'get' ), $html );
|
||||
$html = Xml::tags( 'form', array( 'action' => $title->getLocalURL(), 'method' => 'get' ), $html );
|
||||
|
||||
return $html;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -568,14 +568,14 @@ class SpecialRecentChanges extends IncludableSpecialPage {
|
|||
$submit = ' ' . Xml::submitbutton( wfMsg( 'allpagessubmit' ) );
|
||||
|
||||
$out = Xml::openElement( 'table', array( 'class' => 'mw-recentchanges-table' ) );
|
||||
foreach( $extraOpts as $name=>$optionRow ) {
|
||||
foreach( $extraOpts as $optionRow ) {
|
||||
# Add submit button to the last row only
|
||||
++$count;
|
||||
$addSubmit = ( $count === $extraOptsCount ) ? $submit : '';
|
||||
$addSubmit = $count === $extraOptsCount ? $submit : '';
|
||||
|
||||
$out .= Xml::openElement( 'tr' );
|
||||
if( is_array( $optionRow ) ) {
|
||||
$out .= Xml::tags( 'td', array( 'class' => 'mw-label ' . $name . '-label' ), $optionRow[0] );
|
||||
$out .= Xml::tags( 'td', array( 'class' => 'mw-label' ), $optionRow[0] );
|
||||
$out .= Xml::tags( 'td', array( 'class' => 'mw-input' ), $optionRow[1] . $addSubmit );
|
||||
} else {
|
||||
$out .= Xml::tags( 'td', array( 'class' => 'mw-input', 'colspan' => 2 ), $optionRow . $addSubmit );
|
||||
|
|
|
|||
Loading…
Reference in a new issue