Talk:Www.wikipedia.org template/2010

From Meta, a Wikimedia project coordination wiki

Sorting/Korean?

Someone reported to the en main page that the Hebrew wikipedia is over 100k but my own quick look suggests it's fallen below again although perhaps it would have surpassed 100k for good once someone gets to this. Anyway more to the point, I'm not really sure how the sorting is done it appears to me to use the alphabetical order of transliteration of the word/name (as given when you hover over the link). That's why I had problems finding Hebrew/עברית "Ivrit". While this seems a good idea, I'm a bit confused why Korean/한국어 ("Hangugeo") is between Japanese/日本語 ("Nihongo") and Norsk (bokmål). Shouldn't it be between Français and Bahasa Indonesia, or is there some greater subtality that I'm missing? Nil Einne 14:04, 10 January 2010 (UTC)

Good catch. I've moved it to where "Hangugeo" would be in the list. – Minh Nguyễn (talk, contribs) 08:12, 12 January 2010 (UTC)

Hebrew Wikipedia

has over 100,000 articles. Daniel B 19:29, 10 January 2010 (UTC)

Done -Barras talk 20:26, 10 January 2010 (UTC)
At the main www.wikipedia.org page the link to he.wikipedia was appropriately moved to the 100,000+ section, but the word for "search" was not added under the globe.
The Hebrew word is חיפוש. Can anyone please add it? --Amir E. Aharoni 15:52, 11 January 2010 (UTC)
Done, I added the following: • <span lang="he" title="Khipús">חיפוש</span>. Cbrown1023 talk 20:50, 11 January 2010 (UTC)

Transliteration error

According to the official system of romanisation of Bulgarian, the word търсене is to be romanised "tarsene" rather than "tursene". Please correct it. (And what is really the point of romanising words in non-Latin scripts?) --62.204.152.181 13:20, 24 May 2010 (UTC)

Done, sorry about that. I really don't know the point of romanising the words myself, I just did what's always been done. :-) Maybe it's just in case your computer doesn't have the fonts installed and can't view the characters? Then you could just hover over the text and see what it's supposed to say in Latin characters (something any computer should be able to show). Cbrown1023 talk 21:46, 24 May 2010 (UTC)
The other reason is that normalizing all the scripts allows us to pretend there's some rhyme or reason to how we order the links on that page. – Minh Nguyễn (talk, contribs) 05:08, 25 May 2010 (UTC)

Possible bpy spelling error

As raised on the en.wikipedia ref desk: en:Wikipedia:Reference desk/Language#Assistance is needed from someone who can read Indic script. There may be a spelling error on the link to the Bishnupriya Manipuri Wikipedia. বিষ্ণুপ্রিযা় মণিপুরী appears on this page, yet elsewhere (en:Bishnupriya Manipuri language and bpy:বিষ্ণুপ্রিয়া মণিপুরী) it appears as বিষ্ণুপ্রিয়া মণিপুরী.

The difference is very subtle to my eyes, but the 4th character seems to be constructed differently using the য়া character in en and bpy wikipedias, but the যা় character instead on this page. It is quite possibly due to the order of construction of these characters made from "orthographic clusters":

  • + + ----> য়া, while
  • + + ----> যা়

Unfortunately, like the origional questioner, I am unfamiliar with the Bishnupriya Manipuri language so I am unsure where the mistake lies, or even if it is a mistake at all. Astronaut 05:34, 6 June 2010 (UTC)

It would probably be best to ask this on bpywiki. We don't know anything more than you do. For reference, though, "বিষ্ণুপ্রিয়া মণিপুরী" is how it is in the software. So if they tell you that that's wrong, we'll have to open up a a bug so that it can be fixed. Cbrown1023 talk 13:18, 6 June 2010 (UTC)
OK. It's over to bpy:য়্যারী:বিষ্ণুপ্রিয়া মণিপুরী where I left a message - in English :-). Maybe someone will come by soon with an answer. Astronaut 17:50, 6 June 2010 (UTC)
Since this hasn't been answered in over an year, I left a message at bpy:উইকিপিডিয়া:শিংলুপ. Hope someone sees it now.--Siddhartha Ghai 22:50, 11 November 2011 (UTC)

The old Wiktionary logo is being used in the sister projects section (at the below), but it has already changed in wiktionary.org and meta home page. I think we need to use the new logo here as well. Although it didn't used by the most of the community yet, but it is approved by the foundation and it is already appearing in the main Wiktionary homepage. — Tanvir 15:30, 13 July 2010 (UTC)

The Foundation approved it as the official logo? I haven't seen anything saying that, but then again, I don't follow the mailing lists that closely anymore. Would you mind providing a link? – Minh Nguyễn (talk, contribs) 04:29, 20 July 2010 (UTC)
Sorry, I don't follow the mailing list either. But I can see here that foundation approved it as the official logo. After all, if it wasn't official then why it is still being used in main Wiktionary portal? Another request, If you change the logo here, then consider changing it in all portal templates. Thanks. — Tanvir 18:09, 21 July 2010 (UTC)
I'll ping Cary when I next see him on IRC to make sure. If all good I'll update it. James (T C) 02:18, 22 July 2010 (UTC)
That's good enough. I tried to reach Cary on IRC yesterday. As far as I can remember, Cary assured me that the new logo is officially approved. — Tanvir 17:09, 22 July 2010 (UTC)
Yair Rand uploaded that image and included it in the Wiktionary portal. Yair is an English Wiktionary administrator, not a representative of the Wikimedia Foundation. – Minh Nguyễn (talk, contribs) 07:39, 24 July 2010 (UTC)
That is correct. My change to the portal was based on Cary's statement that the logo that should be used is the new logo, not based on my own position. I have been assured by Cary over IRC that (and I quote) "the default project logo changed". --Yair rand 02:46, 25 July 2010 (UTC)
Done – Minh Nguyễn (talk, contribs) 07:08, 27 July 2010 (UTC)
Excuse me, but this doesn't seem to make any sense. In this manner we have three logos around! Cary said that the new logo is meant to be the sole one, so I expect the WMF to decide the new logo, implement it on all Wiktionaries and on the portal. But I don't understand why we should implement here and there a brand new logo meant for unification. I suggest to revert to the previous logo until the definitive one is implemented. --Nemo 14:13, 30 July 2010 (UTC)
After further investigation I've reverted. --Nemo 09:31, 16 August 2010 (UTC)

Statistics source change

I've taken the liberty of swapping out THEwikiStics for Erik Zachte's Wikipedia Statistics for the purposes of sorting the top 10 Wikipedias by readership. The old source hasn't been updated in a year, whereas Erik's views/hour data mostly comes from May. Since the top 10 languages were last shuffled around back in August, Russian has risen a couple spots, while Polish has dropped a few. – Minh Nguyễn (talk, contribs) 07:19, 27 July 2010 (UTC)

Slovene Wikipedia

{{editprotected}} Slovene Wikipedia has more than 100,000 articles now. If the word for search is to be added also, it is "poišči" (noncapitalized). --Eleassar my talk 10:57, 15 August 2010 (UTC)

Please update www.wikipedia.org template/temp. --Nemo 10:00, 16 August 2010 (UTC)

Update page

{{editprotected}} Please make the changes at /temp in order for http://www.wikipedia.org/ to validate as proper HTML 5. Thanks. MC10 (TCEM) 19:26, 18 August 2010 (UTC)

Done, but aren't we still (mainly) XHTML? --Nemo 20:16, 18 August 2010 (UTC)
XHTML5, to be precise. – Minh Nguyễn (talk, contribs) 08:59, 20 August 2010 (UTC)
There's still one problem with the code. Specifically, it's this line:
<input id="searchInput" name="search" type="search" results="10" size="20" autofocus="autofocus" />
The W3C validator gives the error: "Attribute results not allowed on element input at this point." Any idea why? MC10 (TCEM) 05:22, 21 August 2010 (UTC)
After further investigation, it seems as if the results="10" is causing the error. It seems that 10 is already the default, so is it even necessary? MC10 (TCEM) 05:36, 21 August 2010 (UTC)
{{editprotected}} Please sync with /temp; all I've done is removed the results="10" that was causing a validation error. MC10 (TCEM) 05:38, 21 August 2010 (UTC)
The results attribute is indeed non-standard; it causes Safari (and possibly other WebKit browsers) to render the textbox with a search icon, which drops down a menu of recent searches. I've tweaked the JavaScript code to add the attribute dynamically instead. Ideally, we'd provide our own search icon instead of the current overwhelming list of translations for "search". – Minh Nguyễn (talk, contribs) 17:57, 21 August 2010 (UTC)

Using <link> vs. @import

Why are we using @import rules rather than <link> elements for IE CSS rules? <link> seems to be better supported by older browsers. MC10 (TCEM) 19:22, 23 August 2010 (UTC)

The portal's HTML code was originally copied from a wiki page, so there are a few artifacts of MediaWiki's markup structure left. MonoBook has since switched to using <link> elements, so I've updated the markup accordingly. Let me know if anything appears wrong in IE 5.5 and below. (It shouldn't have any effect, because conditional comments were only supported starting with IE 5, and @import was well-supported by then.) – Minh Nguyễn (talk, contribs) 15:31, 24 August 2010 (UTC)
There was one link tag that you missed; I fixed it.
{{editprotected}}
Please sync with /temp; I've used a <link> tag and updated the article counts. MC10 (TCEM) 16:36, 27 August 2010 (UTC)
Done – Minh Nguyễn (talk, contribs) 06:26, 28 August 2010 (UTC)

Link to the portal with default search text

I would like to link to the portal page with some default text in the search field. Such link can be used to let the users search in other languages if nothing was found in their own language. The link may look like one of these:

Is it possible to expand the JS code to do this? --TMg 21:24, 6 September 2010 (UTC)

Of course it is, thats quite easy (Not for me, I'm no admin). But the better way would be to make the template a php code (is it already?), and then extract the search term from the _GET array. This does not need any JS in the users browser. Also the preselcted language, today chosen by JS, could be extracted from the browsers query.
thinks -- 16:00, 8 September 2010 (UTC)
As far as I understand, the portal page does not use any PHP because of the traffic. JS would be good enough for what I want to do. The only risk is the possibility for some injection hacks. But I think the code needed is very simple and such problems can be avoided. --TMg 18:21, 8 September 2010 (UTC)
Yes, it's very easy to accomplish via JavaScript. But do you really need to link to a pre-filled version of the portal, or would jumping directly to the other wiki's search results page be better? For the latter, a simple interwiki link would work fine: [[es:Special:Search/chocolate]]es:Special:Search/chocolate; [[es:Special:Search/wikipedia ingles]]es:Special:Search/wikipedia ingles. – Minh Nguyễn (talk, contribs) 17:41, 9 September 2010 (UTC)
The user should be able to search in any language. I don't know his prefered language. What I want is something like this (results from all languages) but without using a commercial search engine. --TMg 04:04, 11 September 2010 (UTC)
Unfortunately, the language menu only lists wikis with 100,000+ articles. Visitors can of course prepend "xyz:" to the search term, but that's not incredibly user-friendly. The only advantage to this portal is that it knows the user's browser's preferred language via some very simple JavaScript: navigator.language || navigator.userLanguage. Anyhow, the /temp page has code to prefill the search box now. – Minh Nguyễn (talk, contribs) 05:54, 12 September 2010 (UTC)

There is a little error in this cool new implementation. Please add an decodeURIComponent(). --TMg 13:32, 28 September 2010 (UTC)

Done – Minh Nguyễn (talk, contribs) 08:14, 29 September 2010 (UTC)

Celebratory logos

Maybe have a celebratory logo for Wikipedia's tenth anniversary? It would need some prior planning, but might be nice.... --MZMcBride 17:46, 7 September 2010 (UTC)

If there is, it would be developed as part of outreach:Wiki X/10 years of Wikipedia and not something just for this portal. Cbrown1023 talk 22:55, 8 September 2010 (UTC)
I think Moka and Jay are thinking about this. Philippe (WMF) 22:57, 8 September 2010 (UTC)
How about this one, which is being used at TenWiki? – Minh Nguyễn (talk, contribs) 18:17, 9 November 2010 (UTC)

The light blue of the books doesn't seem to fit the design anymore. I think we should change the books to either a dark blue or a dark grey, thoughts? I have redrawn the image in SVG and can quickly modify the color based on suggestions.--Svgalbertian 04:58, 21 September 2010 (UTC)

Maybe the blue one would fit in better with all the blue hyperlinks we have on the portal. – Minh Nguyễn (talk, contribs) 04:03, 5 October 2010 (UTC)
The dark blue one would look nice on the page. MC10 (TCEM) 19:05, 7 November 2010 (UTC)
I have tested both Commons blue and a blue that matches the wikipedia hyperlinks and neither look right. To attempt to make the grey better fit Wikipedia I have modified it so the background is now the Vector grey background and the outline is the grey found in the Wikipedia logo's inner shadow.--Svgalbertian 04:24, 8 December 2010 (UTC)

One million section

Related discussion: New 100,000+ section and Suggestion: Removing the duplicate wikipedias from the mainpage

Now that the French edition reached one million articles, joining the English and German ones (and others are on their way), I think it's time we created the 1,000,000 section. What do you guys think? --Waldir 09:43, 28 September 2010 (UTC)

IMO, three Wikipedias is not enough to justify a new section. --Yair rand 18:59, 28 September 2010 (UTC)
How many are? --Waldir 06:58, 29 September 2010 (UTC)
Btw, some earlies quotes, from Russian Wikipedia will have 100K articles soon:
  • How many languages do you think we need before we add a 100,000 article section. Jeff8765 03:26, 31 July 2006 (UTC)
  • I'd suggest including the top 10 editions and Russian in a new 100,000-article section, so that the list won't be so small [only Russian]. That would also leave room for a million-article section in the future. The 10,000 section is only going to get longer over time, so we need to add a higher-level list [...] – Minh Nguyễn (talk, contribs) 08:44, 8 August 2006 (UTC)
Emphasis mine. Thought they'd help provide some more historical context :) --Waldir 07:15, 29 September 2010 (UTC)
At the time, Russian was to be the 11th wiki to surpass the 100,000-article mark. We won't get that many million-plus wikis for quite a while. – Minh Nguyễn (talk, contribs) 08:07, 29 September 2010 (UTC)
Fair enough. However, I am still interested in what you guys think would be a reasonable number of 1M+ editions to justify creating a new section. --Waldir 21:17, 29 September 2010 (UTC)
How about when a wiki that's not included in the Top 10 ring (which is chosen by page views) reaches a million articles? – Minh Nguyễn (talk, contribs) 18:07, 30 September 2010 (UTC)
Sounds perfectly reasonable :) I agree. --Waldir 06:45, 1 October 2010 (UTC)

Article count update

Please sync with /temp; I've updated the article counts for each of the wikis. MC10 (TCEM) 05:30, 16 November 2010 (UTC)

Done – Minh Nguyễn (talk, contribs) 07:50, 16 November 2010 (UTC)
{{editprotected}} Sync again with /temp; article counts have been updated again. MC10 (TCEM) 21:32, 27 November 2010 (UTC)
Done. We could use a bot that updates the template, amirite? Jafeluv 04:37, 28 November 2010 (UTC)
The whole point of the /temp page is that non-administrators can add stuff to the "sandbox", and administrators can stage it onto the live portal template once they verify that the changes are harmless. I imagine we won't need a separate /temp page once the Pending Changes extension is enabled here. – Minh Nguyễn (talk, contribs) 20:45, 28 November 2010 (UTC)
I meant a bot that actually updates the article counts. Jafeluv 00:03, 30 November 2010 (UTC)
That sounds pretty easy. It could update List of Wikipedias/Table using Mutante's frequently-updated table and extract the counts from there. As long as the bot sticks to tasks that straightforward, I for one would be comfortable with having the bot update the live page directly. – Minh Nguyễn (talk, contribs) 08:41, 30 November 2010 (UTC)

add traditional Chinese characters

{{editprotected}} Please sync with /temp; Right now the "Chinese" characters are only simplified Chinese. Both simplified and traditional Chinese characters coexist in the Chinese Wikipedia. Mark85296341 and I have added the traditional Chinese characters. --Quest for Truth 17:14, 26 December 2010 (UTC)

Done I've modified both Www.wikipedia.org template/temp and Www.wiktionary.org template/temp to dynamically convert the characters using JavaScript, based on the user's browser's current locale (for instance, the general.useragent.locale preference in Firefox). The page now defaults to traditional, unless your locale is zh-cn, zh-sg, or zh-my. The Wiktionary portal has been converting the Chinese top 10 entry that way for some time. Thanks for your contributions to the portal! – Minh Nguyễn (talk, contribs) 07:37, 27 December 2010 (UTC)
Not yet. The getlang() returned an uppercase language code in my firefox so the text didn't get converted. I have made a change to Www.wikipedia.org template/js. Hope it will work. --PhiLiP 04:33, 28 December 2010 (UTC)