dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0584339
)
LogEventsList: Use DerivativeContext
author
Prateek Saxena
<prtksxna@gmail.com>
Mon, 23 Jul 2018 04:22:36 +0000
(09:52 +0530)
committer
Prateek Saxena
<prtksxna@gmail.com>
Mon, 23 Jul 2018 04:22:36 +0000
(09:52 +0530)
Bug: T200136
Change-Id: Ie2b7753684dc0257b0b53d9c9314feeb14d99182
includes/logging/LogEventsList.php
patch
|
blob
|
history
diff --git
a/includes/logging/LogEventsList.php
b/includes/logging/LogEventsList.php
index
73aaa4f
..
c9a7299
100644
(file)
--- a/
includes/logging/LogEventsList.php
+++ b/
includes/logging/LogEventsList.php
@@
-170,7
+170,9
@@
class LogEventsList extends ContextSource {
$formDescriptor['subtype'] = $this->getActionSelectorDesc( $types, $action );
}
- $htmlForm = new HTMLForm( $formDescriptor, $this->getContext() );
+ $context = new DerivativeContext( $this->getContext() );
+ $context->setTitle( $title ); // Remove subpage
+ $htmlForm = new HTMLForm( $formDescriptor, $context );
$htmlForm
->setSubmitText( $this->msg( 'logeventslist-submit' )->text() )
->setMethod( 'get' )