Difference between revisions of "Sandbox"

From MusicBrainz Wiki
Jump to navigationJump to search
m (30 revision(s))
 
(25 intermediate revisions by 9 users not shown)
Line 1: Line 1:
  +
[[Category:Wiki]]
==Status Notifications (testing)==
 
   
  +
''This is a wiki sandbox.''
Hard borders:
 
  +
[[mbdoc:ke]]
{| border="1"
 
  +
[[ab:ke]]
  +
  +
  +
This is a test of the <s>emergency broadcast</s> documentation caching system.
  +
  +
[[Non-existant_page]]
  +
  +
[[MB:WikiDocs]]
  +
  +
[[Media:metatool-0.24.pl|Direct download link]]
  +
  +
== Tables (H2) ==
  +
  +
{| class="tbl"
  +
! Release !! Fôrmat !! Tracks !! Date !! Country !! Label !! Catalog# !! Barcode
 
|-
 
|-
  +
| [[Release:47981fc6-1e9f-3399-ae95-5c0e214fc6f9|Frances the Mute]] || CD || 12 || 2005-02-21 || XE || [[Label:590538e9-b183-4163-ab5a-171fb021ed12|Universal Records]] || 075021039773 || 075021039773
| Status: [[Deprecated Style Guideline|deprecated]]
 
|}
 
{| border="1"
 
 
|-
 
|-
  +
| [[Release:82d66789-3ca5-34bc-b9f3-0a08881f7ef4|Frances the Mute]] || CD || 12 || 2005-02-28 || AU || [[Label:590538e9-b183-4163-ab5a-171fb021ed12|Universal Records]] || 2103977 || 075021039773
| Status: [[Confused Style Guideline|confused]] ;-)
 
|}
 
{| border="1"
 
 
|-
 
|-
  +
| [[Release:e94419f0-b909-4f0b-8aa5-0489fcb093c4|Frances the Mute]] || CD || 12 || 2005-03-01 || US || [[Label:6b840146-af37-4a22-ad66-eafd43e3414a|Gold Standard Laboratories]] || ||
| Status: [[Official Style Guideline|official]]
 
 
|}
 
|}
  +
{| border="1"
 
  +
===Artists (H3)===
  +
  +
The artist index contains the following fields you can search:
  +
{| border="1" class="wikitable"
  +
|+ The table's caption!
  +
! field !! Description
 
|-
 
|-
  +
! arid
| Status: [[Transition Style Guideline|transition]]
 
  +
| artist id
|}
 
{| border="1"
 
 
|-
 
|-
  +
! artist
| Status: [[Draft Style Guideline|draft]]
 
  +
| artist name
|}
 
  +
|-
{| border="1"
 
  +
! sortname
  +
| artist sortname
 
|-
 
|-
  +
! alias
| Status: [[Obsolete Style Guideline|obsolete]]
 
  +
| the aliases/misspellings for this artist
 
|}
 
|}
   
  +
Artist search terms with no fields specified search the ''artist'', ''sortname'' and ''alias'' fields.
Coloured borders (making my eyes start spinning):
 
  +
{| border="1"
 
  +
===Releases (H3)===
  +
  +
The release index contains these fields:
  +
{| border=1 class="wikitable"
 
|-
 
|-
  +
! field''' !! Description
| deprecated
 
|}
 
{| border="1"
 
 
|-
 
|-
  +
| reid || release id
| confused ;-)
 
|}
 
{| border="1"
 
 
|-
 
|-
  +
| release || release name
| official
 
|}
 
{| border="1"
 
 
|-
 
|-
  +
| arid || artist id
| transition
 
|}
 
{| border="1"
 
 
|-
 
|-
  +
| catno || The catalog number for this release
| draft
 
|}
 
{| border="1"
 
 
|-
 
|-
  +
| barcode || The barcode in a release event attached to a release
| obsolete
 
 
|}
 
|}
   
Hideous isn't it? ...but at least it will get noticed...
 
   
  +
== Lists (H2) ==
Card:
 
----
 
   
  +
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin venenatis, turpis quis rhoncus dignissim, orci tortor faucibus mi, at facilisis augue enim non erat. Aliquam pharetra tincidunt tortor, eu hendrerit ipsum lobortis quis. Mauris at lacus enim.
 
   
==Some Other Stuff :-P==
+
=== Ordered (H3) ===
   
  +
# Foo
#language de [[Image:Idea.png]] [[Image:Alert.png]] [[Image:Attention.png]] :o :( :) :D
 
  +
## Foobar
  +
##* Foobarbaz
  +
##* Foobarbaz
  +
## Foobar
  +
### FooBaz
  +
### FooBaz
  +
###* Foobarbaz
  +
###* Foobarbaz
  +
### FooBaz
  +
## Foobar
  +
## Foobar
  +
# Bar
  +
## Barfoo
  +
## Barfoo
  +
# Baz
  +
#* Bazbar
  +
# Foobaz
   
  +
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin venenatis, turpis quis rhoncus dignissim, orci tortor faucibus mi, at facilisis augue enim non erat. Aliquam pharetra tincidunt tortor, eu hendrerit ipsum lobortis quis. Mauris at lacus enim.
@<code><nowiki></nowiki></code>SIG@
 
   
===Stuff to Incude===
+
==== Unordered (H4) ====
 
Bla, Bubb [http://www.ge.com http://www.ge.com] ....
 
 
[[Doc:HowToTagFilesWithPicard|HowToTagFilesWithPicard]]
 
 
dfghdfghgrtzt
 
==And here we go:==
 
 
{{Include|Sandbox||from="^=== Stuff to Incude ===$"| to="##Stop"}}
 
 
[[[[Subscribed Pages|SubscribedPages]]]]
 
 
[[This Bad Link No Good|ThisBadLinkNoGood]]
 
 
[[Sandbox/Rst|/Rst]]
 
 
----
 
 
{{TitleSearch|regex:^CapitalizationStandard}}
 
----
 
 
The [[MusicBrainz Wiki|MusicBrainzWiki]] is a dynamic and growing information resource to help you understand [[MusicBrainz]], learn how to use it and contribute to it more effectively, and to help shape the direction it takes into the future. It complements the other [[MusicBrainz Forums|MusicBrainzForums]], being
 
 
used for collaboration on detailed and specific discussions about [[MusicBrainz]] and documentation of the [[MusicBrainz]] community, conventions, interfaces, and internals.The [[MusicBrainz Wiki|MusicBrainzWiki]] is a dynamic and growing information resource to help you understand [[MusicBrainz]], learn how to use it and contribute to it more effectively, and to help shape the direction it takes into the future. It complements the other [[MusicBrainz Forums|MusicBrainzForums]], being used for collaboration on detailed and specific discussions about [[MusicBrainz]]
 
 
<hr>
 
 
and documentation of the [[MusicBrainz]] community, conventions, interfaces, and internals.The [[MusicBrainz Wiki|MusicBrainzWiki]] is a dynamic and growing information resource to help you understand [[MusicBrainz]], learn how to use it and contribute to it more effectively, and to help shape the direction it takes into the future. It complements the other [[MusicBrainz Forums|MusicBrainzForums]], being used for collaboration on detailed and specific discussions about [[MusicBrainz]] and documentation of the [[MusicBrainz]] community, conventions, interfaces, and internals.
 
 
[[This Good Link Bad Too|ThisGoodLinkBadToo]]
 
 
==InterWiki Stuff==
 
 
[[Artist:3997d4a6-c2bd-4191-8406-eb07f0abb5d2|Saint Etienne]] released [[Track:bab7f033-b84b-4aed-bec8-238515ef83dd|Stars Above Us]] on the album [[Album:fc7863cb-90dd-4f74-b7c1-571b0404ed22|Tales From Turnpike House]]. Added by [[Editor:kyoukoku|wiki:Editor:kyoukoku]] [[Edit:2921225|here]].
 
 
[[Ticket:77|77]] [[MBWiki:HomePage|HomePage]] [[Doc:AboutMusicBrainz|AboutMusicBrainz]]
 
 
[[Label:19a8917c-24f5-4f6e-97bf-c17d31663938|Blue Note]]
 
 
Test Test Test!!!
 
 
==Macro test==
 
 
{| border="1"
 
|-
 
| Buttons || {{MiniPage| * Redo\n * Undo}}{{MiniPage| * Quit}}
 
|-
 
| Section || {{MiniPage|= heading 1 =}}{{MiniPage|== heading 2 ==}}
 
|}
 
   
  +
* Foo
==Card macro test==
 
  +
** Foobar
  +
** Foobar
  +
*** Foobarbaz
  +
** Foobar
  +
* Bar
  +
*# Barbaz
  +
*#* Barfoobaz
  +
*# Barbaz
  +
*## Barbazfoo
  +
*## Barbazfoo
   
  +
===== Misc (H5) =====
 
   
  +
* Baz
{{WikiDocsPageMonitoredBy|murdos}}
 
  +
** Bazfoo
   
  +
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin venenatis, turpis quis rhoncus dignissim, orci tortor faucibus mi, at facilisis augue enim non erat. Aliquam pharetra tincidunt tortor, eu hendrerit ipsum lobortis quis. Mauris at lacus enim.
==macros==
 
   
  +
== DTs and DDs (H2) ==
<code><nowiki>[[DateTime]]</nowiki></code> changes with every edit: {{DateTime}}
 
   
  +
===Artists (H3) ===
so use @<code><nowiki></nowiki></code>TIME@ : 16:08, 21 November 2007 (UTC)
 
   
  +
; tori amos
The German word for Sandbox is {{GetVal|GermanDict|Sandbox}}.
 
  +
: search artist, sortname and alias fields
  +
:; comment electronic
  +
:: search for the word ''electronic'' in artist disambiguation (comment) fields
  +
: begin:1984 AND type:group
  +
:: search for all groups formed in 1984
   
  +
===Releases (H3) ===
I declare this a test. -- [[User:FauxFaux|FauxFaux]] 12:31, 12 May 2008 (UTC)
 
   
  +
;'''café del mar'''
@<code><nowiki></nowiki></code>SIG@
 
  +
: search for all ''Café del Mar'' albums
  +
;'''"the understanding" AND artist:royksopp'''
  +
: search for the album ''The Understanding'' by the artist ''Röyksopp''
  +
;'''date:1999 AND country:de AND rock'''
  +
: search for releases from Germany in 1999
  +
:: with the word ''rock'' in them
   
  +
== Pres & codes ==
-- [[atwupack]] 18:51, 10 July 2008 (UTC)
 
  +
In mbserver's home directory <code>is a directory called ''svn''</code>. This contains the latest MusicBrainz server code at the time of release. To make sure you have an <code>up-to-date</code> copy:
   
  +
<pre>mbserver@brainzvm:~/svn/mb_server$ su -
Well, @"SIG"@ should work in the preview: -- [[Jonny JD|JonnyJD]] 18:59, 21 July 2008 (UTC) 18:59, 21 July 2008 (UTC) How should I see it is working otherwise.. (it works like that in [[Media Wiki|MediaWiki]] ;-)
 
  +
Password:
  +
brainzvm:~# /etc/init.d/apache-perl stop
  +
Stopping web server: apache-perl.
  +
brainzvm:~# exit
   
  +
mbserver@brainzvm:~/svn/mb_server$ dropdb -U postgres musicbrainz_db
[[Category:To Be Reviewed]]
 
  +
DROP DATABASE
  +
mbserver@brainzvm:~/svn/mb_server$ dropdb -U postgres musicbrainz_db_raw
  +
DROP DATABASE
  +
mbserver@brainzvm:~/svn/mb_server$ ./admin/InitDb.pl --createdb --echo --import -- --tmp-dir=/mnt/data/tmp ~/mbdump*.tar.bz2
  +
<snip> -- Go get some coffee and a book, cause this'll take at least an hour to run.
  +
Fri Oct 21 21:11:56 2005 : Initialized and imported data into the database.
  +
Fri Oct 21 21:11:56 2005 : InitDb.pl succeeded
  +
mbserver@brainzvm:~$ su -
  +
Password:
  +
brainzvm:~# /etc/init.d/apache-perl start
  +
Starting web server: apache-perl.
  +
brainzvm:~# exit
  +
</pre>

Latest revision as of 22:20, 22 February 2020


This is a wiki sandbox. mbdoc:ke


This is a test of the emergency broadcast documentation caching system.

Non-existant_page

MB:WikiDocs

Direct download link

Tables (H2)

Release Fôrmat Tracks Date Country Label Catalog# Barcode
Frances the Mute CD 12 2005-02-21 XE Universal Records 075021039773 075021039773
Frances the Mute CD 12 2005-02-28 AU Universal Records 2103977 075021039773
Frances the Mute CD 12 2005-03-01 US Gold Standard Laboratories

Artists (H3)

The artist index contains the following fields you can search:

The table's caption!
field Description
arid artist id
artist artist name
sortname artist sortname
alias the aliases/misspellings for this artist

Artist search terms with no fields specified search the artist, sortname and alias fields.

Releases (H3)

The release index contains these fields:

field Description
reid release id
release release name
arid artist id
catno The catalog number for this release
barcode The barcode in a release event attached to a release


Lists (H2)

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin venenatis, turpis quis rhoncus dignissim, orci tortor faucibus mi, at facilisis augue enim non erat. Aliquam pharetra tincidunt tortor, eu hendrerit ipsum lobortis quis. Mauris at lacus enim.

Ordered (H3)

  1. Foo
    1. Foobar
      • Foobarbaz
      • Foobarbaz
    2. Foobar
      1. FooBaz
      2. FooBaz
        • Foobarbaz
        • Foobarbaz
      3. FooBaz
    3. Foobar
    4. Foobar
  2. Bar
    1. Barfoo
    2. Barfoo
  3. Baz
    • Bazbar
  4. Foobaz

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin venenatis, turpis quis rhoncus dignissim, orci tortor faucibus mi, at facilisis augue enim non erat. Aliquam pharetra tincidunt tortor, eu hendrerit ipsum lobortis quis. Mauris at lacus enim.

Unordered (H4)

  • Foo
    • Foobar
    • Foobar
      • Foobarbaz
    • Foobar
  • Bar
    1. Barbaz
      • Barfoobaz
    2. Barbaz
      1. Barbazfoo
      2. Barbazfoo
Misc (H5)
  • Baz
    • Bazfoo

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin venenatis, turpis quis rhoncus dignissim, orci tortor faucibus mi, at facilisis augue enim non erat. Aliquam pharetra tincidunt tortor, eu hendrerit ipsum lobortis quis. Mauris at lacus enim.

DTs and DDs (H2)

Artists (H3)

tori amos
search artist, sortname and alias fields
comment electronic
search for the word electronic in artist disambiguation (comment) fields
begin:1984 AND type:group
search for all groups formed in 1984

Releases (H3)

café del mar
search for all Café del Mar albums
"the understanding" AND artist:royksopp
search for the album The Understanding by the artist Röyksopp
date:1999 AND country:de AND rock
search for releases from Germany in 1999
with the word rock in them

Pres & codes

In mbserver's home directory is a directory called svn. This contains the latest MusicBrainz server code at the time of release. To make sure you have an up-to-date copy:

mbserver@brainzvm:~/svn/mb_server$ su -
Password:
brainzvm:~# /etc/init.d/apache-perl stop
Stopping web server: apache-perl.
brainzvm:~# exit

mbserver@brainzvm:~/svn/mb_server$ dropdb -U postgres musicbrainz_db
DROP DATABASE
mbserver@brainzvm:~/svn/mb_server$ dropdb -U postgres musicbrainz_db_raw
DROP DATABASE
mbserver@brainzvm:~/svn/mb_server$ ./admin/InitDb.pl --createdb --echo --import  -- --tmp-dir=/mnt/data/tmp ~/mbdump*.tar.bz2
<snip> -- Go get some coffee and a book, cause this'll take at least an hour to run.
Fri Oct 21 21:11:56 2005 : Initialized and imported data into the database.
Fri Oct 21 21:11:56 2005 : InitDb.pl succeeded
mbserver@brainzvm:~$ su -
Password:
brainzvm:~# /etc/init.d/apache-perl start
Starting web server: apache-perl.
brainzvm:~# exit