Make readonly work for OOUI forms
[lhc/web/wiklou.git] / maintenance / getText.php
index 9c4bdfb..7d7c1cc 100644 (file)
@@ -52,7 +52,10 @@ class GetTextMaint extends Maintenance {
                        $titleText = $title->getPrefixedText();
                        $this->error( "Page $titleText does not exist.\n", true );
                }
-               $content = $rev->getContent( $this->hasOption( 'show-private' ) ? Revision::RAW : Revision::FOR_PUBLIC );
+               $content = $rev->getContent( $this->hasOption( 'show-private' )
+                       ? Revision::RAW
+                       : Revision::FOR_PUBLIC );
+
                if ( $content === false ) {
                        $titleText = $title->getPrefixedText();
                        $this->error( "Couldn't extract the text from $titleText.\n", true );