• Welcome to Touhou Wiki!
  • Registering is temporarily disabled. Check in our Discord server to request an account and for assistance of any kind.

Talk:Touhou Wiki/Mainpage: Difference between revisions

From Touhou Wiki
Jump to navigation Jump to search
(→‎Ready for Takeoff: and haven't fully takeoff)
Line 110: Line 110:
* Speak of the devil, it's live! Check it out at [http://touhouwiki.net touhouwiki.net]. [[User:K|K]] 01:18, 8 July 2011 (UTC)
* Speak of the devil, it's live! Check it out at [http://touhouwiki.net touhouwiki.net]. [[User:K|K]] 01:18, 8 July 2011 (UTC)
:and it's down for several problem occur - [[User:KyoriAsh|KyoriAsh]] 02:33, 8 July 2011 (UTC)
:and it's down for several problem occur - [[User:KyoriAsh|KyoriAsh]] 02:33, 8 July 2011 (UTC)
:I saw a 3D rendering of yukari performing some spell on the clock. What was that! --[[User:Tsukihime|Tsukihime]] 04:32, 8 July 2011 (UTC)

Revision as of 04:32, 8 July 2011

Designs

Mainpage Implementation

I'm working on a mainpage implementation, which will be visible when you go to http://www.touhouwiki.net/. It's very very simple right now, and is similar in function to Wikipedia's mainpage, with a language selection and whatnot. You can see it here: http://www.distant-mind.com/touhouwiki/. Please give your critique! IMO it looks pretty bad (the title could be a nice image), but if you have any suggestions or other design ideas, post them here! Momiji 19:09, 5 April 2011 (UTC)

I know you don't want to be anglocentric, but I still think that the English wiki should have a prominent place on that page. As far as I can see, all the other language wikis are just more or less incomplete translations of the content here, with some even being completely inactive. So we should definitely indicate that this one is the main information repository. --NamelessLegacy 20:29, 5 April 2011 (UTC)
I could set the logo/title as a link to en. Momiji 20:38, 5 April 2011 (UTC)
Perhaps some sizing could be done. The links to larger wikis (which seem to be en and zh) are displayed in a larger font size than ones to smaller wikis (such as it and sv). K 21:12, 5 April 2011 (UTC)
Is it? They're all using the same CSS class. Post a screenshot of what you see, if you may. Also, I'm still editing it so make sure you force-refresh it whenever you look at it. Momiji 21:29, 5 April 2011 (UTC)
Haha, my bad. There's no error, just a grammar failure on my part. s/are/could be/ (this translates to "I meant to say 'could be displayed' rather than 'are displayed', oops.") K 22:50, 5 April 2011 (UTC)


Hm, why not? I'll put one up as well. Made it about a month ago. It's, ahem, heavily inspired by Wikipedia's front page. Some of the positioning could be tweaked around, among other things. Tell me what you think! K 21:12, 5 April 2011 (UTC)

At one point I was considering making the central graphic change according to what language the user is currently hovering over. This would require a set of images to be made, though. Does this sound like a good idea? K 21:12, 5 April 2011 (UTC)
Ooh, I like it. Maybe it could have some more color in the bg though? (Gradient, design? just..anything but plain white plz lol). I don't think sticking close to wikipedia's design is a bad thing either d(' v '. Mizutori 21:32, 5 April 2011 (UTC)
Yeah, I didn't add a background image yet. I'll put up something really simple soon, though. It may or may not be a placeholder. K 22:52, 5 April 2011 (UTC)
Status update: Prettified some things, and the page now pulls article counts as provided by the MediaWiki API. Items are now sorted by article count. Look nice? K 21:29, 6 April 2011 (UTC)
Also, the header is still changeable. Some people might say that the font and other such stuff doesn't fit the "feel" of the Touhou Wiki. It's (mostly) temporary, but I do think that smallcaps and serif fonts look classy, haha. K 21:43, 6 April 2011 (UTC)
That looks really good imo. :D And it does look classy. My only gripe with it is that the content is low enough to cause scrolling, at least on my screen... Maybe if the header was nudged up a bit? / 2 cents.
Also... this made me realize how big the English wiki is. And how small the other other language wikis are... .__. Mizutori 22:02, 6 April 2011 (UTC)
Funny you should mention the words "big" and "small". At one point I was considering adjusting the font size for each language based on how many articles they had. However, I've decided against it. K 03:59, 7 April 2011 (UTC)
So, about Russian plural forms of word "article". They depend on last number of numeral. So, if you have *1, you should write "*1 статья" (21 статья, 381 статья, 1001 статья, etc). If you have *2, *3, *4 — you must spell it "статьи": 2 статьи, 3 статьи, 4 статьи, 53 статьи, 2102 статьи, etc. For other numbers use "статей" (0 статей, 100 статей, 35 статей, 378 статей). There are four exeptions for those rules — 11, 12, 13, 14. All of them are "статей" (11 статей, 12 статей, 514 статей, 1013 статей). Wikipedia reference. Probably somebody should also ask Polish wiki users, because their language can also have rules like this. --Coyc 23:55, 6 April 2011 (UTC)
Ah, I expected that there'd be at least one language with a technicality like this. Well, that sort of thing shouldn't be too hard to program in. If anyone else can lend their expertise in other languages for this, I'll gladly listen. K 03:42, 7 April 2011 (UTC)
Should be good now. K 03:56, 7 April 2011 (UTC)
K, is 条目(zh-cn) or 條目(zh-tw) instead of 文章 - KyoriAsh 04:58, 7 April 2011 (UTC)
In Polish language the rule is "1 hasło" (this is an exception). When last digit is 2, 3 or 4 AND previous digit != 1 it is "%d hasła" ("2,43,54 hasła"). But when last digit is 2, 3 or 4 AND previous is 1 then it should be like this "12, 113, 314 haseł". In any other case it is "%d haseł" ("0,61,21,5,16,47,18,9,100 haseł"). I know it is quite complicated but it's Polish language :) — Pvc 19:24, 7 April 2011 (UTC)
I've updated the page to have the central orb point itself toward whatever language the user rolls over. I also tried to work on adding animation to it, but the animation has one small bug in it, which can be reproduced by rolling between the English and Chinese items. As I've put far too much time into attempting to squash the bugs in it, I have left animation disabled by default. If you still want to see it, press spacebar. This will toggle animation on or off. See for yourself! K 00:58, 8 April 2011 (UTC)
Personally I think it looks better without any animation at all Vecktor 02:19, 14 April 2011 (UTC)
I fixed it to work better in Internet Exploder. http://dl.dropbox.com/u/1651507/thwiki.zip - I just added a folder named 'ie' and some code in index.html. I'm assuming it's probably dynamically generated, so you'd have to edit in the changes. I'll see if I can finish fixing it later. ReimuHakurei

Regarding the article counts, the counter is bugged in all wikis hosted here except this one. Master Bigode 17:45, 9 April 2011 (UTC)

I'm using the MediaWiki API to retrieve article counts, so it'd an issue with the MediaWiki software itself in this case. Perhaps a little updateArticleCount.php would do some good? K 19:06, 9 April 2011 (UTC)

Argh. Internet at home has decided to totally die for the past 16+ hours. Home is where the server hosting my frontpage design is. Thankfully, smartphones exist, so I can at least tell people why I'm mostly dead to the world. Hopefully the ISP can get its act together soon, though. Apologies for the downtime! K 11:23, 10 April 2011 (UTC)

Service has been restored. K 18:59, 10 April 2011 (UTC)


What about the Japanese Touhouwiki? --Deimos 20:09, 24 April 2011 (UTC)

It is separate wiki. Not to mention that Japanese Touhou community itself is separate from Western one. --WGH 07:33, 26 April 2011 (UTC)

And, by the way, what are we waiting for? As I can see, (almost) everything is ready. --WGH 07:33, 26 April 2011 (UTC)

As for Ukrainian TouhouWiki — it has the same numeric system, as Russian, Polish and all other slavic languages:
1 стаття (31 стаття, 101 стаття)
2, 3, 4 статті (32 статті, 302 статті)
5-20, ~0 статей (15 статей, 58 статей, 80 статей)
--Deimos 14:19, 27 April 2011 (UTC)

Uh... I'm jumping in with my own creation. I have no real website, so you'll just have to download it from Mediafire.

Please tell me what you think.

♥★♦ 02:58, 24 June 2011 (UTC)

Done Yet?

So it's time to implement it? - KyoriAsh 16:28, 12 May 2011 (UTC)

Let's put out a vote. We'll take the majority even if there are only 5 participants. Because that is how democracy works. --Tsukihime 14:23, 13 May 2011 (UTC)
I vote for myself. X] Momiji 15:00, 13 May 2011 (UTC)
Sorry Momiji, but I would go for K's. Could try and improve the quality of the image when it turns then it may get more votes... (again, sorry Momiji... but that's just my opinion. Hope there's no affect to this ;) --Tony64 15:12, 13 May 2011 (UTC)

I vote yes? ♥★♦ 16:12, 14 May 2011 (UTC)

My opinion, really, is that I personally don't want the mainpage to look like a blatant rip of Wikipedia. With all due respect to K, he's more capable than I am coding-wise, but I really wish someone with good webdesign skills would try putting something together, at least a template, so we can try melding our ideas together. Momiji 23:55, 14 June 2011 (UTC)

Without a doubt the design is derivative. It's also somewhat inflexible (see: the addition/removal of other languages). Because of that, I've been meaning to change it, I just didn't really have any original ideas in my head at the time. Shall we fuse? K 02:22, 15 June 2011 (UTC)
In terms of pure aesthetics, I like K's more (font choice, background, presentation). But, if looking like Wikipedia is the problem, I'd like to propose a design idea. Take K's page, them move the language links to the bottom somehow and encase that in a blue box. You'll lose that neat "Yin-yang following you" though. - Kiefmaster99 02:30, 15 June 2011 (UTC)
Good! I wasted far too much time trying to make that stupid thing spin around smoothly, especially given the non-serious nature of the idea for it. K 02:33, 15 June 2011 (UTC)
So how about having the yin yang orb follow the cursor! --Tsukihime 12:56, 15 June 2011 (UTC)
Go back to the 90s. K 13:01, 15 June 2011 (UTC)
How about on-screen danmaku, and if people want to click on the link they must avoid bullets --Tsukihime 13:12, 15 June 2011 (UTC)
That sounds like a pretty daft idea Tsukihime. I don't think people would want to be given a task every time they want to click the link to collect knowledge... --Tony64 17:32, 15 June 2011 (UTC)
Once they successfully clear the stage they'll receive a password that they can input to avoid having to dodge the bullets again next time around. --Tsukihime 14:33, 17 June 2011 (UTC)
Will this password be generated specifically for the user's machine, or will the passwords be the same for everyone? If it's the latter, I can forsee such a password system being essentially useless once some particularly generous people clear the danmaku. It'll also be instantly useless if you store the passwords in plain sight in the scripts. K 14:45, 17 June 2011 (UTC)
The password will be stored on the wiki, so you will need to be able to access the wiki! =D --Tsukihime 15:22, 17 June 2011 (UTC)

Mainpage Design 2: Design Harder

Okay, so let's go for another round of this whole mainpage thing. I've been trying to come up with some designs that aren't blatantly similar to those of certain other large wikis. As always, the work-in-progress version can be found on my site.

The yin-yang orb is currently commented out until I can think of a better place to put it. In response to the issue of the circular design being a bit too inflexible, I'm experimenting with something a bit more square. The size of each language selection can be changed and the list (or more accurately, the browser) will do its best to reflow the list. Right now I have a very rough demonstration of it implemented in the Javascript file, but this means that the page won't look the way it "should" until it's finished loading. This will be fixed when I move the logic into the PHP file. Also, this was present in the older version, but tabindex is implemented for accesibility and laziness, so try to mash on Tab a bunch.

Suggestions and criticism are appreciated! I'm especially curious as to where the yin-yang orb should go. K 14:41, 17 June 2011 (UTC)

I'm back again, and I've got a little something to show for it. The main page now features a search bar that supports multiple languages! Rolling over languages on the top of the page or selecting them from the dropdown list will change the wiki your search will run on.
Known issues include keyboard accessibility (using the keyboard to navigate away from the fancy dropdown list doesn't collapse the list, and every attempt I've tried to fix it before has created even more undesired behavior) and the lack of translations for the word "Search" in all the languages. Any help on these fronts, especially the latter would definitely be appreciated. The translation and localization should hopefully be easier than it was for the word "articles".
I also plan to add search suggestions to this search bar, similar to those that you see here on this wiki. The MediaWiki API offers a service call to the OpenSearch suggestions list, which will definitely prove to be very useful.
After that, all that's left is finding a good place to put the orb (still haven't thought of one yet!) and polishing off the design, and it should be good to go. K 20:50, 23 June 2011 (UTC)
UPDATE: Search suggestions are halfway there. The backend code is done, but the frontend code is just getting started. Check it out! K 19:36, 24 June 2011 (UTC)
UPDATE II: Search suggestions are basically fully functional and perhaps even keyboard friendly! With this, I feel that my main page design is practically complete. As before, remaining tasks include image placement, localization, and fixing any bugs that manage to creep up. K 19:14, 27 June 2011 (UTC)
P.S.: As with the whole "articles" in multiple languages thing, I would appreciate it if people could offer me their foreign-language expertise for translating "Search Touhou Wiki" into various languages. For now I suppose I can just use Google Translate, but I get the feeling this won't be perfect in all cases. If there's something wrong, speak up! K 19:14, 27 June 2011 (UTC)

-- That mainpage is 100% Gensokyo approved! Looks good! ♥★♦ 19:52, 24 June 2011 (UTC)

Ready for Takeoff

Okay, I think I'm done here. Sent the files off to Chloe. Page should hopefully be live soon. Everything should be working fine, so hopefully I don't have to make any emergency patches. Let's go! K 01:16, 8 July 2011 (UTC)

  • Speak of the devil, it's live! Check it out at touhouwiki.net. K 01:18, 8 July 2011 (UTC)
and it's down for several problem occur - KyoriAsh 02:33, 8 July 2011 (UTC)
I saw a 3D rendering of yukari performing some spell on the clock. What was that! --Tsukihime 04:32, 8 July 2011 (UTC)