Last modified: 2008-09-16 19:34:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3906 - Automatic ("sticky") boilerplate message for sandbox
Automatic ("sticky") boilerplate message for sandbox
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
All All
: Low enhancement (vote)
: ---
Assigned To: Chad H.
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2005-11-08 05:31 UTC by Ryan
Modified: 2008-09-16 19:34 UTC (History)
0 users

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

SandboxMessage.php - Implements a mediawiki message on the project sandbox (1.27 KB, application/octet-stream)
2008-05-04 20:49 UTC, Chad H.
Oops, typo (1.27 KB, text/plain)
2008-05-04 20:51 UTC, Chad H.

Description Ryan 2005-11-08 05:31:15 UTC
Would like to see a Mediawiki:Sandbox automaticly included in the
Project:Sandbox as so you will not have to worry about the boilerplate being
deleted so often.
Comment 1 Rowan Collins [IMSoP] 2005-11-08 19:06:32 UTC
Hm... this kind of thing has been discussed before (at bug 1046) and it was
decided that it wasn't really worth building special functionality in just for a
sandbox. Even a "sticky template" of the kind you're suggesting would require
some kind of special status for a project's sandbox [or sandboxes?], which is
currently (as far as the software) just any old page. This would probably
require an additional setting somewhere to define where the sandbox resides (to
be adjustable per language and per wiki). And of course, you'd still have to
clear out the content *below* the boilerplate every now and then, manually or

That said, I'm not dead against this idea, so I won't close it *immediately*, in
case anyone cares to add further thoughts.

PS: For future reference, please try and make bug summaries a full summary of
the bug/feature request, not just a vague page title.
Comment 2 Rob Church 2006-07-05 22:42:21 UTC
No harm in having an extension for it...*cough*
Comment 3 Chad H. 2008-05-04 20:49:50 UTC
Created attachment 4876 [details]
SandboxMessage.php - Implements a mediawiki message on the project sandbox

This extension implements adding a MediaWiki message on top of the Project's Sandbox. Introduces two globals:

$wgSandboxNamespace - This specifies which namespace the sandbox is in. Defaults to NS_PROJECT.

$wgSandboxName - The name of the Sandbox. Defaults to 'Sandbox.'

The message (Mediawiki:$wgSandboxName) is applied before parse, making it a part of the content.
Comment 4 Chad H. 2008-05-04 20:51:44 UTC
Created attachment 4877 [details]
Oops, typo
Comment 5 Chad H. 2008-09-16 19:34:45 UTC
Extension comitted in r40928

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