Make sure Swift store operations close the source file handle
[lhc/web/wiklou.git] / includes / specials / SpecialBooksources.php
index 2fef725..72e0b88 100644 (file)
@@ -133,7 +133,9 @@ class SpecialBookSources extends SpecialPage {
                        ],
                ];
 
-               HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() )
+               $context = new DerivativeContext( $this->getContext() );
+               $context->setTitle( $this->getPageTitle() );
+               HTMLForm::factory( 'ooui', $formDescriptor, $context )
                        ->setWrapperLegendMsg( 'booksources-search-legend' )
                        ->setSubmitTextMsg( 'booksources-search' )
                        ->setMethod( 'get' )