Lyriki:Community Portal

From Lyriki
Jump to navigation Jump to search

Lyrics extension

This is a suggestion to the admins of this site:

I'd like to make a suggestion for a third way to enter music lyrics. You can create a simple extension to mediawiki that will handle all of the line breaks.

For example this is a sample script I wrote. If you to save it as lyrics.php under the Extensions folder

# lyrics extension by bailey
$wgExtensionFunctions[] = "lyrics";

function lyrics() {
   global $wgParser;
   $wgParser->setHook( "lyrics", "parse" );
# The callback function for converting the input text to HTML output
function parse( $input, $argv ) {
   return preg_replace("[\r\n|\n]", "<br />", $input);

and then add the following to the end of your LocalSetting.php


You would then be able to type in all of your lyrics with just one tag

It's four in the morning, the end of December
I'm writing you now just to see if you're better
New York is cold, but I like where I'm living
There's music on Clinton Street all through the evening.

and the breaks would be automatically added. Of course with this technique you couldn't add wikilinks to the middle of songs but I think the trade off is worth it compared to having to sit there and add either a space at the begining or a br tag at the end.

Thanks for the above suggestion

Just a quick thank you to whoever made that suggestion, I believe it was Bailey :)... I read again and it has Bailey's name in the script, I'm so smurt. x.X;;;

Nanenj 15:48, 22 December 2005 (PST)


Anyone familiar with Wikipedia is likely to know about stubs. For those that don't, a stub is a page that has just been started and needs work. It seems like we could use something like this. Olleicua 16:48, 8 August 2006 (PDT)

what would be a stub though? If there is lyrics/a song I listen to that clearly needs "work" then I usually would just add
to the page.--ahoier 06:10, 10 August 2006 (PDT)
Not for pages that need cleaning. For pages that are unfinished. Like an artist page with only one album and two songs. Then someone could go to the stubs category and see that an artist they knew was there and add to it. Olleicua 16:42, 15 August 2006 (PDT)
We already have {{incomplete}} template for such pages. --Pietaster 23:55, 15 August 2006 (PDT)


I'm having difficulty getting images to work with the Album Template. An example is here: A Perfect Circle:Thirteenth Step (2003). I have tried various combinations of characters, and even copied the format from a page where it did work. The image file even states that the file links to it, yet no picture. Help?--Jinx 12:36, 20 August 2006 (PDT)

I see the image (though it's heavily scaled up). You may need to empty your browser cache. --MindlessXD 16:30, 21 August 2006 (PDT)


It would be good to add chods to lyrics and have a chords site cheers (comment belongs to Derekmarks)

This site is a lyrics destination, not chords. While I agree a tablature/chords wiki would be excellent, this is not the place for it, since there are many different ways to interpret a song. --Suspchaos 03:33, 30 September 2006 (PDT)

External Links

Could I suggest replacing the link to discogs with one to Discogs is terrible - for instance, I just added Ryan Adams's album Heartbreaker here, and Discogs doesn't even list it in Adams's discography! RYM has more contributors and a more thorough database. --Waitingtoderail 14:04, 19 November 2006 (EST)

Why "replace" it, perhaps just add another external links entry? Dunno, never been to --ahoier 12:55, 19 November 2006 (PST)

Well, either-or. --Waitingtoderail 19:45, 19 November 2006 (EST)

I'm all for minimalism: remove Discogs and the Google link and add nothing. :P No one should need more than and Wikipedia. --MindlessXD 19:54, 19 November 2006 (PST)

Allmusic often has incorrect album data. Waitingtoderail 07:05, 20 November 2006 (EST)

How would folks feel about adding links to Wikevent for active artists? -- Mark 01:43, 2 January 2007 (PST)

Non-Latin characters

If the artist in question produces albums or song names that don't use Latin letters (for example Chinese or Arabic), should the articles be put in Latin letters with the original Chinese/Arabic/whatever in clarification in the main article itself.. or should the article title go with the original with the Latin in clarification? Matsu 09:30, 26 November 2006 (PST)

'Kay.. guessing not.. I get a wiki SQL error-type thing when I try. >_< Though it'd be lovely to fix that. Matsu 09:32, 26 November 2006 (PST)

flag lyrics as "official"

I'd like to suggest a way to flag lyrics as being official, like if they were taken directly from the CD cover slip, or from the artist's website or something like that. Because sometimes a song's lyrics sound like one thing, but the listed lyrics say it's something else. It'd be nice to know if the lyrics were made by a user who guessed the lyrics (in which case they would be edited) or if they are the real lyrics (in which case they would not be edited). --qhiiyr 10:30, 7 January 2007 (PST)

I'm not sure what you mean... Are you implying that the lyrics found on cd covers are the "real" ones? If so, I'd have to say I disagree, as sometimes they also have mistakes. This will introduce an irrelevant separation between official and unofficial lyrics since we don't strive for "official" lyrics but for accuracy. --Attendant 10:57, 7 January 2007 (PST)
Really? I'd think that the lyrics put out by the artists themselves would be correct...why wouldn't they be? Are we talking about the same thing? --qhiiyr 12:26, 7 January 2007 (PST)
As to why CD covers and alike could have the wrong lyrics, there can be lots of reasons. For instance, sometimes they omit certain lines or use simplifications such as chorus even though some lines may change each time the chorus repeats. I do believe however that, generally, they are a pretty good source; it's just that they don't have the final word.
Now, exactly what makes you think the lyrics you find in a CD cover or an artist site were put there by the artists themselves? --Attendant 14:04, 7 January 2007 (PST)


So, even though favicons are a MS invention I still think they're pretty neat to have, so I made this one.

Proposed lyriki favicon.png

I'm planning on putting little icons next to the "Other Sites" links on Wikevent as well, so whatever gets adopted here, I'll use there as well. -- Mark 05:29, 2 February 2007 (PST)

Nice, but can the note have the little flag on it? --MindlessXD 12:06, 4 February 2007 (PST)
♪ instead of ♩? (eighth note instead of a quarter note) --Dhraakellian 16:04, 4 February 2007 (PST)
I don't see why not. I guess it makes sense since they're all eighth notes in the logo -- Mark 03:10, 5 February 2007 (PST)
Here you go: Proposed lyriki favicon eitghth note.png. I still think I like the quarter note version better though: it's a bit cleaner, and for a very small favicon I think that's important. -- Mark 03:26, 5 February 2007 (PST)
I guess it doesn't really make a difference to me, I didn't have any non-eighth notes available when I was making the logo. :P Anyhow, Evelyn gets the final say, so you should poke her about it. :) --MindlessXD 14:48, 5 February 2007 (PST)
I went with the eigth-note version, since it looked closer to the main icon we have. Thank you for making that! --Evelyn 14:53, 8 February 2007 (PST)
You're welcome! -- Mark 02:59, 12 February 2007 (PST)

Improvement of Lyriki site

Well, I have contributed some lyrics which are not in English, so I have two suggestions for admins and those who keep the site running.

[1] There could be better way for organization of translations, in a separate file, now I have inserted the enlish text below the original song

[2] Maybe the site may allow for embedding of YouTube videos. So if there is currently a YouTube song/clip/video of the song, it can be embedded somewhere in the lyrics page. It will be nice.

Just suggestions, I think none of them will violate any copyright because YouTube offers this service for embedding, and also English translations of famous songs will be nice to be here, because if you have a favourite song you also want to know the meaning of the text. :-)

Regards, Dankomed 01:37, 22 October 2007 (PDT)


Any concerns with adding artist name categories, and perhaps year the song was recorded? Chadlupkes 20:12, 10 November 2007 (PST)

I'm not opposed... artist categories should be fairly simple -- it would just be added to the song page templates. --MindlessXD 12:48, 11 November 2007 (PST)
In fact, I think artist categories would be a good replacement for long-discography artist pages. --MindlessXD 18:06, 11 November 2007 (PST)
Sounds like an interesting idea for automation of such things. How would external links to wiki/musicbrainz/etc for artists (as opposed to their individual albums) be handled though? --Dhraakellian 18:25, 11 November 2007 (PST)
Question withdrawn... I obviously haven't been doing much wiki stuff recently. --Dhraakellian 18:37, 11 November 2007 (PST)
I'm afraid i don't understead how artist categories could possibly replace the artis pages with the discography, and on the other hand, what's about [1] so catecories for artists seem to be already done.--Knufaz 02:43, 12 November 2007 (PST)
Each artist would have its own category for its songs and albums. --MindlessXD 19:21, 13 November 2007 (PST)

Page names

Hi, i got an problem with some page name. At the time i work around the discography of the Band Crosby, Stills, Nash& Young. You see there is an ampersand contained in the name. The Artist Page and two Album pages work quite fine: Crosby, Stills & Nash, Crosby, Stills, Nash & Young:Déjà Vu (1970), Crosby, Stills, Nash & Young:Four Way Street (1971) When i now look at the page name which ist given when i click on "move" the page there is a "/Crosby, Stills" added for "Crosby, Stills & Nash" so its: "Crosby, Stills & Nash/Crosby, Stills" The Same for ".... & Young" and the two given albums.

Why is that?

But for the Band without "Young", so for Crosby, Stills & Nash i got a problem: The link to thier selftitled Album "Crosby, Stills & Nash (1969)" won't work (Crosby, Stills & Nash:Crosby, Stills & Nash (1969) Even when i added the "/Crosby, Stills" to the page name in still won't work. But it does with the two other given albums of Crosby, Stills, Nash & Young.

Any ideas about this?

Kind regards --Knufaz 01:03, 14 November 2007 (PST)--

This is a limitation of the URL redirct implementation we're using. We weren't anticipating any page names with multiple &s. Not sure what we can do about it. --MindlessXD 14:11, 14 November 2007 (PST)


Hi, I have written a script that downloads pages from Lyriki and generates a LaTeX file from them. I didn't find any policy here neither allowing nor forbidding it. Maybe there could be a link under "Lyriki Plug-ins" in the main page for it? Here's the link to a page describing it:

Thank you.

--Adiel 20:45, 17 March 2008 (PDT)

Main Page

I think we should have featured album/artist/song/lyrics or, album/artist/song/lyrics of the week or something so that this site would look more pleasing for readers. La Super Thalía Fan 18:43, 20 April 2008 (PDT)

Mass conversion from other Lyric sites

Hello there! I would really like to appreciate a script to mass import lyrics from other sites such as lryiciwki. They have pretty similar wiki-code and partially more complete Artists. Someone can write this? I don't know which language to use best yet. Amarok lyrics script uses Ruby for example. Mass submitting on our wiki could be easily done with WikipediaFS, a fuse-based file system to manage Mediawiki content.

I hope you guys don't get this wrongly. This is not intend to steal content from other site but to save loads of time :-) --Lenzoid 23:39, 28 July 2008 (UTC)

The "Amarok" script could handle that just fine. However, I don't think we want to do such a massive import of content. Also, attempting to do it would probably just kill the server. --Attendant 04:02, 29 July 2008 (UTC)
Hi, thanks for your quick answer, Attendant. But I don't understand why this would 'kill the server'. I didn't mean to convert all the content at once but to convert only special complete stuff like for example an complete Artist page like that of Cannibal Corpse. The script could therefore parse the Page for links and download only the content of the linked pages. Having that content downloaded, they could then be submitted with one hit by WikiFS. I've tested it with uploading ~20 of files at once. It waits for each file to be completed and then proceeds to the next. Since it took about a minute to submit these files I think the server wouldn't collapse while submitting the new content. --Lenzoid 11:30, 29 July 2008 (UTC) lyriki entry


today i asked google for "lyriki" and found an entry on Can anybody explain the description on that page concerning Was this manipulated or is that our "official" external description of this project? Here you find the entry im referring to: Lyriki on

kind regards --Knufaz 09:18, 22 January 2009 (UTC)

Looks like spam to me. --MindlessXD 03:00, 26 February 2009 (UTC)

API Integration


With the a large portion of the Linux population using GNOME and choosing not to run amarok, I have made a lyrics script to integrate with

It is still a work in progress, but it seems that the part of the program that update the site is being redirected to Api.php... I was wondering if there was any plan to look at the API and make it fully functional again? (It is not my script, I have tested it against several other wiki sites). I hope this isn't taken the wrong way, I personally love lyriki over all the other lyrics sites, I am just trying to help out :)

Thanks, --3321thec 04:12, 24 August 2010 (UTC)