Auto Quotes Anyone?

Moderator: Jamie

User avatar
First Lieutenant
First Lieutenant
Posts: 1270
Joined: Wed Aug 08, 2007 2:00 pm
Location: Fort Worth, Texas
Wikia Username:
Artful Dodger
PostPosted: Tue Aug 05, 2008 2:41 am
I have found my role on this site. I suggest wildly complicated things for other people to do and they do them. :)
It's tough work, but someone has to do it.

My next idea...
Can the quotes page of a character be automagicked? Can the site scan comic issue pages, find where a character has a quote, and then pull it to that character's quote page?
Surely some smart coder (smarter than me) can make this happen.

Fire up those brains!! :lol:
User avatar
5-Star General
5-Star General
Posts: 2961
Joined: Sat Apr 23, 2005 3:41 am
Location: Ontario, Canada
Wikia Username:
Jamie
PostPosted: Tue Aug 05, 2008 3:05 am
This is possible...

But the way I imagine it would work is:

When you create a quote anywhere on the database, you would use a template, like:

{{Quote|"I smell"|Smelly Man}}

Then, the automagic would be in having the template compile all of these quotes onto the

en.marveldatabase.com/Smelly Man/Quotes page...

Don't we already use quote templates?
Could we add some automagic, or would it require an overhaul?

Thoughts anyone?
User avatar
Major
Major
Posts: 2695
Joined: Sun Aug 27, 2006 1:03 am
Location: Texas
Wikia Username:
m1shawhan
PostPosted: Tue Aug 05, 2008 3:40 am
We could definitely do this...problem is that I think it will use a little tinkering with DPL to "pull" the info over. The best I can think of right now without it is listing pages that utilize quotes by that character...and that may be a little trivial for what I know you are wanting...Lemme see if I can get the inclusions DPL thing working and I'll let you know.
User avatar
Major
Major
Posts: 3149
Joined: Sun Jan 29, 2006 3:43 am
Location: Oklahoma
Wikia Username:
GrnMarvl14
PostPosted: Tue Aug 05, 2008 3:16 pm
I'm so far ahead of my time that it's scary.
Image
User avatar
Major
Major
Posts: 3584
Joined: Tue Apr 24, 2007 5:05 pm
Location: Albuquerque, New Mexico
Wikia Username:
Peteparker
PostPosted: Tue Aug 05, 2008 4:31 pm
Could this be another breakthrough?!?

So if you see Brad (GrnMarvl14)'s link, you'll see that I initially set up a trial of this very idea on Dark Horse.

I originally had whatever page was using the Quote template file itself into the speaker's 'Category:SPEAKER/Quotes' category.
However, this still didn't produce the quotes from that list of pages on the page itself.

Now, after playing with it a bit, I used a tiny bit of DPL to get this done. We can adjust the formatting to whatever we want, but here's the example. The issue would be similar to the /Appearances issue, that the template has no idea if you're putting in the correct speaker's name in the quote template, it just files the quote regardless of what's there. So running the redirect-fixing bot through the comic pages would fix this for all the comic pages with quotes, but inevitably, we'll have a lot of pages in [[Category:Wolverine/Quotes]] instead of [[Category:James Howlett (Earth-616)/Quotes]] since Wolverine points to a disambig and not the main guy's page.

Still pretty neat though. I'm assuming (with no real basis to do so) that the dpl load on the servers will be minimal since, #1, it'd cached, which means the quotes category pages will only update when they're saved or when the cache gets around to it, and #2, we probably wouldn't be creating every single character we have's quotes category page, but only the ones who either have a quote we know for sure, or show up in the 'wanted categories' special page. 8)


After a little afterthought, we could easily not have this in a category page, but on the same old quotes page, like Hellboy/Quotes. The categories would still exist, out of necessity, but we don't have to have the rest of the page on the category page. So that's an option to this too.
User avatar
Major
Major
Posts: 3149
Joined: Sun Jan 29, 2006 3:43 am
Location: Oklahoma
Wikia Username:
GrnMarvl14
PostPosted: Tue Aug 05, 2008 8:07 pm
[quote=peteparker]After a little afterthought, we could easily not have this in a category page, but on the same old quotes page, like Hellboy/Quotes[/quote]

That's EXACTLY what I was wondering if we could do. So that when a quote is added to a comic page, someone wouldn't ALSO have to add it to the Quotes page for that character, it would just be there, like an appearance. Thus, another page gets populated with minimal effort.

But would there also be a way to allow people to add quotes (some issues are just FULL of good quotes)? Or is it an either/or scenario?
Image
User avatar
Major
Major
Posts: 2695
Joined: Sun Aug 27, 2006 1:03 am
Location: Texas
Wikia Username:
m1shawhan
PostPosted: Tue Aug 05, 2008 10:48 pm
From the look of the code, it looks like it may be a both type of option. The only problem (here I go with the probs again...) would be if it pulls over a quote that is linked somewhere else and the person already put that quote manually on the page.

PS Nate - We'll have to make the page also add in the conversation templates (1-7) as well.
User avatar
Major
Major
Posts: 3149
Joined: Sun Jan 29, 2006 3:43 am
Location: Oklahoma
Wikia Username:
GrnMarvl14
PostPosted: Tue Aug 05, 2008 10:51 pm
m1shawhan wrote:From the look of the code, it looks like it may be a both type of option. The only problem (here I go with the probs again...) would be if it pulls over a quote that is linked somewhere else and the person already put that quote manually on the page.



Fairly minor problem, though, right? I mean, couldn't someone/anyone just erase the manually added quote?
Image
User avatar
Major
Major
Posts: 3584
Joined: Tue Apr 24, 2007 5:05 pm
Location: Albuquerque, New Mexico
Wikia Username:
Peteparker
PostPosted: Wed Aug 06, 2008 12:16 am
GrnMarvl14 wrote:[quote=peteparker]After a little afterthought, we could easily not have this in a category page, but on the same old quotes page, like Hellboy/Quotes


That's EXACTLY what I was wondering if we could do. So that when a quote is added to a comic page, someone wouldn't ALSO have to add it to the Quotes page for that character, it would just be there, like an appearance. Thus, another page gets populated with minimal effort.

But would there also be a way to allow people to add quotes (some issues are just FULL of good quotes)? Or is it an either/or scenario?[/quote]

That's a good point, the way this is set up, you'd have to put the quote into either the quote or the conversation templates. If you wanted to add a bunch of quotes, you'd probably either have to put them somewhere as {{quote|quotation|speaker}}. Wherever you put that, (or the conversation templates), it'll auto add them to the category.

To add a bunch of quotes from the same book, you could probably make a quotes subpage for the comic, like Comics:Exiles Vol 1 1/Quotes, and then just put them on the page using the quote or conversation templates. It's not a perfect system, but in that situation, you could list a ton of quotes from the same book, and they'd all be filed under the speaker or speaker's category, and in turn populate the quote page.

Thanks for the heads up, Matt, I'll take care of that asap.

Do you guys have a preference as to putting all this stuff on the Category:/Quotes page or the /Quotes page?


and yea, someone could go through and erase the manual quotes as they run into them. How many quotes pages do we have? (looks like only about 250).
User avatar
Major
Major
Posts: 3149
Joined: Sun Jan 29, 2006 3:43 am
Location: Oklahoma
Wikia Username:
GrnMarvl14
PostPosted: Wed Aug 06, 2008 1:08 am
Personally, I have no preference (as...is so often the case). I prefer whatever's easier for new users to understand (so there are fewer issues for those of us who know how things work to fix. And I say "us" in the hopes that once this is done, it'll be easy enough for me to understand so that I CAN fix mistakes made by random users, which is largely the case).

[quote=peteparker]How many quotes pages do we have? (looks like only about 250).[/quote]

Hopefully, if this system is implented, it'll up the number of quoted characters and make the quotes easier to find. Like with the Breakthrough on character appearances, it helps cut down on the work we have to do twice (I have another idea that's floating in my mind regarding something else. But I'm still trying to run across a potential problem I can put into words. What can I say? I like to, when possible, anticipate problems).
Image
User avatar
Major
Major
Posts: 3584
Joined: Tue Apr 24, 2007 5:05 pm
Location: Albuquerque, New Mexico
Wikia Username:
Peteparker
PostPosted: Wed Aug 06, 2008 3:48 am
The only bad ideas are ones that aren't shared with everyone.

I'm gonna try and install this feature on the regular quotes pages (not the category/quotes page) on Image, so we can see which we like better.

I don't really like having the page title twice on a page, but without something in the category's edit section, we'll have a whole bunch of wanted categories with nothing to put in them.

Maybe we could have the name under the quote be the character's name, but have it still be a link to the page that it's on. Like: [[Hellboy: Seed of Destruction Vol 1 2|Hellboy]]. Do you guys think that people will click on those links, or is that too deceptive?
User avatar
Major
Major
Posts: 3584
Joined: Tue Apr 24, 2007 5:05 pm
Location: Albuquerque, New Mexico
Wikia Username:
Peteparker
PostPosted: Thu Aug 07, 2008 2:55 am
Okey dokey pokeys,

Here's the Image version, and here's the Dark Horse version with the Name over the link tweak.

Let me know which you like better so I can install it! :)
User avatar
Major
Major
Posts: 2695
Joined: Sun Aug 27, 2006 1:03 am
Location: Texas
Wikia Username:
m1shawhan
PostPosted: Thu Aug 07, 2008 3:11 am
Personally "Dark Horse" one...gives the user the option to then click to the pages that relate to the quote as it is being used...gives the users more options!

BTW - that turned out GREAT!
User avatar
Major
Major
Posts: 3584
Joined: Tue Apr 24, 2007 5:05 pm
Location: Albuquerque, New Mexico
Wikia Username:
Peteparker
PostPosted: Thu Aug 07, 2008 4:42 am
Be sure to note that if you click on 'Hellboy' below the quote on that page, it'll take you to the page that contains the quote. ;)
User avatar
Major
Major
Posts: 3149
Joined: Sun Jan 29, 2006 3:43 am
Location: Oklahoma
Wikia Username:
GrnMarvl14
PostPosted: Thu Aug 07, 2008 9:25 pm
I agree with M1shawhan. More options (assuming it's not twice as difficult for you guys to implement, or new users to figure out) means more fun. Though they both look great. Especially with the big quotes that M1shawhan implemented.
Image
Next

Return to Template Discussion

Who is online

Users browsing this forum: No registered users and 2 guests