Jump to content

Extension talk:AutoCreatePage

Add topic
From mediawiki.org
Latest comment: 10 months ago by Kghbln in topic Which repo to use?

Typo in Configuration manual?

[edit]

Are the configuration settings truly $eg[..] instead of $wg[..]? I'm a bit confused as to why it's written differently on here, when the Hooks.php all have the latter like all other configuration settings for MediaWiki do. Rasputin 93 (talk) 23:07, 4 January 2025 (UTC)Reply

Yes, indeed - it looks like the global variables were renamed four years ago, but no one bothered to update the documentation. Yaron Koren (talk) 16:17, 6 January 2025 (UTC)Reply
This is now fixed and added missing configuration Felipe (talk) 09:34, 7 January 2025 (UTC)Reply

Template example not working

[edit]

The template example

{{#createpageifnotex:
 Name of the page to create
 |<nowiki>{{TemplateName|parameter=value}}</nowiki>
}}

is not working for me (MW 1.39). It results in

<nowiki>expandedtemplatecontent
</nowiki>

and not in

{{TemplateName|parameter=value}}

as content of the page, as one should expect. Krabina (talk) 15:21, 19 August 2025 (UTC)Reply

The solution is to use
<nowiki>{{TemplateName|parameter=value}}</nowiki>
Krabina (talk) 15:30, 19 August 2025 (UTC)Reply

Which repo to use?

[edit]

There is now a collection of three code repositories available for this extension. They are all more or less active

To me it looks a bit messy. Can we have some kind of agreement on which repo to use in the future. [[kgh]] (talk) 09:43, 22 September 2025 (UTC)Reply

I have been told that the repo on Gerrit is the most recent. Okay, let's use that one. [[kgh]] (talk) 16:38, 22 September 2025 (UTC)Reply