diff options
author | Chad Horohoe <demon@users.mediawiki.org> | 2009-08-02 21:42:47 +0000 |
---|---|---|
committer | Chad Horohoe <demon@users.mediawiki.org> | 2009-08-02 21:42:47 +0000 |
commit | 5ff7ffe312d2881725293deb994c863103923271 (patch) | |
tree | 4b31e1743f9db35638d4f67419bd913d2993376e /maintenance/edit.php | |
parent | 54faae5b1e177ad041c8f26dbd90facf1bf4b6c2 (diff) | |
download | mediawikicore-5ff7ffe312d2881725293deb994c863103923271.tar.gz mediawikicore-5ff7ffe312d2881725293deb994c863103923271.zip |
* Add way to get full input from stdin() without having to check the length
* Missing global
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/54239
Diffstat (limited to 'maintenance/edit.php')
-rw-r--r-- | maintenance/edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/edit.php b/maintenance/edit.php index 9fdce24fa077..704909adf731 100644 --- a/maintenance/edit.php +++ b/maintenance/edit.php @@ -61,7 +61,7 @@ class EditCLI extends Maintenance { $wgArticle = new Article( $wgTitle ); # Read the text - $text = $this->getStdin(); + $text = $this->getStdin( Maintenance::STDIN_ALL ); # Do the edit $this->output( "Saving... " ); |