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
Switch some HTMLForms in special pages to OOUI
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialPageLanguage.php
diff --git
a/includes/specials/SpecialPageLanguage.php
b/includes/specials/SpecialPageLanguage.php
index
79b2444
..
6756f27
100644
(file)
--- a/
includes/specials/SpecialPageLanguage.php
+++ b/
includes/specials/SpecialPageLanguage.php
@@
-87,11
+87,14
@@
class SpecialPageLanguage extends FormSpecialPage {
}
protected function postText() {
}
protected function postText() {
- return $this->showLogFragment( $this->par );
+ if ( $this->par ) {
+ return $this->showLogFragment( $this->par );
+ }
+ return '';
}
protected function getDisplayFormat() {
}
protected function getDisplayFormat() {
- return '
vform
';
+ return '
ooui
';
}
public function alterForm( HTMLForm $form ) {
}
public function alterForm( HTMLForm $form ) {