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:
84ffa5d
)
SpecialWatchlist: Move title from form action to hidden input
author
Fomafix
<fomafix@googlemail.com>
Wed, 16 Dec 2015 11:43:21 +0000
(11:43 +0000)
committer
Fomafix
<fomafix@googlemail.com>
Thu, 13 Oct 2016 18:48:28 +0000
(20:48 +0200)
This is required to support installation without URL rewriting.
Bug: T121628
Change-Id: I4b5677062f46f1cc728ea31271c1f807af325b93
includes/specials/SpecialWatchlist.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialWatchlist.php
b/includes/specials/SpecialWatchlist.php
index
99f9c7c
..
4824961
100644
(file)
--- a/
includes/specials/SpecialWatchlist.php
+++ b/
includes/specials/SpecialWatchlist.php
@@
-618,9
+618,10
@@
class SpecialWatchlist extends ChangesListSpecialPage {
$form .= Xml::openElement( 'form', [
'method' => 'get',
- 'action' =>
$this->getPageTitle()->getLocalURL
(),
+ 'action' =>
wfScript
(),
'id' => 'mw-watchlist-form'
] );
+ $form .= Html::hidden( 'title', $this->getPageTitle()->getPrefixedText() );
$form .= Xml::fieldset(
$this->msg( 'watchlist-options' )->text(),
false,