Index: trunk/phase3/includes/SpecialNewpages.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | var $hidebots; |
19 | 19 | var $defaults; |
20 | 20 | |
21 | | - function NewPagesPage( $namespace, $username, $hideliu, $hidepatrolled, $hidebots, $defaults) { |
| 21 | + function NewPagesPage( $namespace=NS_MAIN, $username='', $hideliu=false, $hidepatrolled=false, $hidebots=false, $defaults=array()) { |
22 | 22 | $this->namespace = $namespace; |
23 | 23 | $this->username = $username; |
24 | 24 | $this->hideliu = $hideliu; |