Add hidden title, would otherwise go to the main page with ugly urls for some reason
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 15 Jul 2009 06:26:49 +0000 (06:26 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 15 Jul 2009 06:26:49 +0000 (06:26 +0000)
includes/specials/SpecialAllmessages.php

index 8b0ff19..2090c9a 100644 (file)
@@ -52,6 +52,7 @@ class SpecialAllmessages extends SpecialPage {
                ksort( $languages );
                
                $out  = "<form method=\"get\" action=\"$url\"><fieldset>\n" .
+                       Xml::hidden( 'title', $this->getTitle() ) .
                                        Xml::element( 'legend', null, wfMsg( 'allmessages' ) ) . "<table><tr>\n" .
                                "<td class=\"mw-label\">" .
                        Xml::label( wfMsg('allmessages-prefix'), 'am-form-prefix' ) .