SUPPORT THE WORK

GetWiki

GetWiki:Custom Messages

ARTICLE SUBJECTS
aesthetics  →
being  →
complexity  →
database  →
enterprise  →
ethics  →
fiction  →
history  →
internet  →
knowledge  →
language  →
licensing  →
linux  →
logic  →
method  →
news  →
perception  →
philosophy  →
policy  →
purpose  →
religion  →
science  →
sociology  →
software  →
truth  →
unix  →
wiki  →
ARTICLE TYPES
essay  →
feed  →
help  →
system  →
wiki  →
ARTICLE ORIGINS
critical  →
discussion  →
forked  →
imported  →
original  →
edit index GetWiki:Custom Messages


Message Functions

In GetWiki, to create a new custom message, simply create a page in the GetWiki or "SupportB" namespaces (which is SOHOdb here, as we do not use "MediaWiki"), named "GetWiki:Message" or "SOHOdb:Message", which contains the text of the message. You might consider protecting the messages you create (if you have administrator privileges), and remember, each message needs a unique name with no special characters. As on this page, we can list custom messages so that readers can find them, or create new ones. There are also system messages available (see below), for day and time messages.

There are three ways to include custom messages in your article: subst and msg and msgnw. subst makes a copy of the message text and places it where you put the (can't find: GetWiki:message)
tag after you save an article (substitution), msg loads the message and puts it on the page every time you load it (transclusion), and msgnw does as well, except that the message is displayed in "nowiki" form.

When the message is updated, you do not need to update a page using it if you use msg or msgnw. As a guideline, short, time-sensitive messages which will be removed soon should be copied using subst (which has the advantage of showing the message in its wiki source), and standard notices which might remain on a page for months or forever should be transcluded for easy updating. (You should not use msg or msgnw forms for a message which contains links which may change in the future. This also will not refresh "What links here", unless every article containing the message is changed after the modification of the link within the message)

Custom Examples

(can't find: GetWiki:GetWiki:Protected)
For GetWiki, this article has been protected on behalf of its author. See GetMeta:Policy for details...
(can't find: GetWiki:GetWiki:Controversial)




This article may be considered controversial...


System Examples

12 12
12 12
Dec Dec
4 4
1 1
2023 2023
8:15 am, EST 8:15 am, EST
187 187
GetWiki GetWiki
GetWiki:Custom_Messages GetWiki:Custom_Messages


No "Templates"

Wikipedia, using MediaWiki software, has since moved all of its custom messages, which they now call "templates", to the Template: namespace. They are progressively changing all of their (can't find: GetWiki:Foo)
styled messages to {{Foo}} in articles, even as some realized the problem. Their changes require extra processing to render the new message code, and so it has been avoided in GetWiki.

But what do I do when I'm importing articles from Wikipedia?
  1. First, always evaluate pages when importing. We want cleanly coded articles on GetWiki, rather than broken, ugly pages.
  2. If an article you import needs a template used on Wikipedia, and some might, then look to see if it is already available to the right.
  3. If not, copy the wikitext of the template message and save it here in the GetWiki namespace (please don't create redirects, and there is no MediaWiki namespace here), so that Template:Foo on Wikipedia becomes GetWiki:Foo here.
  4. Change any {{Foo}} usage to (can't find: GetWiki:Foo)
    (which may in future be automated), or use "msgnw" or "subst", as explained above.
  5. Otherwise, GetWiki will ignore their new code, and no message will be displayed here.





Some content adapted from the Wikinfo article "Wikinfo:Editing/Custom Messages" under the GNU Free Documentation License.
edit index
[ last updated: 10:52am EDT - Sun, Jul 19 2009 ]
LATEST EDITS [ see all ]
GETWIKI 23 MAY 2022
GETWIKI 09 JUL 2019
Eastern Philosophy
History of Philosophy
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
CONNECT