Page MenuHomeMiraheze

Configuration request: $egAutoCreatePageNamespaces
Closed, ResolvedPublic

Description

This time, yours truly turned on the AutoCreatePage extension just for the sake of speeding up/automating redirect creation in FTA ("From the Author") pages. At this writing, ACP (as we'll henceforth abbreviate this tool's name) only works whenever placed in main-content (NS 0) pages. Since we're focusing on the FTA (3040) side of things here, here's a tip from MW.org themselves:

$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. An example for an alternative setting:

$egAutoCreatePageNamespaces = [
   NS_MAIN,
   NS_USER,
   NS_TEMPLATE,
   NS_CUSTOM
];

As such, we're easily proposing:

$egAutoCreatePageNamespaces = [
    NS_FROM_THE_AUTHOR
];

and calling it a day.

At this writing, the official upstream version of ACP is marked as "unstable" and hasn't received any updates since 2017; luckily, @Universal_Omega maintains a local rewritten version. This configuration case is no doubt unprecedented on Miraheze; bonus points if that goes through by tomorrow.


Also on this contributor's docket:

  • Semantic Result Formats (T9542)
  • Further details on the recent semantic DBQueryError (T9515)
  • mPDF test run ~ DocBookExport (T9582)

...not to mention support for musical scores (T5863), as well as subpage support in the Form namespace.

Event Timeline

Unknown Object (User) closed this task as Resolved.Aug 19 2022, 20:42
Unknown Object (User) claimed this task.
Unknown Object (User) removed a project: Extensions.

This should now be available in Special:ManageWiki/namespaces.

As a note, I am not 100% if it will work yet, until AutoCreatePage is updated to apply https://github.com/Universal-Omega/AutoCreatePage/pull/7, and also, in my version, the config name is prefixed by $wg rather than $eg.