mkroetzsch / AutoCreatePage

MediaWiki extension to create pages with a parser function
http://www.mediawiki.org/wiki/Extension:AutoCreatePage
GNU General Public License v2.0
6 stars 12 forks source link

New config variable $egAutoCreatePageNamespaces: replace $wgContentNa… #9

Closed oetterer closed 8 years ago

oetterer commented 8 years ago

…mespaces as valid points of origin

With this, you have more control over the namespaces, you can use the parser function on. Defaults to all content namespaces.

mkroetzsch commented 8 years ago

Thanks, merged.

s7eph4n commented 7 years ago

IMO this changes the interface of the extension and would have required either a fallback to $wgContentNamespaces (e.g. when !isset( $egAutoCreatePageNamespaces )) or a major version step.

It would also have been great if the new config var were documented in README.md

@oetterer Follow-up PR? ;-)

oetterer commented 7 years ago

But it defaults to $wgContentNamespaces (https://github.com/mkroetzsch/AutoCreatePage/blob/master/AutoCreatePage.php#L36). Isn't that sufficient?

And yes: I totall forgot to document. Will do asap.

s7eph4n commented 7 years ago

You are right! Sorry, I did not see that line. Thanks for #10 !