https://bugzilla.wikimedia.org/show_bug.cgi?id=22759

           Summary: different boilerplates per namespace
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: MultiBoilerplate
        AssignedTo: rob...@rhl.me.uk
        ReportedBy: mediawiki-b...@cboltz.de


Created an attachment (id=7184)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7184)
patch for per-namespace boilerplates

A customer requested to be able to define a different set of boilerplates per
namespace.

I implemented this by using Mediawiki:Multiboilerplate-<namespacenumber>, for
example Mediawiki:Multiboilerplate-12 contains page templates for the help
namespace. The main namespace still uses Mediawiki:Multiboilerplate (without
"-0").

Additionally I introduced a new config variable
    $wgMultiBoilerplatePerNamespace
to enable the per-namespace boilerplates (default is disabled for backwards
compatibility).

The patch for MultiBoilerplate.php is attached.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to