summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialPageLanguage.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specials/SpecialPageLanguage.php')
-rw-r--r--includes/specials/SpecialPageLanguage.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/includes/specials/SpecialPageLanguage.php b/includes/specials/SpecialPageLanguage.php
index 79b2444e..6756f274 100644
--- a/includes/specials/SpecialPageLanguage.php
+++ b/includes/specials/SpecialPageLanguage.php
@@ -87,11 +87,14 @@ class SpecialPageLanguage extends FormSpecialPage {
}
protected function postText() {
- return $this->showLogFragment( $this->par );
+ if ( $this->par ) {
+ return $this->showLogFragment( $this->par );
+ }
+ return '';
}
protected function getDisplayFormat() {
- return 'vform';
+ return 'ooui';
}
public function alterForm( HTMLForm $form ) {