Talk:www.wiktionary.org template

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search
Project portals www.wiktionary.org — live Staging area
www.wiktionary.org template contains the actual, raw HTML code that is displayed at http://www.wiktionary.org/. It is protected to prevent the insertion of malicious scripts or objects. Changes to the template will be displayed to visitors within one hour, but you can usually see them immediately once you clear your browser's cache.

Though www.wiktionary.org template is protected, the staging area is not: anyone can propose changes and updates there (detailed instructions).

Administrators: Always make your changes to www.wiktionary.org template/temp before copying them to www.wiktionary.org template, to keep the two pages in sync (see current differences).
Archive
Archives

Contents

Documentation [edit]

Although the portal templates themselves are permanently protected for security reasons, you are welcome to edit the staging ('/temp') portal. A Meta administrator will review your changes and copy-paste the raw (X)HTML5 code into the live portal. If a few days pass without that happening, post a friendly reminder at Talk:Www.wiktionary.org template.

The Wiktionary multilingual portal consists of four main sections: the Top 10 ring of languages surrounding the English Wiktionary logo; the search box; the stratified list of language editions; and the sister project links at the bottom. The fundamental principle behind the portal's design is quick access to most of Wiktionary's language editions without favoring one language in particular. (Until 2004, www.wiktionary.org redirected to the English Wiktionary's main page, which seemed a little anglocentric, to say the least.)

Unfortunately, designing a usable portal for choosing among hundreds of languages, while keeping the page relatively small and simple, is a hard problem. (Solutions wanted!) The status quo is to sort the languages by number of entries.

Adding a language to the portal [edit]

In order to keep the portal from growing out of control, the portal is limited to all language editions that contain 100 or more entries, as determined by the {{NUMBEROFARTICLES}} keyword or Special:Statistics. (Look for articles= at http://xx.wiktionary.org/w/api.php?action=query&meta=siteinfo&siprop=statistics, where xx is the wiki's language code.)

Note that closed wikis may not be listed in the portal.

Once a language edition reaches 100 entries, please add a notice to Wikimedia News and add it to this portal. Search the page for '100+ entries' (or '1,000+' etc.) and add this line to the list that follows:

<a href="//xx.wiktionary.org/" lang="xx">Name</a>&nbsp;

where xx is the wiki's subdomain (typically an ISO 639 code) and Name is the name of the language in that language. Use title case. Place the wiki's listing in alphabetical order by Name.

  • If the language is not written in a Latin-based script, the line should look like this:
    <a href="//xx.wiktionary.org/" lang="xx" title="Romanization">Name</a>&nbsp;
    where Romanization is the standard romanization for Name (also in title case). The romanization will appear as the link's tooltip. Place the wiki's listing in alphabetical order by romanization.
  • If the language is written from right to left, the line should look like this:
    <a href="//xx.wiktionary.org/" lang="xx" dir="rtl" title="Romanization"><bdi>Name</bdi></a>&nbsp;
  • If the language is primarily written with more than one script, the line should look like this:
    <a href="//xx.wiktionary.org/" lang="xx"><span lang="xx-Xxx1">Name 1</span> / <span lang="xx-Xxx2">Name 2</span></a>&nbsp;
    where Xxx1 and Xxx2 are the ISO 15924 codes for the language's scripts (for example, 'Latn' for Latin-based alphabets).
    • If the one of the scripts is written from right to left, use a <bdi> tag instead of a <span> tag around the right-to-left text.

Promoting a language [edit]

The middle portion of the portal has sections for each power-of-ten number of entries. Once a language edition reaches 1,000 entries (or 10,000 or 100,000), its listing should be moved up a level. That's all you have to do in most cases.

Once the language edition reaches 100,000 entries, currently the highest level, some extra steps are necessary to add it to the search box:

  1. Search the page for 'id="language"' and add this line to the list that follows:
    <option value="xx" lang="xx">Name</option>
    Place the line in alphabetical order by Name. This adds the language to the dropdown menu.
    • If the language is not written in a Latin-based script, add the romanization to the end of the line, so we know how to alphabetize it:
      <option value="xx" lang="xx">Name</option><!-- Romanization -->
    • Do not use the dir="rtl" attribute or <bdi> tag here.
  2. Search the page for 'for="searchInput"' and add this line to the list that follows:
    <span lang="xx">Search</span>&nbsp;
    where Search is the content of the page at 'MediaWiki:Search' at that wiki. Place the line in descending order by number of entries. This adds 'search' to the search box's label.
    • Use the dir="rtl" and title="Romanization" attributes and <bdi> tag as necessary.
  3. Edit the JavaScript code:
    1. Search the page for 'var langs =' and add xx, to the list that follows, where xx is the wiki's subdomain, in alphabetical order by the language's name for itself (Name in the steps above). (Note that this list must end with a comma.) Hit Save.
    2. The rest should stay in sync with Www.wikipedia.org template

Discussion [edit]

Kannada Wiktionary is now 100,000 + [edit]

Kannada Wiktionary is now 1,00,000+ Please update the www.wiktionary.org page to reflect the same and also the search box on the main page www.wiktionary.org - Vivek Shankar The preceding unsigned comment was added by ವಿವೇಕ್ ಶಂಕರ್ (talk • contribs) 09:57, 4 April 2011 (CET).

Yes check.svg Done, I've added Kannada to the search field as well, it would be great if you could confirm that everything is all right - Hoo man (talk) 14:49, 4 April 2011 (UTC)

I have checked and everything seems all right. Thanks for the updation - Vivek Shankar

ml.wikt - 100,000+ entries [edit]

{{editprotected}} Please move Malayalam (മലയാളം) wiktionary (ml.wikt) to the 100,000 definition category. Thanks ! --Jacob (talk) 18:59, 24 March 2012 (UTC)

Symbol wait.svg Doing... -Barras talk 12:46, 25 March 2012 (UTC)
And Yes check.svg Done. -Barras talk 13:02, 25 March 2012 (UTC)

[edit]

Maybe it's time has already come to replace "English-centric" logo to new version? --Kaganer (talk) 09:46, 4 April 2012 (UTC)

That's actually the "old" new logo. The new logo is this. --Yair rand (talk) 12:08, 4 April 2012 (UTC)
The different language versions use different logos - perhaps it would be best to get some form of consistency between the logos usage on each of the Wiktionary sites first, then we can decide which one it best to use for the main page? The Helpful One 12:14, 4 April 2012 (UTC)
Anyway, there is no representative consensus. The failure history. --Kaganer (talk) 13:51, 4 April 2012 (UTC)

Update required [edit]

Li.wikt reached 100.000 articles today with wikt:li:vach. --OosWesThoesBes (talk) 12:43, 19 May 2012 (UTC)

Update [edit]

I updated Www.wiktionary.org_template/temp: replaced ta with el, raised Limburgs and lowered Hindi and updated counters. Ruslik (talk) 09:09, 28 May 2012 (UTC)

Per your request, I've updated the general structure as well. However it appears a few new languages are now up in the portal and need a translation for "The free dictionary" and "entries". I've saved it onto temp, but pending those translations we can't sync yet. –Krinkletalk 14:32, 28 May 2012 (UTC)
You used wrong statistics: it is actually as of 31 March and is not ordered by the number of articles. Ruslik (talk) 16:49, 28 May 2012 (UTC)
There is no need to translate anything. Ruslik (talk) 16:50, 28 May 2012 (UTC)
I didn't use the wrong statistics, the wikistats page is correct. I just wrote the wrong date in my comment (March 31 instead of today, May 28). Per the Wikipedia portal, the ones around the globe are determined by traffic. The rest is grouped and ordered by page count. If you want to do that differently for Wiktionary, then by all means do whatever you want. Make the change on /temp (1: swap the link in the comment to wikistats for another link where the wiktionaries are ordered by pagecount, 2: update wm-globle to contain the top 10 pagecount wikis instead).
Either way, in the current state of /temp there are gaps in the text and translation is needed (those texts are already translated somewhere, but the exact formulation/grammar may vary so someone who speaks that language would need to look at that). –Krinkletalk 17:59, 28 May 2012 (UTC)
Well, currently wiktionary.org shows 10 largest projects by the article count. As to the statistics, Wiktionary page has newer statistics but with a large discrepancy for zhwiktionary. Ruslik (talk) 18:49, 28 May 2012 (UTC)


Why are .lang1 and .lang2 defined as 60% and 63% ? (not symmetrical). The same goes for .lang5 and .lang6 (0% and -3%). Ruslik (talk) 19:48, 28 May 2012 (UTC)

Don't know, that looks off indeed. Either way, they are just synchronized from Www.wikipedia.org template. Please discuss and/or fix there, then update here. –Krinkletalk 21:30, 28 May 2012 (UTC)

Is the wikistats page really correct? How can it be that Hindi dropped to 6,000 pages, while it still had 105,000 pages on 1 May? All pages and the deletion log reveal nothing's really changed there... --OosWesThoesBes (talk) 09:49, 29 May 2012 (UTC)

I don't know if it dropped. I don't know where Wiktionary/Table gets its data from. Looking at wikt:hi:Special:Statistics, I do know that currently the correct number of valid content pages for hiwiktionary is 6,182. ("valid content pages": number of pages in a namespace indicated as "content" (which on most wikis is just the main namespace) and have at least 1 link). stats.wikimedia.org uses the same algorithm as the MediaWiki software. –Krinkletalk 09:53, 29 May 2012 (UTC)
Wiktionary/Table is from https://s23.org/wikistats/wiktionaries_html.php. Both statistics are in a perfect agreement as far as hiwiktionary is concerned. Ruslik (talk) 10:23, 29 May 2012 (UTC)
Okay, good. So is there a problem? Although it sounds very interesting, I can't explain or confirm the apparent drop. What we have is the current data which is all we need for the portal page. –Krinkletalk 10:25, 29 May 2012 (UTC)
@Ruslik: Then please explain me how it's possible that hi.wikt dropped 100,000 articles this month. If the criteria for a page to be included as a page have changed, it should've effected other wikis as well, right? I believe we should keep Hindi in the 100,000+ section as we might be looking at a bug here. --OosWesThoesBes (talk) 10:26, 29 May 2012 (UTC)
May be somebody mistyped. Ruslik (talk) 10:35, 29 May 2012 (UTC)

Another update needed [edit]

Swedish Wiktionary is now the 9th largest, having more than 311 000 entries. Bounce1337 (talk) 10:08, 2 September 2012 (UTC)

And still further [edit]

Spanish should be added to the 100k+ section. - Amgine who is not signed in and too lazy to go back and sign in.

I updated the sandbox. Ruslik (talk) 06:39, 10 January 2013 (UTC)

Kurdish [edit]

Kurdish is now 200,000+ [1]. Please update the www.wiktionary.org page and also the search box on the main page www.wiktionary.org Thanks. Heja helweda (talk) 20:40, 17 January 2013 (UTC)

Done. Bennylin 17:22, 20 January 2013 (UTC)

Updated [edit]

Uploaded updated data:

  • updated list (el & sv instead of tr & ta) and number of pages in 10 largest wiktionaries
  • added 1,000,000 section (adjusted bookshelves as well)
  • en, fr, mg wiktionaries moved up to 1,000,000+
  • et, es, li wiktionaries moved up to 100,000+
  • hi wiktionary moved down from 100,000+ to 1,000+ (as categorization is based on number of pages in main, not all pages)
  • zh-min-nan, nn, ps wiktionaries moved up to 10,000+
  • kl, sd moved down from 1,000+ to 100+
  • uz, sm, si wiktionaries moved up to 1000+
  • sorted list in 1,000+
  • locked ik wiktionary removed from 100+ list
  • dv, tn, ts wiktionaries removed (commented out as have below 100 pages)
  • jbo, or wiktionaries added to 100+

Based on [2] (which is the source of the list in Wiktionary) and pnb statistics (missing from the list).
Updated list is available in Www.wiktionary.org template/test; please sync. Ankry (talk) 22:44, 14 February 2013 (UTC)

Also updated Www.wiktionary.org template/temp. Ankry (talk) 23:39, 14 February 2013 (UTC)
Done. Hopefully didn't break anything. Pmlineditor (t · c · l) 16:58, 15 February 2013 (UTC)
You should read the messages at Talk:www.wikipedia.org template#Re: Multiple updates needed. – Allen4names (talk) 05:46, 16 February 2013 (UTC)
Thanks. Unfortunately few mistakes appear: one misplaced /div and two extra (unnecessary) middle-dots. Fixed in /temp as proviously. Please sync again. Ankry (talk) 21:57, 25 February 2013 (UTC)
Synced. --MZMcBride (talk) 06:45, 1 March 2013 (UTC)

Update [edit]

I did a change. The Danish Wiktionary is on +10,000 now. Please check and sync. if the code is OK. Thank you. -- MarcoAurelio (talk) 20:03, 13 April 2013 (UTC)

[edit]

Copying self from Talk:www.wikimedia.org template: I thing logo of wikt should be changed to File:Wiktionary-logo.svg (I mean http://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Wiktionary-logo.svg/200px-Wiktionary-logo.svg.png or something like this actually, sure. Or normal PNG version could be exported and uploaded) since current one is English language version only (because in other languages it is not "Wiktionary" even if these lang's wikts use stylized like current logos). This page should represent whole project but not it's English version only so language-neutral version should be ok. --Base (talk) 17:11, 9 May 2013 (UTC)

Why would we use that one? The community voted on the book logo. The tile logo lost the vote. --Yair rand (talk) 17:28, 9 May 2013 (UTC)
As I understand it, there are three Wiktionary logos in use currently (the tiles, the dictionary definition, and the book). --MZMcBride (talk) 20:05, 9 May 2013 (UTC)