Notandaspjall:Steinninn
Úr Wikivitnun, frjálsa tilvitnanasafninu
|
Velkominn á notendaspjallið mitt!
Vinsamlegast notaðu titil síðunar sem þú vilt spjalla um sem fyrirsögn og skrifaðu undir með fjórum tiltum „ ~~~~“ Takk! Athugið: Ég mun svara hér, og ef ég hef haft samband við þig, þá skaltu svara þar. |
Steinninn |
|---|
[breyta] RimBot
Hey,
Would something like User:Mmenal/statistiques / User:Mmenal/NUMBEROFQUOTES / User:Mmenal/NUMBEROFQARTICLES be OK ? You'll need to check the first page, especially because most of the articles listed as "0 quote" actually have quotes, but don't use {{Tilvitnun}}.
Please report any bug you'll find or any improvement/fix you want me to make, and I'll start updating these stats automatically when everything's OK. :) Manuel Menal 18. september 2007 kl. 20:30 (UTC)
- Can I translate any of the text? I think it looks good. We've had some problems with film quotes. The seem to get random whitespaces like Óðal feðranna. That's why so many article seem to have 0 quotes. How do you notice duplicated quotes? Do they have to be 100% the same? All in all, I think it looks good. --Steinninn 18. september 2007 kl. 21:52 (UTC)
- Yes you can, just translate the page and I'll add the icelandic messages to the code (there's already english and french in there).
- Duplicated quotes do not have to be 100% the same: I just strip the quotes of all non-alphanumeric chars (like punctuation or wikisyntax) and check if the edit distance between this quote and the others is less than 3. Of course this doesn't catch all duplicates (two different translations of the same quote can be very different), but I've never seen any false-positive so far.
- As for film quotes, I can't see random whitespaces in Óðal feðranna — or am I looking at the wrong place? :)
- Cheers, Manuel Menal 18. september 2007 kl. 22:02 (UTC)
- Compare Óðal feðranna with Sódóma Reykjavík, the first one shows a lot more whitespace then the next one. At least on Safari. --Steinninn 18. september 2007 kl. 22:14 (UTC)
- Oh, I see. You seem to be trying to emulate the poem extension through {{persóna}} by adding a <br> tag at the beginning of this template. I don't think it's a good idea — you'll end up with problems like this one.
- The solution is to use the <poem> tag, but you can't use it inside a template right now (it's planned for future MediaWiki versions). So you'll have to use something like :
- Compare Óðal feðranna with Sódóma Reykjavík, the first one shows a lot more whitespace then the next one. At least on Safari. --Steinninn 18. september 2007 kl. 22:14 (UTC)
{{tilvitnun
|kvikmynd =<poem>
{{persóna|Stefán}} Ætlar'u ekki að koma inn aftur?
{{persóna|Helgi}} Heldurðu að pabbi hefði kært sig um að hlusta á lygablaður þarna inni?</poem>
}}
-
-
-
- At least that's what we do on fr:wq, after talking with many MediaWiki devs. I wish it was more user-friendly, but I hope it'll change soon. Manuel Menal 18. september 2007 kl. 22:42 (UTC)
- The feeling is mutual, I'd love to have it userfriendly. But we got to work with what we've got. Is there a bug I can vote for? Where can I read more about poem? I've never seen it. Anyway. I think I've fixed the article. Let's see what Cessator thinks about the bot and then you can get it up and running. --Steinninn 18. september 2007 kl. 23:00 (UTC)
- Is q:Utilisateur:RimBot/interprojet coming to? --Steinninn 20. september 2007 kl. 04:47 (UTC)
- At least that's what we do on fr:wq, after talking with many MediaWiki devs. I wish it was more user-friendly, but I hope it'll change soon. Manuel Menal 18. september 2007 kl. 22:42 (UTC)
-
-
- I agree with Steinninn, this looks very promising. --Cessator 20. september 2007 kl. 05:10 (UTC)
Okay, then I'll try to set it up as soon as possible. How often do you want the stats to be updated? In fr:, RimBot updates the template (NUMBEROFQUOTES and NUMBEROFQARTICLES) every 2 hours and the statistics page is updated twice a day. I think it doesn't need to be as often on is:, seeing your RC ; maybe four times a day (every 8 hours) for the templates and once a day for the stats? Of course, it can be changed afterwise.
As for fr:Utilisateur:RimBot/interprojet, it works on projects that use a special template for interproject links : e.g., you can see on fr:Victor Hugo that we have links to "Wikipédia", "Wikisource" and "Wikimédia Commons" just on top of the interlanguage box. My bot automatically adds interproject links (like an interwiki bot) and generates these stats. I can easily do the latter for is:, but the former will be difficult, considering I don't know the language. If one of you can run a pywikipedia bot, I can send the code, though. Manuel Menal 20. september 2007 kl. 09:11 (UTC)
- Let's consintrate on the quote count first. every 8 hours and once a day sounds good. Sadly we still don't have as much activity as on fr: (soon, soon...) --Steinninn 20. september 2007 kl. 15:06 (UTC)
-
- Okay, I've just set it up. Two small things : the part If the first field is N and the second M, it means M quotes appear N times (in N articles)) is not translated ; and how should I say "Updated statistics" in icelandic?
- You might want to give User:RimBot the botflag so it doesn't pollute your RC.
- Cheers, Manuel Menal 20. september 2007 kl. 16:38 (UTC)
- "Updated statistics" would probably be „Tölfræði uppfærð“. Botflag given. And thanks so much for all your help.
- The French wikiquote looks so much better then the English one. The light blue and dark blue feature in talk pages looks very good. Our front page is a bit of a copy past from yours. Anything els you would recommend here from your experience at fr.wikiquote? --Steinninn 20. september 2007 kl. 16:47 (UTC)
Woops, my bad — consider it as a dry run. ;) It should be OK now.
The bits I like a lot about how the french Wikiquote looks are the per-namespace background colors and the colours in the history. I also like how every quote and every reference appears the same way — every article in en: seems different from another, and I have to spend some time finding out where is the author, the name of the work…
If you're looking for a "general" piece of advice, define as soon as possible your requirements for quotes and sources — do you accept "personal" quotes, should the quote be meaningful in itself, do you accept quotes from self-published books… We've already had a few cases where people try to add their own quotes, or add too many non-notable quotes from a work (e.g. South Park or another TV show)… It's a lot easier to manage if the rules are decided before the situations arise. As for sources, well, you probably know fr: is very, very strict about sources (no unsourced quotes, all sources should provide the page number and so on), so you know my position. ;-)
Thanks, Manuel Menal 20. september 2007 kl. 23:31 (UTC)
- Er, Houston, we have a problem. Your main page, Wikivitnun:Forsíða, is cascade-protected, so Snið:NUMBEROFQUOTES and Snið:NUMBEROFQARTICLES, which are included in the main page, are also protected.
- Maybe you should disable the cascade protection — do you really need it?
- Thanks, Manuel Menal 20. september 2007 kl. 23:35 (UTC)
- Nope, we don't need it. --Steinninn 20. september 2007 kl. 23:37 (UTC)
- Thanks, stats updated. Manuel Menal 20. september 2007 kl. 23:38 (UTC)
- Nope, we don't need it. --Steinninn 20. september 2007 kl. 23:37 (UTC)
[breyta] Quote of the day
Nope, that shouldn't be hard to write. I hope I'll be able to do it in the next few days — I've got many things to do IRL right now. I'll get back to you shortly. Cheers, Manuel Menal 23. september 2007 kl. 21:02 (UTC)
- Yeah, sorry, I thought I'd told you about it already… See Notandi:RimBot/qotd. Could you tell me how you want it to look? (right now it looks like the QOTD on fr: main page).
- Maybe you could reuse our system — a main template, {{citation du jour}}, and per-day sub-templates, like {{citation du jour/30 janvier 2007}}. This way you can have a list of the previous QOTD on one of your pages (like [[:fr:Wikiquote:Citation du jour).
- Thanks, Manuel Menal 21. október 2007 kl. 10:05 (UTC)

