User talk:Sean Colombo
From LyricWiki
[edit] API
[edit] REST fmt=text vs. songs with colons
If a song name contains a colon, disaster ensues: the artist is stripped:
$ GET 'http://lyricwiki.org/api.php?artist=Pink_Floyd&fmt=text' | grep -v Pink Sysyphus: Part 1... The Grand Vizier's Garden Party: Part 1 (Entrance)... The Wall: Music From The Film (1982) 1967: The First 3 Singles (1997)
Jidanni 05:10, 16 May 2009 (UTC)
[edit] Wikimarkup in Lyircs
Is it by design that lyrics retrieved from the REST API may contain Wikimarkup? (See Simon_And_Garfunkel:A_Simple_Desultory_Philippic and its REST version). Should this markup be stripped (or rendered?) at server-side or client-side? (fuzy 09:23, 28 May 2009 (UTC))
- Fixed. Pages with markup reside in Category:Song Subpages, outside of main namespace. If you come across any other ones, post a note in the community Portal. Night Owl 09:35, 28 May 2009 (UTC)
- Ok, thx. Is there any documentation on this? Or where should it be? (fuzy 09:39, 28 May 2009 (UTC))
[edit] Uberbot Stuff
[edit] SpecialPages
[edit] Wikify
Here's my ideas for improving Special:Wikify:
- Fixing the bug that turns
Word'sintoWord'S. (looks like a regex search[^a-zA-Z][a-z]could be[^a-zA-Z'][a-z]to me :P) - Adding the second parameter to the {{Album Art}} template (caption) so every caption for album art isn't the default {{PAGENAME}} on artist pages.
Cheers, ♫ Humbug words♪deeds 14:46, 3 February 2009 (UTC)
- In addition to the problems 6x9 and myself reported to you earlier about this, there is also another bug that has since become apparent to me whereby Wikify sometimes decides to capitalise letters. ♫♫Яєdxx ♪♫♪♫♪ Actions Words 15:23, 3 February 2009 (UTC)
- Just to check, are there more bugs that I've lost track of? All that I'm currently aware of are the bugs in this thread and the ones that were recently fixed.
- -Sean Colombo (talk|contribs) 15:29, 3 February 2009 (UTC)
- What I've noticed is that often (but not always) letters after apostrophes are capitalised. (Maybe that's what Red meant?) AFAIK it's only started doing so recently (probably introduced along with the capping-accented-letters fix). I haven't done any tests to see when they are capped and when not, though… — 6x9 (Talk) 15:49, 3 February 2009 (UTC)
- Yes it's after an apostrophe. It is also inappropriately uncapping letters in the middle of words, e.g. McIver it makes Mciver in the link (but not in the second parameter). ♫♫Яєdxx ♪♫♪♫♪ Actions Words 12:05, 8 February 2009 (UTC)
- @Sean: Yes seems it's after all apostrophes. Any way you can fix this?
- @6: I like Humbug's thinking on album art.. ♫♫Яєdxx ♪♫♪♫♪ Actions Words 04:37, 22 March 2009 (UTC)
- Inappropriate capping of letters (like your example: "McIver" vs "Mciver") may look ugly, but that's the capping policy.--KaputteMenschen 15:52, 11 April 2009 (UTC)
- Yes it's after an apostrophe. It is also inappropriately uncapping letters in the middle of words, e.g. McIver it makes Mciver in the link (but not in the second parameter). ♫♫Яєdxx ♪♫♪♫♪ Actions Words 12:05, 8 February 2009 (UTC)
- What I've noticed is that often (but not always) letters after apostrophes are capitalised. (Maybe that's what Red meant?) AFAIK it's only started doing so recently (probably introduced along with the capping-accented-letters fix). I haven't done any tests to see when they are capped and when not, though… — 6x9 (Talk) 15:49, 3 February 2009 (UTC)
[edit] Orphaned pages
I think I followed the thread up about Orphaned pages or Lonely pages not including pages which are ONLY redirected to, but I can't remember where that thread is :( Until I run into it again, I'll re-start it here. The solution I was thinking of is two Special pages:
- A list of all of the pages which are only linked to by redirects. That special page would have the weakness that some ACTUAL legitimate pages may link to those redirects which then link to these "hidden" lonely pages.
- A second page (done now :D) which shows all real articles which link to redirects. The idea is that we can go through this page with a bot (which I haven't written yet, hopefully someone else will? ^^ please) and fix those original pages to link to the destination. This way, the previous SpecialPage which links to hidden lonely pages will actually only include pages which aren't linked to directly. This special page is done... it caches 1,000 results at a time for 2 hours: Special:Linkstoredirects.
-Sean Colombo (talk|contribs) 00:34, 30 March 2009 (UTC)
- The (most recent) discussion was on the Community Portal… until I archived it yesterday. Sorry. The first half is here and the rest a bit lower. (Was that an earthquake, or Echo and Senv jumping up and down in joy?) — 6x9 (Talk) 00:45, 30 March 2009 (UTC)
- Thanks, Sean; one note regarding Special:Linkstoredirects - don't you think it would be better to make items of this list unique?--Senvaikis (talk) 05:39, 30 March 2009 (UTC)
- I think that all pairs are unique. Or did you mean make it so that everything in the left is unique or everything in the right is unique? If it's primarily going to be used by bots, as long as the pairs are unique it should be good. One interesting possible bug I noticed is that some of the links in the left column are red which makes me think that the pagelinks table has bad (old) data of links from pages that don't exist anymore.
- -Sean Colombo (talk|contribs) 21:29, 30 March 2009 (UTC)
- Considering there's a "Backgammon" as well as several JPGs and PNGs in there… not to mention EchoSierra/Sandbox/1-3000 (while User:EchoSierra/Sandbox/1-3000 clearly exists)… I'd guess the left column strips the namespace off. — 6x9 (Talk) 21:55, 30 March 2009 (UTC)
- Awesome! Good catch :) -Sean Colombo (talk|contribs) 22:31, 30 March 2009 (UTC)
- Finally got around to fixing those links. Still need to make that other special page. If anyone is feeling botty... this first page is a good candidate! Special:Linkstoredirects ^^ lol
- -Sean Colombo (talk|contribs) 01:31, 13 April 2009 (UTC)
- Yay! teknomunk wrote the bot tonight to take care of the Special:Linkstoredirects.
- -Sean Colombo (talk|contribs) 04:52, 19 April 2009 (UTC)
- Considering there's a "Backgammon" as well as several JPGs and PNGs in there… not to mention EchoSierra/Sandbox/1-3000 (while User:EchoSierra/Sandbox/1-3000 clearly exists)… I'd guess the left column strips the namespace off. — 6x9 (Talk) 21:55, 30 March 2009 (UTC)
- Thanks, Sean; one note regarding Special:Linkstoredirects - don't you think it would be better to make items of this list unique?--Senvaikis (talk) 05:39, 30 March 2009 (UTC)
[edit] Extensions
[edit] Replace text
Great idea, I tried a single character replacement, clicked proceed and after 5+ minutes I got the timeout page. It either needs more memory or a higher timeout value. I also get Timeout when batch moving artists with lots of songs like Carpenters. Hope the fix is easy. tia+cheers ∃cho⚡ierr∀ (☏) 13:19, 25 January 2009 (UTC)
- Yes I tried using this today for the first time, I wanted to change all the album links on the individual song pages linking to a various artists compilation album (well series). I got timeout too. I think it's because it is searching every page in the site (except maybe talk pages) That's one hell of a lot of pages. ♫♫Яєdxx ♪♫♪♫♪ Actions Words 02:30, 5 February 2009 (UTC)
- I turned off the timeout (at least, the one that I had in there... dunno if there is one in there by default) as an experiment. So huge batch-moves and replacetexts should work. I'm not sure this is gonna work out in the long-run (because a spider could latch onto a really long running page and just drive us into the ground. But we shall see!
- -Sean Colombo (talk|contribs) 21:38, 21 February 2009 (UTC)
- Well, now it times out after 15 minutes. I wonder if it's searching every page or using an index like serach engines do. ∃cho⚡ierr∀ (☏) 16:41, 22 February 2009 (UTC)
- Beastly! I don't think it uses an index. Any thoughts on where to go from here? Attempt unlimited timeout? Make it faster? Get rid of extension? lol
- -206.53.153.69 02:33, 15 March 2009 (UTC)
- Who would write such an extension not using an index? Unless it was intended for wikis with only a handful of pages. I wonder if unlimited timeout is safe...A useful extension would filter by artist first (as 6 times 9 indicated earlier) that way the hit list always remains under 1000, and a 15 minute timeout would be more than plenty. ∃cho⚡ierr∀ ( ☏ • ⎋ • ⌫) 03:16, 15 March 2009 (UTC)
- Well, now it times out after 15 minutes. I wonder if it's searching every page or using an index like serach engines do. ∃cho⚡ierr∀ (☏) 16:41, 22 February 2009 (UTC)
[edit] Not Categorized Yet
[edit] Mediawiki API
I am planning on creating a PHP based bot that could use the API described here and here. I have just realised that the API on LW is set up to give lyrics/artists/songs/etc. only. I would build my bot from scratch (I think) retrieving the page source, parsing it through my search terms and submitting it as an edit. This will allow me to do more flexible edits then replace.py (such as getting wikipedia info from artist footer and putting it in the header). As the source code is available for the MW php API, I am asking if you could go about implementing it on LW alongside the current API (when it suits you of course). Greatly appreciated, ♫Humbug(Talk ♪ Ctrb) 10:34, 29 December 2008 (UTC)
- Hi Humbug,
- We actually do have that API set up also. They created the MediaWiki version just a few months after ours, and unfortunately we both ended up using the same filename (api.php) :/... anyway, when we upgraded to the new version of MediaWiki, the API came along with it, but we just moved it to another URL. Use this: http://lyricwiki.org/mw_api.php
- Sorry for the confusion,
- -Sean Colombo (talk|contribs) 15:42, 29 December 2008 (UTC)
- I have a possible bug/question or something. [1] gives me an error which I'm pretty sure shouldn't be there (the same query works on the MW api.php: [2]).
- That does look like a bug... probably caused by our .htaccess redirect tricks that move the request all around. I'll look into it. Thanks for the info.
- -Sean Colombo (talk|contribs) 21:29, 8 January 2009 (UTC)
- I have a possible bug/question or something. [1] gives me an error which I'm pretty sure shouldn't be there (the same query works on the MW api.php: [2]).
[edit] Album cover questions
- Is it possible to automatically insert a blank {{Albumcover}} template into the summary box of the upload page (similar to the album etc. auto-templates)? That should reduce the number of uncategorized files greatly.
- Would it be a good idea to include the fair-use blurb in the template? Because most users (including myself) regularly forget to add it…
There's also a discussion on the community portal about what the maximum allowed image size should be. — 6x9 (Talk) 18:48, 14 February 2009 (UTC)
- I recently brought the subject up of an auto-template for image uploads here and was told that you were the person to nudge on the subject, so here's my friendly reminder. Hope things aren't too busy for you. I also want to give you compliments (whether it's because of you or not), it seems the "move enormous amounts of pages to ridiculous pages" spammers have stopped. --WillMak050389 21:51, 25 March 2009 (UTC)
- @Red – errr… #1 is done? Since when? And how come the summary field is still blank when I hit upload? — 6x9 (Talk) 01:16, 11 April 2009 (UTC)
- I misunderstood. Haven't you got to be somewhere? ;) ♫♫Яєdxx ♪♫♪♫♪ Actions Words 14:37, 11 April 2009 (UTC)
- @Red – errr… #1 is done? Since when? And how come the summary field is still blank when I hit upload? — 6x9 (Talk) 01:16, 11 April 2009 (UTC)
[edit] Not only indestructible, but also camouflaged
See Category:Wikipedia articles, the 4th link under B: it says Black:Wonderful Life, but actually leads to Björk… and the tooltip (when I move the mouse over it) says "Bj??>Bj??/a></li><li><a href=". If you'd remove the {{Wikipedia}} template from the Black song page, the next page in this category (currently Blondie) would lead to Björk instead. (That happened with the page that was there before; now Black is in its place.)
The three pages above that one are Untouchables too, but at least "normal" ones… — 6x9 (Talk) 03:34, 12 March 2009 (UTC)
- Hmm... I'm not seeing what you're seeing. Black:Wonderful Life leads to Black:Wonderful Life for me. Also, the four above it, although they display a little mangled, the links actually work & go to real pages for me. I'm using FireFox on Vista to check this... what OS / Browser are you using? I doubt it's browser-specific, but I think I should check anyway.
- Btw, on Sunday or Monday I ran some script that was supposed to fix bad titles (the script comes with MediaWiki), so that should have improved some of the "untouchable" pages.
- -Sean Colombo (talk|contribs) 10:37, 12 March 2009 (UTC)
- Odd. I'm (effectively) on IE6. Note, though, that none of those for pages include the {{Wikipedia}} template and therefore shouldn't be in this category at all. (I doubt it's a latency thing, since they've been there for weeks.) So I wildly guessed they have some "illegal" characters in the pagenames which, when clicking on the link, somehow get converted into "legal" ones and lead to the correct page… — 6x9 (Talk) 13:57, 12 March 2009 (UTC)
- The first three B songs have accents where the question mark symbol is. The last one, Bjork, has that Icelandic "o" thing. ♫♫Яєdxx ♪♫♪♫♪ Actions Words 11:54, 26 May 2009 (UTC)
- Odd. I'm (effectively) on IE6. Note, though, that none of those for pages include the {{Wikipedia}} template and therefore shouldn't be in this category at all. (I doubt it's a latency thing, since they've been there for weeks.) So I wildly guessed they have some "illegal" characters in the pagenames which, when clicking on the link, somehow get converted into "legal" ones and lead to the correct page… — 6x9 (Talk) 13:57, 12 March 2009 (UTC)
[edit] A Mystery Regarding "What Links Here" Lists
Please take a look at the discussion on Senvaikis's talk page. It appears that when the What Links Here list is generated (at least for Artist pages), not all items that link to the page are shown. I did a few tests (look for my comments) and perhaps it's a cache issue? Kiefer talk contribs admin 01:33, 27 March 2009 (UTC)
- Do you think it would be worth a shot to add an invisible link to the artist page at the very beginning of the {{Album}} template, in case that's the root of the problem? (Also wondering whether the new links-to-redirects special page might be affected by this problem too…) — 6x9 (Talk) 18:26, 22 April 2009 (UTC)
[edit] Page size
I know there is a parser function PAGESIZE, but would it be possible to have this info appear at the bottom of every page, by adding this to the "every single LW page template"? ♫♫Яєdxx ♪♫♪♫♪ Actions Words 05:11, 6 April 2009 (UTC)
- Where were you thinking? In the footer (the part with the yellow line above/below it)? My guess is that it's probably do-able but I haven't checked yet. -Sean Colombo (talk|contribs) 15:29, 6 April 2009 (UTC)
- Right at bottom of page where it says: "This page was last modified on 6 April 2009, at 20:30. Privacy policy About LyricWiki Disclaimers" ♫♫Яєdxx ♪♫♪♫♪ Actions Words 16:35, 9 April 2009 (UTC)
- Would it also be possible to add the "this page has been accessed x times" back? We used to have it in the footer, but we lost that after the major upgrade...tia ∃cho⚡ierr∀ ( ☏ • ⎋ • ⌫) 15:55, 6 April 2009 (UTC)
- Sorry to say it, but that one (the number of page-hits) isn't coming back :( ...The reason it was gone is that we actually had to shut it off. Once you get past a certain amount of traffic, the code that tracks the views ends up taking so much time that the database doesn't have time for anything else (this happened to us). There is a setting to turn off that updating completely, which is what we had to do (Wikipedia and some other large wikis have to do the same thing). On the bright side, that number wasn't all that accurate anyway since it was only updated when the page was re-generated - and our Squid caching server makes it so that pages (especially popular pages) quite often don't need to be regenerated.
- On the other hand, the Squid access-logs do have a decent log of what pages are getting requested, so we could write some sort of cron-job which would go through the logs and we could figure out the most popular pages for a given day/week/month and make SpecialPages with those listed on them or something. Also, I guess there could be a way to keep track accurately by parsing those same log-files, it would just take even more coding to do that right (and efficiently).
- -Sean Colombo (talk|contribs) 16:15, 6 April 2009 (UTC)
- Thanks Sean, always good to know the gory details. A special page that shows this info for any given page would also do the trick. One other stats related number would be the ratio of web access to api access for the entire site. cheers ∃cho⚡ierr∀ ( ☏ • ⎋ • ⌫) 18:21, 6 April 2009 (UTC)
- If there was some way to check an individual page for its traffic, that would be helpful. I used to track, for instance, the number of hits that a page got with regards to the American Idol page. I tracked how many hits the page itself got for both data's sake (it usually increased over the first month or so and then plateaued for the rest of the season, as I recall) and also to ensure that people were actually visiting it. (No sense in doing the work if no one's using it!) Also, it was interesting to see if the links within were used. Normally the week after a song was listed, it would jump 30-90 hits, depending on the song. For a song that started out with perhaps 10-20 hits after perhaps being around for a couple of years, that was pretty amazing. It's not a huge/high priority, but perhaps something to put on your List of Infinite LyricWiki Tasks. :-] Kiefer talk contribs admin 19:17, 6 April 2009 (UTC)
- Thanks Sean, always good to know the gory details. A special page that shows this info for any given page would also do the trick. One other stats related number would be the ratio of web access to api access for the entire site. cheers ∃cho⚡ierr∀ ( ☏ • ⎋ • ⌫) 18:21, 6 April 2009 (UTC)
- Would it also be possible to add the "this page has been accessed x times" back? We used to have it in the footer, but we lost that after the major upgrade...tia ∃cho⚡ierr∀ ( ☏ • ⎋ • ⌫) 15:55, 6 April 2009 (UTC)
[edit] Implied redirects
Looks like they don't like non-ascii characters – works as advertised with Prodigy, but not with Кино. See the lower half of this discussion. — 6×9 (Talk) 19:40, 29 April 2009 (UTC)
[edit] Loops
Hi!
I found an Extension called "Loops". With that the limited number of featured artists and covered songs, etc. could be a problem of the past!
There's another extension with the same funcionality, but another usage (maybe this one is easier to handle): LoopFunctions.--KaputteMenschen 12:57, 1 May 2009 (UTC)
[edit] Category:Language/English is disappearing
Less than 15,000 at the time of typing this (and shrinking fast). Same for other languages – Spanish ~ 1000, German ~ 1200. Could this be the same problem as with the disappearing albums from What Links Here, i.e. because of the pages being categorised from within a complex template? — 6×9 (Talk) 14:30, 4 May 2009 (UTC)
- :( yikes. Not sure on the cause, but your guess seems quite probable. I'll look into that when I get a sec. -Sean Colombo (talk|contribs) 14:34, 4 May 2009 (UTC)
- Some of them have come back. Now English is around 20,500, sometimes growing a bit, sometimes shrinking a bit… Weird. — 6×9 (Talk) 18:10, 5 May 2009 (UTC)
- Is over 40, 000 now ♫♫Яєdxx ♪♫♪♫♪ Actions Words 11:34, 26 May 2009 (UTC)
- Some of them have come back. Now English is around 20,500, sometimes growing a bit, sometimes shrinking a bit… Weird. — 6×9 (Talk) 18:10, 5 May 2009 (UTC)
[edit] Unused file?
I don't know why I never asked, but in my continual trials to clear Special:UnusedFiles I've never figured why File:Mandragora Scream - Madhouse.jpg is in there. It has two links (check the file page) and it's had these links for longer than the cache has been updated on the list, so it shouldn't be there. But it is. I'm lost. Any suggestions why this is on the list? It seems to be the only one also. --WillMak050389 00:38, 6 May 2009 (UTC)
- Might be related to the category thing two topics above, and the what-links-here problem even further up… I suspect that MediaWiki only "sees" explicit links reliably, while those from within a template (especially complex ones) are more hit-and-miss. (The cover parameter on the album page was also prefixed with some odd character, which might have caused the link to break and the art finder to be used instead, which is complex enough. I fixed the link – maybe it will disappear from Unused Files now…) — 6×9 (Talk) 00:49, 6 May 2009 (UTC)
- This has been in unused file for months (possibly years?) that I've noticed. If you fixed it, I love you. --WillMak050389 00:51, 6 May 2009 (UTC)
- No such luck… still there. You could try putting it on your userpage. *ducks and runs* — 6×9 (Talk) 01:32, 6 May 2009 (UTC)
- I put it on my page, we'll see if it changes tomorrow (I don't wanna hafta refresh the special pages again). Now that I look, we may have the same problem with File:The All-American Rejects - The All-American Rejects.jpg, I just added it to their artist page, but it had the album page linking it. --WillMak050389 02:15, 6 May 2009 (UTC)
- Can you two please explain this to me. Why are you wanting to delete album covers that seem to be needed, i.e. not duplicated. And why are so many used files in "Unused files" ?? I am seriously confused here... ♫♫Яєdxx ♪♫♪♫♪ Actions Words 11:32, 26 May 2009 (UTC)
- We are trying to make the used files not show up in Unused Files special page. 6×9 was deleting a previous version of that file in order to see if that would help the system recognize that it is actually being used.
As for used files being in Unused Files list, the two that I have linked above seem to be the only used ones that still appear in the list. Some may still appear on the list despite their use because they are being hyperlinked (in order for a file to be "used" it has to be linked using [[File:<<FileName>>.ext]] or [[Image:<<FileName>>.ext]]. Something like File:IMDb small.png is only hyperlinked in the {{FilmFooter}} template). Also, some of the images at the bottom of the list may be used in an {{Album}} template, but because the cache has not been purged on the album page since the image was uploaded, it still appears in the Unused File list.
As for File:Mandragora Scream - Madhouse.jpg and File:The All-American Rejects - The All-American Rejects.jpg, that's what we're trying to figure out. --WillMak050389 15:20, 26 May 2009 (UTC)- Thanks Will. I won't pretend I understand all that ;) All I really wanted to say was that my pretty pictures are in the Unused Files but they are not "unused". They are linked to by way of url. But you know about that anomaly so that doesn't help you any. ♫♫Яєdxx ♪♫♪♫♪ Actions Words 20:58, 26 May 2009 (UTC)
- Yeah, it's frustrating, but it at least tells you when you open up the special page: "Please note that other web sites may link to a file with a direct URL, and so may still be listed here despite being in active use." Those two specific album covers have no business being in their at all. --WillMak050389 21:11, 26 May 2009 (UTC)
- Thanks Will. I won't pretend I understand all that ;) All I really wanted to say was that my pretty pictures are in the Unused Files but they are not "unused". They are linked to by way of url. But you know about that anomaly so that doesn't help you any. ♫♫Яєdxx ♪♫♪♫♪ Actions Words 20:58, 26 May 2009 (UTC)
- We are trying to make the used files not show up in Unused Files special page. 6×9 was deleting a previous version of that file in order to see if that would help the system recognize that it is actually being used.
- Can you two please explain this to me. Why are you wanting to delete album covers that seem to be needed, i.e. not duplicated. And why are so many used files in "Unused files" ?? I am seriously confused here... ♫♫Яєdxx ♪♫♪♫♪ Actions Words 11:32, 26 May 2009 (UTC)
- I put it on my page, we'll see if it changes tomorrow (I don't wanna hafta refresh the special pages again). Now that I look, we may have the same problem with File:The All-American Rejects - The All-American Rejects.jpg, I just added it to their artist page, but it had the album page linking it. --WillMak050389 02:15, 6 May 2009 (UTC)
- No such luck… still there. You could try putting it on your userpage. *ducks and runs* — 6×9 (Talk) 01:32, 6 May 2009 (UTC)
- This has been in unused file for months (possibly years?) that I've noticed. If you fixed it, I love you. --WillMak050389 00:51, 6 May 2009 (UTC)
[edit] suggestion
Dear Mr Colombo, I have a suggestion, can you add a MediaWiki search field in addition to the google search as this is convenient for non-mainspace stuff?—The preceding unsigned comment was added by 96.255.102.205 (talk) 02.01 27 May 2009 (UTC).
I have a suggestion too. You say you created this site because you were tired of the lyric sites with invasive ads. Well lyricwiki has those awful flashing "millionth" visitor ads and such. I really wish you would switch to something less invasive like text only ads from google or something easier on the eyes like the well designed ads via the deck http://decknetwork.net/ (no affiliation - I've just noticed how elegant they are). I think a wiki for lyrics is a great idea, but I just can't bring myself to contribute to a site that is so painful to look at with those terrible ads.
[edit] Wrong thumbnail
[3] (as used by ArtistHeader) shows the wrong flag, somehow – it should look like this… — 6×9 (Talk) 00:40, 28 May 2009 (UTC)
Seems the thumbnail is left over from an earlier upload… Seems also like both are wrong and the official flag is either this or the French tricolore… Why does all this country stuff have to be so complicated? I'll gp and pester Kiefer. — 6×9 (Talk) 00:49, 28 May 2009 (UTC)
- Haa haa ♫♫Яєdxx ♪♫♪♫♪ Actions Words 16:11, 29 May 2009 (UTC)
[edit] REST JSON API request
Hi, could you provide an API in REST with JSON response that could list the albums per artist and the songs per album, for example:
- pseudo javascript*
getAlbumsbyArtist(artist) - the response would include the artist URL here on lyricwiki, his/her name and then the list of albums with respective URL and name
getSongsbyAlbum(album,artist) - the response would include the both artist and album URL here on lyricwiki, his/her name and then the list of songs with respective URL, name.
Thanks.
Best regards. —The preceding unsigned comment was added by 89.180.89.25 (talk) 11.50 29th May 2009 (UTC).
[edit] REST API function request
Hi, I'm working with an application which downloads lyrics using the LyricWiki REST API. I'm planning to implement a search feature that'll let the user search for names of songs, albums or artists, but the API doesn't fully support this. For instance let's say the user want's to search for all songs called "Forget The Swan" but doesn't specify an artist, my application then request the page http://lyricwiki.org/api.php?func=getSong&song=Forget+The+Swan&fmt=xml What I would want is the api to return a list of all songs that has that name, something like this
<getSongResponse> <result> <song>Forget The Swan</song> <artist>Dinosaur Jr.</artist> <album>Dinosaur</album> <lyrics> ... </lyrics> </result> <result> ... </result> </getSongResponse>
and similar result for searching for albums without specifying an artist. I can understand if it is a big request but I hope you will consider it
Edit: a better example would be a user searching for a song called "Believe" since there are numerous songs with that name.
Memil 11:37, 6 June 2009 (UTC)
[edit] Transcluding album pages
The question why we don't simply transclude album pages onto artist pages has come up again. Would it be possible at all to rewrite the API to fetch the tracklist from the album page instead? Because it would be really cool to just use a template with just the album title and year as parameter and let it do the rest (not to mention save a LOT of space). — 6×9 (Talk) 16:10, 20 June 2009 (UTC)
[edit] The wonderful Senv
Sean I'm sure I'm asking this on behalf of many of us. Senv is (as always) doing a superb job with the assistance of his lwt. The only problem is that I can't see the wood for the trees. Meaning that since his edits are prolific and equate to bot edits, they flood my watchlist :( Since this is not a temporary thing, can you do something about it, e.g. give Senv+lwt a bot flag or something? Thanks. ♫♫Яєdxx ♪♫♪♫♪ Actions Words 12:46, 25 June 2009 (UTC)
EDIT: The best I can do to resolve this myself is click on my watchlist and then "hide patrolled edits" which helps but is obviously not ideal
- Yeah, you're the third different person who's brought this up, lol. It's almost like we need a Cyborg flag for people who are people but have machine assistance ;). I'll talk with Senv and we'll figure out someting. Another temporary fix: instead of hiding patrolled edits, hide minor edits. :)
- -Sean Colombo (talk|contribs) 14:56, 25 June 2009 (UTC)
- Sorted now thanks! ♫♫Яєdxx ♪♫♪♫♪ Actions Words 07:56, 27 June 2009 (UTC)
[edit] Google search
Hi Sean!
I'm registered at some others Wikis as well and one of them is interested in replacing the MediaWiki default search with a Google search. I remembered that I had seen it here and looked you up at Special:Version. I'm really curious on how you managed this implementation. Would you be willing to share the knowledge? (o.O)
Greetz, zai (talk|contribs) 15:46, 27 June 2009 (UTC)
[edit] Traduce lyrics
I propose to traduce all languajes the lyrics if it was possible. Please, leave me your opinion in my discussion page in wikipedia]. I only talk spanish and understand little english. 83.49.95.31 18:19, 27 June 2009 (UTC)
- Seeings as the person above only speaks Spanish, I think (s)he wants to propose translation of lyrics into all languages. Traducir is a Spanish word meaning "to translate", and does not mean "traduce" in English (to malign/libel etc.) --WillMak050389 23:57, 27 June 2009 (UTC)
- Rfl I sure hope you're right Will ;) ♫♫Яєdxx ♪♫♪♫♪ Actions Words 23:12, 28 June 2009 (UTC)
[edit] File:Hunter Valentine.jpg
Sean, I'm trying to delete some duplicate images but system is throwing a wobbly when I try to delete this artist image...says something about web directory not being writable..? It's the first artist image that I've tried to delete but I reckon it probably applies to them all. ♫♫Яєdxx ♪♫♪♫♪ Actions Words 23:11, 28 June 2009 (UTC)
- Old revisions actually… duplicate images is something else. </nitpicking> — 6×9 (Talk) 23:38, 28 June 2009 (UTC)
- No, I'm not debating this with you 6.. I'd win anyway ;) ♫♫Яєdxx ♪♫♪♫♪ Actions Words 23:45, 28 June 2009 (UTC)
- This is the actual error message I got when I tried: Error deleting file: The archive directory "deleted/q/1/c" is not writable by the webserver. Hope that clarifies something. --WillMak050389 04:28, 29 June 2009 (UTC)
- Thanks Will yes that's the one. I just copied error message to post here. Sorry I was a bit too tired last night to do it - call it "Tony Bennetted out" lol. ♫♫Яєdxx ♪♫♪♫♪ Actions Words 11:30, 29 June 2009 (UTC)
- This is the actual error message I got when I tried: Error deleting file: The archive directory "deleted/q/1/c" is not writable by the webserver. Hope that clarifies something. --WillMak050389 04:28, 29 June 2009 (UTC)
- No, I'm not debating this with you 6.. I'd win anyway ;) ♫♫Яєdxx ♪♫♪♫♪ Actions Words 23:45, 28 June 2009 (UTC)
I just tried to delete File:Stone Temple Pilots The Big Empty.svg and got Warning: mkdir() [function.mkdir]: Permission denied in /var/www/html/lyricwiki.org/includes/GlobalFunctions.php on line 1944 and Error deleting file: Could not create directory "deleted/e/w/d". — 6×9 (Talk) 19:51, 1 July 2009 (UTC)
- Should be fixed now... this time permanently. Thanks for the helpful debugging info! -Sean Colombo (talk|contribs) 11:50, 2 July 2009 (UTC)
[edit] ÜberBot & Html-decoding
Hi, Sean,
Seems you still haven't noticed my last msg to ÜberBot, here's one more sample; thx, --Senvaikis (talk) 19:02, 29 June 2009 (UTC)
- Hey Senv, thanks for the notes. I was gone for a couple of days and am just getting back. It seems like there may be some encoding problems on top of the htmlentities since the second title you sent me is all messed up and doesn't have ampersands or anything in it. I'm gonna be a bit swamped the next couple of days (day job is wed, thur, fri this week because I was gone) but hopefully I can figure out a fix after-hours tomorrow.
- Thanks again,
- -Sean Colombo (talk|contribs) 05:33, 1 July 2009 (UTC)
- Just thought that it might be useful if I provide a few particular examples with some comments, because the title of this msg doesn't cover entire problem. Strictly speaking, the problem lies in the encoding (codepage) of lyrics source page. So, if lyrics is encoded in CP, different from UTF8, and page doesn't have according metatag set in it's header, as Albion (Rus):Проклятый Мир - even htmldecoding will not solve this problem, untill you take into account that page text is encoded in Kirilica (Windows 1251). The same result ÜB have got for Baltic (Windows-1257) encoded pages of Lithuanian groups Altorių Šešėliai and Angis (btw, am I right, supposing that all of them, together with AridaVortex, were taken from metal-archives?). Moreover, - you may get a wrong result even for English lyrics, if you miss it was encoded in Western European (ISO-8859-1) (Beau, supposedly from songmeanings).
- So, it'll be not a simple task for ÜB, but hth :), --Senvaikis (talk) 12:51, 1 July 2009 (UTC)
- P.S. Maybe you have some bright idea - what should we do with 201 items, added to Bjá¶rk, or Björk, aka Björk?
- Thanks for the additional info... that'll be super-helpful! As far as Björk goes, I think now is probably a good time to teach ÜberBot how to do batch-deletes. Should be pretty straight-forward. Nope, neither of those sources was correct ;) but most sites scrape each other, so who knows if that's where they came from originally.
- -Sean Colombo (talk|contribs) 13:54, 1 July 2009 (UTC)
- Only semi-related… Could you teach ÜB to require a minimum of lyrics, to avoid pages with only "-1" or the song title between the tags? — 6×9 (Talk) 15:38, 1 July 2009 (UTC)
- Eeek, for now I'm just gonna stop ÜberBot until I can fix these problems. I just got home, still have a bit more work left for the day-job and I'm already supposed to be asleep - ie: I can't fix this tonight... :(.
- Thanks for the bug reports though guys... keep 'em coming!
- -Sean Colombo (talk|contribs) 02:44, 2 July 2009 (UTC)
- Only semi-related… Could you teach ÜB to require a minimum of lyrics, to avoid pages with only "-1" or the song title between the tags? — 6×9 (Talk) 15:38, 1 July 2009 (UTC)
- P.S. Maybe you have some bright idea - what should we do with 201 items, added to Bjá¶rk, or Björk, aka Björk?

+ 

