- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
Difference between revisions of "Talk:Main Page/Quote"
m (→Okay wtf who broke shit where.: a solution? omfg!) |
|||
Line 90: | Line 90: | ||
:::::Ah well, it was worth a shot. I'll see what I can come up with in the [[Template:Sandbox|sandbox]]. --[[User:GreyMario|GreyMaria]] 20:31, 20 November 2008 (EST) | :::::Ah well, it was worth a shot. I'll see what I can come up with in the [[Template:Sandbox|sandbox]]. --[[User:GreyMario|GreyMaria]] 20:31, 20 November 2008 (EST) | ||
+ | :::::UPDATE: It appears using <tt><nowiki>{{#expr: ((({{LOCALTIMESTAMP}} / 1024) + {{CURRENTDAY}} + {{CURRENTMONTH}}) mod {{{1|100}}}) + 1}}</nowiki></tt> seems to produce positive numbers for now. I'll go update [[Template:Rand2]] and see if it works. --[[User:GreyMario|GreyMaria]] 20:39, 20 November 2008 (EST) |
Revision as of 01:39, 21 November 2008
How to add quotes:
- Go to the line of the last quote.
- Add a line immediately after it (this should be before the closing }} brackets)
- type "|<!--YOUR-QUOTE-NUMBER-->YOUR-QUOTE-HERE" on that line
- (The quote number is not functionally necessary, but it allows keeping track of how many quotes there are without counting)
- Look at the first line of the template
- It should look something like this:
{{Choose|c={{#if: {{{1|}}}|{{rand|37}}|{{#expr: ({{rand2|10}}+27)}} }}
- Adjust the number that is in the place of the 37 to reflect the number of quotes in the list.
- Adjust the number that is in the place of the 27 to reflect ten less than the number of quotes in the list. (in this case.. 27)
- The purpose of the first number is to choose a random element from the list of quotes.
- The second lets us pick from among the last ten quotes in the list.
- Preview your reply to make sure nothing is broken (or someone will be able to see it on the main page before it gets fixed)
- Profit!
VengefulDonut 00:34, 27 February 2008 (EST)
For what it's worth, the nowiki formatting around square bracketed 'B' in the Toady quote about boats was simply in the interests of quoting accuracy; the original word was not capitalized and I still have that kind of formatting in my heart from college paper citations. --Alfador 12:16, 24 March 2008 (EDT)
- Ah. It looked to me like a weird, failed boats/bloats pun. I don't think it really matters; you can change it back if you like. --Savok 17:19, 24 March 2008 (EDT)
- Thank you! And done. --Alfador 11:27, 25 March 2008 (EDT)
Quote removal
Say, why was the "interrupted by carp" quote removed? I loved that one. --JT 02:58, 13 April 2008 (EDT)
- Blame Savok, he thought it was unfunny. --GreyMario 16:22, 24 April 2008 (EDT)
And regarding VengefulDonut stripping off that last one, PTTG's quote was simply hilarious. If you can't laugh at yourself, who can you laugh at? --JT 02:19, 29 April 2008 (EDT)
Thinking on this some more, the idea that anyone can just reverse a quote at their leisure strikes me as unusual. If a quote is an obvious spam, that's one thing; if a quote is something that you don't think of as funny, I think there should be some sort of consensus system involved. There are at least a couple existing quotes that I don't find funny in the slightest (Spiders Everywhere, you've been processed, GreyMario's), but I don't remove them. --JT
My 2☼ on the subject:
Unless a quote is offensively directed at a particular user/person, I don't see how there are any grounds for removal.
If it is, it's perfectly acceptable for the addressed person to remove it, if they so choose.
Additionally, you may remove quotes of yourself, whether or not they're offensive, regardless of who added the quote.
In all cases, it's the sole responsibility of the addressed person to remove a quote, not someone else.
I think that makes sense.. but perhaps I'm too far off base? --Edward 07:37, 29 April 2008 (EDT)
- When anyone is able to add a quote at their leisure, we will naturally end up with plenty of quotes that aren't funny. If anyone is able to remove a quote at their leisure, quotes that aren't funny will disappear. This is parallel to the wikipedia editing process in general, and I think this kind of process has decent results. Although I am open to other proposals.
- On the topic of racy jokes: I'm sure there are plenty of group-targeted jokes that could be stated in DF terms that would be very funny; just pick a group, a metaphor, and a stereotype. But even if you tell a member of that group to grow a thicker skin or to stop taking themselves seriously or learn to take a joke, it doesn't turn the joke from something alienating to something entertaining. In the right context, those kinds of jokes can be very funny even to those on the butt end of them. Standup comedians succeed or fail based on their ability to create it. But I don't think that the front page is the right context. VengefulDonut 10:24, 29 April 2008 (EDT)
- Unless its blantantly offensive I don't think "unfunny" is a reason to remove a quote, we each have our own sense of humour, such debate should be placed here on the discussion page imo. --Markavian 20:30, 25 May 2008 (EDT)
- Bleh. I'd like to, but nobody answers most discussion page debates in reasonable time. If we become more regularly active in discussion page debates (which isn't hard - we've got several that any experienced player can add to), we might be able to do that. As it is, the responses are usually at least a few days, often months apart. And then, occasionally, we get one that has five people with fifteen comments in a day or two. --Savok 23:45, 31 May 2008 (EDT)
As I've said before, if you want to revert those of my deletes that you really think should stay, that's fine. The way I see it, and the way some have said before me, anybody can, if they think it's funny enough, add a quote to the page. Of course, we will get some pretty poor quotes that way, so anyone can, if they dislike it enough, delete a quote from that page. If an edit war occurs, we can take it to the talk page (with the war attention, we'll actually have commenters), where it can be resolved. We Are Not Wikipedia. We're too small for that; everyone knows everyone else and anyone can monitor all edits if they have a little time to spend.
--Savok, rambling at 23:45, 31 May 2008 (EDT)
Too untasteful?
I found this on the forums:
Goatsects the Raw Red Anus of Stretching
For? Against? --Savok 22:56, 24 June 2008 (EDT)
I'm for it. DF has people exploding in gore. Besides, these words are in the game anyway.
-- InquisitorSaturn 01:44, 3 July 2008 (EDT)
I'm for it. Lets be honest; how many people are likely to come to this wiki that aren't mature enough to enjoy a little mature humor. If anything people are more likely to complain that it didn't make them laugh then that they are worried that kids might see it. --Silver 01:29, 23 July 2008 (EDT)
- Nobody gives a fuck about the kids, man. --GreyMaria 22:32, 29 October 2008 (EDT)
Multi-Line Quotes
I assumed your multi-line quote was an error because it rendered incorrectly when it appeared on http://www.dwarffortresswiki.net/index.php/Main_Page/Quote , and did so again when you restored the original. I've re-re-restored it in the interests of peace but I do note that the text extends outside the box and one line actually appears below the box. I'm less certain whether it appears this way on the main page. Perhaps we need a different way to enter multi-line quotes? --Corona688 15:39, 31 October 2008 (EDT)
- The quote that's causing problems is kinda long, either way. How about we just bonk it on the head?--Maximus 19:15, 31 October 2008 (EDT)
- But it's funny. :( --Corona688 01:55, 1 November 2008 (EDT)
- Just out of curiosity, what browser? It appears just fine in Firefox 2. --GreyMaria 17:39, 4 November 2008 (EST)
- Firefox 3. --Corona688 15:19, 11 November 2008 (EST)
Okay wtf who broke shit where.
On the main page, the second random quote is just a '. WHAT GIVES? --GreyMaria 14:32, 20 November 2008 (EST)
- I can't find any recent changes to the code of the selector, and given that the first selector works, it's hard to blame a syntax error either. The mainpage does a weird thing to guarantee the quotes are different, passing |1 to the page as a parameter or...something. Someone who knows wikicode may know what's going on. --Corona688 15:13, 20 November 2008 (EST)
- The problem is a bit deeper. template:rand and template:rand2 use the mod function inside a #expr to mod the current timestamp and return a number in a specified range. The mod function is returning negative values for large inputs (this is a bug). Since it seems I can't guarantee a positive number will have a positive mod, I don't know how to modify the templates to make sure they keep returning positive numbers.
Smaller inputs would be nice, but I need it to vary with time, and those are the ones that are blowing it up. Also, I don't have absolute value or any binary number operations, so those methods are out. Absolute value would be available with a newer version of parser functions, but convincing Senso is an obstacle there. I'm really not sure how to remedy this. Anyone have ideas? VengefulDonut 19:43, 20 November 2008 (EST)
- The problem is a bit deeper. template:rand and template:rand2 use the mod function inside a #expr to mod the current timestamp and return a number in a specified range. The mod function is returning negative values for large inputs (this is a bug). Since it seems I can't guarantee a positive number will have a positive mod, I don't know how to modify the templates to make sure they keep returning positive numbers.
- I say divide the end result before modulusing by 4. That'll still give pseudo-random numbers, just less often, and might work until a better fix rears its not-so-ugly head. --GreyMaria 20:12, 20 November 2008 (EST)
Good idea. I'll try it. VengefulDonut 20:21, 20 November 2008 (EST)- Didn't work. VengefulDonut 20:23, 20 November 2008 (EST)
- Feel free to fool around with template:rand and push a fix if you can find one. Just make sure to preview. VengefulDonut 20:24, 20 November 2008 (EST)
- Ah well, it was worth a shot. I'll see what I can come up with in the sandbox. --GreyMaria 20:31, 20 November 2008 (EST)
- UPDATE: It appears using {{#expr: ((({{LOCALTIMESTAMP}} / 1024) + {{CURRENTDAY}} + {{CURRENTMONTH}}) mod {{{1|100}}}) + 1}} seems to produce positive numbers for now. I'll go update Template:Rand2 and see if it works. --GreyMaria 20:39, 20 November 2008 (EST)