Last modified: 2014-09-23 19:37:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24759, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22759 - different boilerplates per namespace
different boilerplates per namespace
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
MultiBoilerplate (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Robert Leverington
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-07 19:39 UTC by Christian Boltz
Modified: 2014-09-23 19:37 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
patch for per-namespace boilerplates (1.67 KB, patch)
2010-03-07 19:39 UTC, Christian Boltz
Details

Description Christian Boltz 2010-03-07 19:39:23 UTC
Created attachment 7184 [details]
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.
Comment 1 p858snake 2011-04-30 00:09:41 UTC
*Bulk BZ Change: +Patch to open bugs with patches attached that are missing the keyword*
Comment 2 Sumana Harihareswara 2011-12-23 18:11:01 UTC
Adding "need-review" keyword to indicate patch awaits review.  Regrets on the wait.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links