Difference between revisions of "Sandbox"
((Imported from MoinMoin)) |
|||
(123 intermediate revisions by 20 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Wiki]] |
||
− | [[User:DonRedman|DonRedman]] is testing [[Sub Page|SubPage]]s |
||
+ | ''This is a wiki sandbox.'' |
||
− | [[Sandbox/David Bowie|'''Bowie''', David]] |
||
+ | [[mbdoc:ke]] |
||
+ | [[ab:ke]] |
||
− | [[Sandbox/David Bowie|DavidBowie]] |
||
+ | This is a test of the <s>emergency broadcast</s> documentation caching system. |
||
− | [[Sandbox/David Bowie|/DavidBowie]] |
||
+ | [[Non-existant_page]] |
||
− | [[Sand Box/David Bowie|SandBox/DavidBowie]] |
||
+ | [[MB:WikiDocs]] |
||
− | [[Sandbox/Ac Dc|AC/DC]] |
||
+ | [[Media:metatool-0.24.pl|Direct download link]] |
||
− | [[/ACDC]] |
||
+ | == Tables (H2) == |
||
− | [[/Page]] |
||
+ | {| class="tbl" |
||
− | and [[Sandbox/Another Sub Page|/AnotherSubPage]] |
||
+ | ! Release !! Fôrmat !! Tracks !! Date !! Country !! Label !! Catalog# !! Barcode |
||
− | <ul><li style="list-style-type:none">''It's kind of annoying, actually, since we don't actually '''use''' [[Sub Page|SubPage]]s, but all sorts of stuff gets marked as sub-page links that shouldn't be, like GNU/Linux, On/Off. Is there some way to turn [[Sub Page|SubPage]] support off?'' [[User:Dupuy|@alex]] |
||
+ | |- |
||
− | </ul> |
||
+ | | [[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 |
||
+ | |- |
||
+ | | [[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 |
||
+ | |- |
||
+ | | [[Release:e94419f0-b909-4f0b-8aa5-0489fcb093c4|Frances the Mute]] || CD || 12 || 2005-03-01 || US || [[Label:6b840146-af37-4a22-ad66-eafd43e3414a|Gold Standard Laboratories]] || || |
||
+ | |} |
||
+ | ===Artists (H3)=== |
||
− | ---- |
||
+ | The artist index contains the following fields you can search: |
||
− | |||
+ | {| border="1" class="wikitable" |
||
− | |||
+ | |+ The table's caption! |
||
− | [[User:Dupuy|@alex]] is testing anchors |
||
+ | ! field !! Description |
||
− | |||
− | <span id="anchor"></span> --anchor here |
||
− | |||
− | <span id="anchor2 test"></span> -- anchor2 here |
||
− | |||
− | [http:#anchor test] -- relative anchor ref here |
||
− | |||
− | [http://wiki.musicbrainz.org/wiki.pl?Sandbox#anchor test2] -- absolute anchor ref here |
||
− | |||
− | [[anchor]] |
||
− | |||
− | ---- |
||
− | |||
− | |||
− | |||
− | [[User:DonRedman|DonRedman]] is testing long links with spaces: |
||
− | |||
− | Don'tDoStupidThings |
||
− | |||
− | [[Don't Do Stupid Things]] |
||
− | |||
− | [[Dont Do Stupid Things|Don't do stupid things]] |
||
− | |||
− | [Don't Do Stupid Things] |
||
− | |||
− | [[Dont Do Stupid Things| | Don't do stupid things]] |
||
− | |||
− | ---- |
||
− | |||
− | |||
− | |||
− | [[User:Dupuy|@alex]] is testing [[Back Link|BackLink]]-preventing hacks: |
||
− | |||
− | [http:?CategoryWiki CategoryWiki] -- this external link still shows up in backlink |
||
− | |||
− | [http:?Candidate%46orDeletion CandidateForDeletion] -- this one doesn't (although if you click through it, it does show up "funny" (with %46 instead of F) in the browser location display). |
||
− | |||
− | [http:?CandidateForDeletion CandidateForDeletion] -- doesn't either, and has no funny % when you click through |
||
− | |||
− | ---- |
||
− | |||
− | |||
− | |||
− | [[User:Dupuy|@alex]] is testing tables |
||
− | {| border="1" |
||
|- |
|- |
||
+ | ! arid |
||
− | | Header Left || Header Right |
||
+ | | artist id |
||
|- |
|- |
||
+ | ! artist |
||
− | | Value left || Value right |
||
+ | | 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: |
||
− | [[User:mo|mo]] is testing unicode |
||
+ | {| border=1 class="wikitable" |
||
− | |||
− | ƒIƒŒƒ“ƒWƒŒƒ“ƒW |
||
− | <ul><li style="list-style-type:none">mo, have you tried setting your browser to ISO-8869-1? I get the same as you if I set the page to shift JIS before pasting Japanese. UTF-8 comes out all funky, but ISO-8859-1 works. --[[User:Kiara|Kiara]] kiara, I think that my problem might stem from XP and it's inherant 'not handling unicode well'-nes. |
||
− | </ul> |
||
− | |||
− | because no matter what I try I cannot seem to get it to work here on my mom's laptop ;) I am certain, was it my own trusty ME machine, it would have worked like a charm. I tried copying and pasting, changing the setting as I go, tried setting it to 'unicode' before I copied, to JIS for japanese, etc, and nothing works, it turns up the garbagled encoding that is really similar to the old 'misencoded' freeDB entries. If set the page to JIS japanese (actually I use 'auto-select Japanese, but it amounts to the same thing) I see the entry fine. But it doesn't work as unicode insertion. Unfortunately since I run IE (which has worked fine with unicode on my own comp) I have names with (DOS) or (ISO) or (WINDOWS) or etc next to them, but not the numbers you suggested. Which encoding would that be in IE's language, if you know? |
||
− | <ul><li style="list-style-type:none">Apparently it's "Western European (ISO)" (which makes sense, -1 covers western Europe). --[[User:Kiara|Kiara]] |
||
− | </ul> |
||
− | |||
− | lemme see if this works (its thai) ÊÇÑʴդس¢¹ÁÁÑ¿¿Ô¹µÐ»ÙËÁØ´ÂÖ´·ÕèÁÕàʹèËì´Ö§´Ù´�DÍѹµÃÒÂgimmeá»Å¡¹éÍÂÁÒ¡. |
||
− | |||
− | that's odd.. it worked on [[Online Translator|OnlineTranslator]] ?? [[User:mo|mo]] |
||
− | |||
− | 繁體中文版 |
||
− | |||
− | ---- |
||
− | |||
− | |||
− | |||
− | [[User:azertus|azertus]] is testing a different [[Table Layout|TableLayout]] for the [[Country Code|CountryCode]] page |
||
− | {| border="1" |
||
|- |
|- |
||
+ | ! field''' !! Description |
||
− | | AD || [[Image:an-flag.gif]] || [[Image:ad.gif]] || Andorra || [[Image:AD.gif]] |
||
|- |
|- |
||
+ | | reid || release id |
||
− | | AE || [[Image:ae-flag.gif]] || [[Image:ae.gif]] || United Arab Emirates || [[Image:AE.gif]] || [[Image:AE.png]] || [[Image:ae.png]] |
||
|- |
|- |
||
+ | | release || release name |
||
− | | AF || [[Image:af-flag.gif]] || [[Image:af-flag.gif]] || Afghanistan || [[Image:AF.gif]] || [[Image:AF.png]] |
||
|- |
|- |
||
+ | | arid || artist id |
||
− | | AG || [[Image:ac-flag.gif]] || [[Image:ag.gif]] || Antigua and Barbuda || [[Image:AG.gif]] |
||
|- |
|- |
||
+ | | catno || The catalog number for this release |
||
− | | AI || [[Image:av-flag.gif]] || [[Image:ai.gif]] || Anguilla || [[Image:AI.gif]] |
||
|- |
|- |
||
+ | | barcode || The barcode in a release event attached to a release |
||
− | | AL || [[Image:al-flag.gif]] || [[Image:al.gif]] || Albania || [[Image:AL.gif]] |
||
− | |- |
||
− | | AM || [[Image:am-flag.gif]] || [[Image:am.gif]] || Armenia || [[Image:AM.gif]] || || [[Image:am.png]] |
||
− | |- |
||
− | | AN || [[Image:nt-flag.gif]] || [[Image:an.gif]] || Netherlands Antilles || [[Image:AN.gif]] |
||
− | |- |
||
− | | AO || [[Image:ao-flag.gif]] || [[Image:ao.gif]] || Angola || [[Image:AO.gif]] |
||
|} |
|} |
||
− | ---- |
||
− | |||
− | |||
− | |||
− | [[User:Dupuy|@alex]] is testing formatting differences between [[Use Mod|UseMod]] and [[Moin Moin|MoinMoin]] |
||
− | |||
− | [[Use Mod|UseMod]] style: |
||
− | * UseMod |
||
− | * Number 1 |
||
− | * [[Use Mod|UseMod]]: |
||
− | <ul><li style="list-style-type:none">is one of many [[Wiki Name|WikiName]]s |
||
− | </ul> |
||
− | |||
− | <code><nowiki> monospaced </nowiki></code> and '''bold''' text |
||
− | |||
− | [[Funny]] wiki name |
||
− | |||
− | [[Camel Case Wiki Name|piped wiki links]] |
||
− | |||
− | [[Moin Moin|MoinMoin]] style |
||
− | |||
− | <pre>* !MoinMoin |
||
− | </pre> |
||
− | |||
− | <pre>1 Number 1 |
||
− | </pre> |
||
− | |||
− | <pre>MoinMoin:: is one of many WikiNames |
||
− | </pre> |
||
− | |||
− | <code><nowiki>monospaced</nowiki></code> and '''bold''' text |
||
− | |||
− | [[Funny]] wiki name |
||
− | |||
− | [[Camel Case Wiki Name|piped wiki links]] (don't quite work right, as you still get icon) |
||
− | |||
− | ---- |
||
− | |||
− | |||
− | |||
− | [[User:JohnCarter|JohnCarter]] is testing [[Use Mod|UseMod]] vs [[Moin Moin|MoinMoin]] linking. Don's & Dupuy's examples are handy! |
||
− | |||
− | The markup below all works correctly on [[Use Mod|UseMod]]. Hopefully, all these things will be translated correctly to [[Moin Moin|MoinMoin]]. |
||
− | |||
− | [http://www.musicbrainz.org http://www.musicbrainz.org] -- url |
||
− | |||
− | [http://www.musicbrainz.org a labelled URL] -- non-piped labelled url |
||
− | |||
− | [http://www.musicbrainz.org| a labelled URL] -- piped labelled url |
||
− | |||
− | [[Wiki]] -- odd wiki name |
||
− | |||
− | [[MusicBrainz|Piped wiki link]] -- piped wiki link |
||
− | |||
− | <span id="anchor"></span> --anchor here |
||
− | |||
− | [http:#anchor test] -- relative anchor ref here |
||
− | |||
− | [http://wiki.musicbrainz.org/wiki.pl?Sandbox#anchor test2] -- absolute anchor ref here |
||
− | |||
− | ---- |
||
− | |||
− | |||
− | |||
− | ==Foo bar!== |
||
− | |||
− | =1= ==2== ===3<hr>4==== |
||
− | =1= |
||
− | |||
− | ==2== |
||
− | == |
+ | == 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. |
||
− | ====4==== |
||
+ | === Ordered (H3) === |
||
− | 'one ap' ''two aps'' '''three aps''' ''''four aps'''' |
||
+ | # Foo |
||
− | List, maybe? |
||
+ | ## Foobar |
||
− | * 1 |
||
+ | ##* Foobarbaz |
||
− | * 2 |
||
+ | ##* Foobarbaz |
||
− | ** 22 |
||
+ | ## Foobar |
||
− | ** 23 |
||
+ | ### 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. |
||
− | * 3 |
||
− | * 1 |
||
− | * 2 |
||
− | ** 21 |
||
− | ** 22 |
||
+ | ==== Unordered (H4) ==== |
||
− | * 3 |
||
− | * 1 |
||
− | ** 2 |
||
− | *** 3 |
||
− | **** 4 |
||
− | ***** 5 |
||
− | ****** 6 |
||
− | ******* 7 |
||
− | ******** 8 |
||
− | ********* 9 |
||
+ | * Foo |
||
− | ~[[User:mo|mo]] is testing some arabic stuff |
||
+ | ** Foobar |
||
+ | ** Foobar |
||
+ | *** Foobarbaz |
||
+ | ** Foobar |
||
+ | * Bar |
||
+ | *# Barbaz |
||
+ | *#* Barfoobaz |
||
+ | *# Barbaz |
||
+ | *## Barbazfoo |
||
+ | *## 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) === |
||
− | Test link. Quite impressive. The ''Wiki'' '''model''' [+adds+] [-a-] '''''fantastic''''' piece to open source |
||
+ | ; tori amos |
||
− | Bioinformatica studeren in Leiden [http://www.hsleiden.nl/bioinformatica http://www.hsleiden.nl/bioinformatica] |
||
+ | : 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 == |
||
− | AFAICT, the following says "Qassaman Binnazilat Ilmahiqat" |
||
+ | 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 - |
||
− | =قسما بالنازلات الماحقا= |
||
+ | 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:Candidate for Deletion]] [[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.
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:
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)
- Foo
- Foobar
- Foobarbaz
- Foobarbaz
- Foobar
- FooBaz
- FooBaz
- Foobarbaz
- Foobarbaz
- FooBaz
- Foobar
- 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.
Unordered (H4)
- Foo
- Foobar
- Foobar
- Foobarbaz
- Foobar
- Bar
- Barbaz
- Barfoobaz
- Barbaz
- Barbazfoo
- Barbazfoo
- Barbaz
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