Skip to content

Commit

Permalink
Merge pull request #10 from oetterer/patch-1
Browse files Browse the repository at this point in the history
Update README.md, documentation for $egAutoCreatePageNamespaces
  • Loading branch information
mkroetzsch authored May 27, 2017
2 parents ec9ae01 + 7bfc553 commit ffcc192
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Future versions might also work.
Configuration
-------------

The extension supports two configuration variables, that can be set in
The extension supports three configuration variables, that can be set in
LocalSettings.php.

`$egAutoCreatePageMaxRecursion`: The maximum recursion depth to which calls of
Expand All @@ -71,6 +71,13 @@ LocalSettings.php.
should be silently ignored. Default: false (will put an error message on the
wiki page).

`$egAutoCreatePageNamespaces`: The list of namespaces in which calls of
`createpageifnotex` are executed. If your call originates from a page not in
one of these namespaces, it gets ignored. Defaults to `$wgContentNamespaces`.
Example:
```php
$egAutoCreatePageNamespaces = [ NS_MAIN, NS_USER, NS_CUSTOM ];
```

Status
------
Expand Down

0 comments on commit ffcc192

Please sign in to comment.