Talk:Touhou Wiki/Mainpage

From Touhou Wiki
Jump to: navigation, search

Designs[edit]

Mainpage Implementation[edit]

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 Dropbox.

Please tell me what you think.

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

Done Yet?[edit]

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 (Talk/Con.) 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 (Talk/Con.) 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[edit]

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[edit]

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)
Yes, Chloe and I currently believe the issue stems from APC (Alternative PHP Cache) is total chaos. It especially dislikes my page, but load time issues also occur on startup and intermittently throughout the day, especially on the English wiki. Until we can resolve these issues, I'm afraid the front page will have to wait. K 05:02, 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)
Lay off the hallucinogenic drugs, pal. K 05:02, 8 July 2011 (UTC)
Maybe. It was pretty late. --Tsukihime 13:51, 8 July 2011 (UTC)
Good Luck! I'm sure that you can figure it out! ♥★♦ 03:59, 9 July 2011 (UTC)
Server load issues appear to have been fixed by chloe. Front page has been brought back online. Check the current Sitenotice for details. K 16:01, 13 July 2011 (UTC)

Beta Testing[edit]

Note[edit]

To check out and approve any fixes to the main page, please go to my development instance of the page. I will wait until the end of this weekend before submitting the updated page to Chloe. K 16:07, 15 July 2011 (UTC)

Front page for touhouwiki.net has been updated. K 05:43, 18 July 2011 (UTC)

Language boxes[edit]

It's not an issue as much as user preference, but the border isn't clickable (as in links) and only the text is.

I'm not the one to offer criticism and not say how to fix it, so perhaps you can make it a image and have the border highlight when you hover over it, but it might just me being nit-picky.

The design though is nice! ♥★♦ 20:33, 13 July 2011 (UTC)

That may be due to the browser you're using. I'm on chrome and can click on the box around the text --Tsukihime 15:05, 15 July 2011 (UTC)
Well then, firefox5.0 isn't making the box clickable. It appears clicking the box itself has another function, which changes the search box's wiki selection. -Hp78 15:20, 15 July 2011 (UTC)
Yes, this is the intended behavior. Clicking the box surrounding the text will select the language for searching. Clicking on the text itself will take you to that wiki. K 15:48, 15 July 2011 (UTC)

i can't change the language on Opera 11.5, Firefox 5 and Internet Explorer 8; i have to use keyboard to select the language because it will automatically switch back to english when clicking with the mouse. It's working fine on Chrome. Hakkai 02:31, 16 July 2011 (UTC)

It works fine for me on FF5 and IE8. -Master Bigode 02:51, 16 July 2011 (UTC)
I am talking about the drop-down list (select list).Hakkai 10:36, 16 July 2011 (UTC)
Outstanding bug that was reported to me yesterday by Kyori. Now that I have some time to spare, I'm going to figure out what the hell's up with it. Probably some dumb event handling failure on my part. K 21:23, 16 July 2011 (UTC)

Polish plural form[edit]

I like the desing. It's simple and clear but there is still problem with plural form of Polish word "hasło". If you want to fix it, then the rule is similiar to Russian and Ukrainian. I wrote it earlier on this page in details. Pvc 14:58, 15 July 2011 (UTC)

I would appreciate if you could provide more information on the exact nature of this problem. This code was based on the specifications that you gave me 3 months ago. As far as I can see, the code adheres to the specifications. Was there an error in the specification? If so, please inform me and I will have it fixed instantly. K 15:48, 15 July 2011 (UTC)
Disregard that. there was a break; missing in there. I suck. K 16:03, 15 July 2011 (UTC)
So should it be 164 haseł or 164 hasła?--Tsukihime 16:07, 15 July 2011 (UTC)
Yea.. explaning what is wrong not how to fix it, fixes things. Let's take 5 Haseł vs. 5 Hasła, and 2 Hasła vs. 2 Haseł. What I mean is that after 5 it should be always Haseł, instead of Hasła. Berzul 16:31, 15 July 2011 (UTC)
Sorry I wasn't home recently. It should be 164 hasła (last digit is 4 and previous digit is 6 != 1), 5 haseł (last digit 5 is diffirent from 2, 3 or 4) and 2 hasła (last digit is 2 and previous digit 0 != 1). If it would be 314 then it should be 314 haseł (last digit is 4 and previous digit == 1). Later today I will post some code for this. For now I am busy painting my car (it burnt T_T last weekend). Pvc 13:01, 17 July 2011 (UTC)
Ok. Here is the code that is working properly. The rule I wrote before was ok. There was a small bug in your code that could be the problem (not talking about missing break but about missing else). Actual code are rows 4 to 20.
Oooh, nice site. Added change. K 00:42, 18 July 2011 (UTC)

Beta Testing Phase 2[edit]

Working with the dropdown box proved to be far too troublesome for not enough benefit. With Javascript enabled, it provided functionality that was already offered by the language selection boxes. With Javascript disabled, it was totally useless anyway. As such, I have decided to remove it. Removing the dropdown and all code associated with it also made things a bit cleaner.

As it stands, this will be the end of work on this page, unless a bug as major as the dropdown mouse selection bug appears. The version on touhouwiki.net shouldn't need to be updated anymore. Enjoy, everyone! K 05:43, 18 July 2011 (UTC)

I think you should have left the dropdown but disabled it. That way, we can still see in which language we are doing a search. Clicking on the languages box is not a very common thing and unaware people might not notice it. (You could maybe also add a line to inform the user on this feature) Hakkai 01:58, 19 July 2011 (UTC)

Again, is more of a suggestion, but have you considered using pop-out for your links? ♥★♦ 01:48, 23 July 2011 (UTC)

Suggestion drop box[edit]

Ok I have the idea of a lot people getting ideas etc... So as for the page development goes on, and on we need "professional" designing tools. That is why I want to suggest a text box... somewhere possibly on the side of the wiki that anyone would be able to leave a message there. Quite possibly those "sensitive" messages/Feedback would be accessible by a page on this wiki. At any rate, this aims actually to at least catch a glimpse of what "features" people can suggest and how they work for them. Who would develop such a tool? Will see... Berzul 01:45, 12 September 2011 (UTC)

Someone correct me if I'm wrong, but isn't this why we have Talk pages? For example, the very page you put this request on (Talk:Touhou Wiki/Mainpage) is a suggestion box for the main page of Touhou Wiki. Every page has its own discussion page/suggestion box/whatever-you-want-to-call-it built in. There's no sense in duplicating such functionality when it already exists. K 18:25, 12 September 2011 (UTC)
If everyone that remotely uses the wiki would do that It would be ok then, but as longest I am talking about viewers that just browse the wiki... it makes more sense then. How many people and how valuable the information from them is... it's a different topic. Berzul 18:48, 12 September 2011 (UTC)
I'd like to add that this gives a voice to those unwilling to register an account (i.e. anonymous). Such functionality does not exist, as non-members do not have any privileges to edit Talk pages (and the only reason this isn't allowed is to reduce spam). - Kiefmaster99 23:42, 12 September 2011 (UTC)


Curious~[edit]

(Take 2, because I keep thinking of too many things...) So yeah! Just a little suggestion...I know there used to be stuff on the left menu, such as links to the List of Characters, List of Spell Cards, etc. Will that be put back over there, added to the front page menu, or just dropped altogether? Xenomic (talk) 03:04, 27 August 2012 (EDT)