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
Special:Watchlist: Add user preference to "Show last" options, fix float comparison
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialComparePages.php
diff --git
a/includes/specials/SpecialComparePages.php
b/includes/specials/SpecialComparePages.php
index
fc6b0c5
..
0f8b729
100644
(file)
--- a/
includes/specials/SpecialComparePages.php
+++ b/
includes/specials/SpecialComparePages.php
@@
-43,17
+43,19
@@
class SpecialComparePages extends SpecialPage {
/**
* Show a form for filtering namespace and username
*
/**
* Show a form for filtering namespace and username
*
- * @param
$par String
- * @return
S
tring
+ * @param
string $par
+ * @return
s
tring
*/
public function execute( $par ) {
$this->setHeaders();
$this->outputHeader();
*/
public function execute( $par ) {
$this->setHeaders();
$this->outputHeader();
+ # Form (.mw-searchInput enables suggestions)
$form = new HTMLForm( array(
'Page1' => array(
'type' => 'text',
'name' => 'page1',
$form = new HTMLForm( array(
'Page1' => array(
'type' => 'text',
'name' => 'page1',
+ 'cssclass' => 'mw-searchInput',
'label-message' => 'compare-page1',
'size' => '40',
'section' => 'page1',
'label-message' => 'compare-page1',
'size' => '40',
'section' => 'page1',
@@
-70,6
+72,7
@@
class SpecialComparePages extends SpecialPage {
'Page2' => array(
'type' => 'text',
'name' => 'page2',
'Page2' => array(
'type' => 'text',
'name' => 'page2',
+ 'cssclass' => 'mw-searchInput',
'label-message' => 'compare-page2',
'size' => '40',
'section' => 'page2',
'label-message' => 'compare-page2',
'size' => '40',
'section' => 'page2',