dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Remove use of implicitGroupby() in WikiPage"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialNewpages.php
diff --git
a/includes/specials/SpecialNewpages.php
b/includes/specials/SpecialNewpages.php
index
ede4898
..
671ab6f
100644
(file)
--- a/
includes/specials/SpecialNewpages.php
+++ b/
includes/specials/SpecialNewpages.php
@@
-278,28
+278,23
@@
class SpecialNewpages extends IncludableSpecialPage {
}
);
$htmlForm->setMethod( 'get' );
}
);
$htmlForm->setMethod( 'get' );
-
- $out->addHTML( Xml::fieldset( $this->msg( 'newpages' )->text() ) );
-
+ $htmlForm->setWrapperLegend( true );
+ $htmlForm->setWrapperLegendMsg( 'newpages' );
+ $htmlForm->addFooterText( Html::rawElement(
+ 'div',
+ null,
+ $this->filterLinks()
+ ) );
$htmlForm->show();
$htmlForm->show();
-
- $out->addHTML(
- Html::rawElement(
- 'div',
- null,
- $this->filterLinks()
- ) .
- Xml::closeElement( 'fieldset' )
- );
}
/**
}
/**
- * @param stdClass $r
ow
Result row from recent changes
+ * @param stdClass $r
esult
Result row from recent changes
* @return Revision|bool
*/
protected function revisionFromRcResult( stdClass $result ) {
return new Revision( [
* @return Revision|bool
*/
protected function revisionFromRcResult( stdClass $result ) {
return new Revision( [
- 'comment' =>
$result->rc_commen
t,
+ 'comment' =>
CommentStore::newKey( 'rc_comment' )->getComment( $result )->tex
t,
'deleted' => $result->rc_deleted,
'user_text' => $result->rc_user_text,
'user' => $result->rc_user,
'deleted' => $result->rc_deleted,
'user_text' => $result->rc_user_text,
'user' => $result->rc_user,