├── top ├── __init__.py ├── templates │ ├── strings │ │ ├── gl_strings.yaml │ │ ├── ar_strings.yaml │ │ ├── fa_strings.yaml │ │ ├── sv_strings.yaml │ │ ├── no_strings.yaml │ │ ├── fi_strings.yaml │ │ ├── or_strings.yaml │ │ ├── pa_strings.yaml │ │ ├── en_strings.yaml │ │ └── hu_strings.yaml │ ├── base │ │ ├── summary.html │ │ ├── rss.xml │ │ ├── index.dust │ │ ├── month_index.dust │ │ ├── project_index.dust │ │ └── year_index.dust │ ├── ar_summary.html │ ├── sv_summary.html │ ├── fa_summary.html │ ├── no_summary.html │ ├── summary.html │ ├── ur_summary.html │ ├── or_summary.html │ ├── pa_summary.html │ ├── en_summary.html │ ├── gl_summary.html │ ├── hu_summary.html │ ├── fi_summary.html │ ├── fa_rss.xml │ ├── fi_rss.xml │ ├── ur_rss.xml │ ├── en_rss.xml │ ├── hu_rss.xml │ ├── no_rss.xml │ ├── sv_rss.xml │ ├── or_rss.xml │ ├── rss.xml │ ├── ar_rss.xml │ ├── gl_rss.xml │ ├── pa_rss.xml │ ├── index.dust │ ├── month_index.dust │ ├── project_index.dust │ ├── year_index.dust │ ├── fa_index.dust │ ├── fi_index.dust │ ├── pa_index.dust │ ├── sv_index.dust │ ├── no_index.dust │ ├── or_index.dust │ ├── ar_index.dust │ ├── en_index.dust │ ├── gl_index.dust │ ├── fa_month_index.dust │ ├── hu_index.dust │ ├── fa_project_index.dust │ ├── fi_month_index.dust │ ├── fi_project_index.dust │ ├── ur_index.dust │ ├── pa_month_index.dust │ ├── sv_month_index.dust │ ├── fa_year_index.dust │ ├── pa_project_index.dust │ ├── ar_month_index.dust │ ├── sv_project_index.dust │ └── or_month_index.dust ├── utils.py ├── log.py ├── word_filter.py ├── update_all.sh ├── common.py ├── l10nize.py └── crisco.py ├── logs └── .gitignore ├── static ├── img │ ├── feed.png │ ├── twitter.png │ └── permalink.png ├── fonts │ ├── lato-v11-latin-900.eot │ ├── lato-v11-latin-900.ttf │ ├── lato-v11-latin-900.woff │ ├── lato-v11-latin-900.woff2 │ ├── lato-v11-latin-regular.eot │ ├── lato-v11-latin-regular.ttf │ ├── lato-v11-latin-regular.woff │ ├── lato-v11-latin-regular.woff2 │ ├── roboto-slab-v6-latin-regular.eot │ ├── roboto-slab-v6-latin-regular.ttf │ ├── roboto-slab-v6-latin-regular.woff │ └── roboto-slab-v6-latin-regular.woff2 ├── css │ ├── lato.css │ └── fonts.css └── js │ ├── jquery.peity.min.js │ └── jquery.hotkeys.js ├── .gitignore ├── requirements.txt ├── todo.md ├── conf └── top.nginx.conf └── readme.md /top/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logs/.gitignore: -------------------------------------------------------------------------------- 1 | access.log 2 | error.log -------------------------------------------------------------------------------- /static/img/feed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/img/feed.png -------------------------------------------------------------------------------- /static/img/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/img/twitter.png -------------------------------------------------------------------------------- /static/img/permalink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/img/permalink.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | static/ 2 | test/ 3 | .DS_Store 4 | *.pyc 5 | *.*~ 6 | \#*.*\# 7 | test_*.yaml 8 | test_*.dust 9 | nohup.out -------------------------------------------------------------------------------- /static/fonts/lato-v11-latin-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/lato-v11-latin-900.eot -------------------------------------------------------------------------------- /static/fonts/lato-v11-latin-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/lato-v11-latin-900.ttf -------------------------------------------------------------------------------- /static/fonts/lato-v11-latin-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/lato-v11-latin-900.woff -------------------------------------------------------------------------------- /static/fonts/lato-v11-latin-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/lato-v11-latin-900.woff2 -------------------------------------------------------------------------------- /top/templates/strings/gl_strings.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/top/templates/strings/gl_strings.yaml -------------------------------------------------------------------------------- /static/fonts/lato-v11-latin-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/lato-v11-latin-regular.eot -------------------------------------------------------------------------------- /static/fonts/lato-v11-latin-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/lato-v11-latin-regular.ttf -------------------------------------------------------------------------------- /static/fonts/lato-v11-latin-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/lato-v11-latin-regular.woff -------------------------------------------------------------------------------- /static/fonts/lato-v11-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/lato-v11-latin-regular.woff2 -------------------------------------------------------------------------------- /static/fonts/roboto-slab-v6-latin-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/roboto-slab-v6-latin-regular.eot -------------------------------------------------------------------------------- /static/fonts/roboto-slab-v6-latin-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/roboto-slab-v6-latin-regular.ttf -------------------------------------------------------------------------------- /static/fonts/roboto-slab-v6-latin-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/roboto-slab-v6-latin-regular.woff -------------------------------------------------------------------------------- /static/fonts/roboto-slab-v6-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hatnote/top/HEAD/static/fonts/roboto-slab-v6-latin-regular.woff2 -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Babel==2.2.0 2 | PyYAML==3.11 3 | Werkzeug==0.9.4 4 | argparse==1.4.0 5 | ashes 6 | boltons 7 | clastic==0.4.3 8 | lithoxyl==0.2.0 9 | python-dateutil==2.4.2 10 | six==1.10.0 11 | wsgiref==0.1.2 12 | -------------------------------------------------------------------------------- /todo.md: -------------------------------------------------------------------------------- 1 | # TODOs 2 | 3 | - Fix font sizing on mobile 4 | - Blog post 5 | - Use short numbers in tweets 6 | 7 | # Someday... 8 | - Overall top-level stats for the day 9 | - Color gradient scroll effect with the rank tab 10 | -------------------------------------------------------------------------------- /top/templates/base/summary.html: -------------------------------------------------------------------------------- 1 | 2 |

$rss_intro$

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | $rss_description$ 7 |

8 | {/examples} 9 | 10 |

$rss_read_more$

11 | -------------------------------------------------------------------------------- /top/templates/ar_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

ها هي ذي أحدث إحصائيات ويكيبيديا العربية

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} في المركز #{rank} بمطالعات عددها {views_short}{?streak_min} و هي في القائمة منذ {streak_len} أيام ({view_trend|s}{view_delta} مطالعة منذ أمس){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

طالع المزيد…

11 | -------------------------------------------------------------------------------- /top/templates/sv_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

Nu finns de nya siffrorna för svenska Wikipedia!

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} kom på #{rank}, med {views_short} visningar{?streak_min}, för {streak_len} dagen i rad på listan ({view_trend|s}{view_delta} visningar sedan igår){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

Läs mer...

11 | -------------------------------------------------------------------------------- /top/templates/fa_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

عددهای جدید ویکی‌پدیای فارسی در !

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} با رتبهٔ #{rank} و بازدید {local_views_short} views{?streak_min} و {streak_len} پشت سر هم در جدول کوچک ({view_trend|s}{local_view_delta} دیده‌شده‌ها از دیروز){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

مطالعه بیشتر ...

11 | -------------------------------------------------------------------------------- /top/templates/no_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

Nå finnes de nye tallene for Wikipedia på bokmål!

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} kom på #{rank}, med {views_short} visninger{?streak_min}, for {streak_len} dag på rad på listen ({view_trend|s}{view_delta} visninger siden i går){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

Les mer...

11 | -------------------------------------------------------------------------------- /top/templates/summary.html: -------------------------------------------------------------------------------- 1 | 2 |

The new {full_lang} {project} numbers are in!

3 | 4 | {#examples}{@first} 5 |

6 | {title} came in at #1, with {views_short} views{?streak_min}, continuing its {streak_len}-day streak on the chart ({view_trend|s}{view_delta} views since yesterday){/streak_min}.

7 | {/first}{/examples} 8 | 9 |

Read more...

10 | -------------------------------------------------------------------------------- /top/templates/ur_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

نئے اردو ویکیپیڈیا کی تعداد ہے!

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} came in at #{rank}, with {views_short} views{?streak_min}, continuing its {streak_len}-day streak on the chart ({view_trend|s}{view_delta} views since yesterday){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

مزید جانئیے...

11 | -------------------------------------------------------------------------------- /top/templates/or_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

The new English Wikipedia numbers are in!

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} came in at #{rank}, with {views_short} views{?streak_min}, continuing its {streak_len}-day streak on the chart ({view_trend|s}{view_delta} views since yesterday){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

Read more...

11 | -------------------------------------------------------------------------------- /top/templates/pa_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

ਨਵੇਂ ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਆਂਕੜੇ ਆ ਚੁੱਕੇ ਹਨ!

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} #{rank} ਦਰਜੇ ਤੇ ਆਇਆ, {views_short} ਵੀਊਜ਼ ਦੇ ਨਾਲ{?streak_min}, ਆਪਣੀ {streak_len}-ਦਿਨ ਸਟ੍ਰੀਕ ਜਾਰੀ ਰੱਖਦਾ ਹੋਇਆ ਚਾਰਟ ਉੱਤੇ ({view_trend|s}{view_delta} ਕੱਲ੍ਹ ਤੋਂ ਲਾਇ ਕੇ ਵੀਊਜ਼){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

ਹੋਰ ਪੜ੍ਹੋ...

11 | -------------------------------------------------------------------------------- /top/templates/en_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

The new {full_lang} Wikipedia numbers are in!

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} came in at #{rank}, with {views_short} views{?streak_min}, continuing its {streak_len}-day streak on the chart ({view_trend|s}{view_delta} views since yesterday){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

Read more...

11 | -------------------------------------------------------------------------------- /top/templates/gl_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

Xa están as novas estatísticas de Wikipedia en galego!

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} pasou á posición #{rank}, con {views_short} visitas{?streak_min}, continuando a súa xeira de {streak_len} días na gráfica ({view_trend|s}{view_delta} visitas dende onte){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

Ler mais...

11 | -------------------------------------------------------------------------------- /top/templates/hu_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

Az új magyar Wikipédia toplista megérkezett!

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} a #{rank}. helyezett, {views_short} megtekintéssel {?streak_min}, folytatva {streak_len} napos sorozatát a toplistában, ({view_trend|s}{view_delta} megtekintéssel tegnap óta){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

Olvass tovább...

11 | -------------------------------------------------------------------------------- /top/templates/fi_summary.html: -------------------------------------------------------------------------------- 1 | 2 |

Uudet suomenkielisen Wikipedian tiedot saatavana!!

3 | 4 | {#examples} 5 |

{@first}{/first} 6 | {title} sijoittui {rank}. sijalle, keräten {views_short} lukukertaa{?streak_min}, ja jatkoi siten {streak_len} päivän jaksoa listalla ({view_trend|s}{view_delta} lukukertaa eilisestä){/streak_min}. 7 |

8 | {/examples} 9 | 10 |

Lue lisää...

11 | -------------------------------------------------------------------------------- /conf/top.nginx.conf: -------------------------------------------------------------------------------- 1 | 2 | server { 3 | server_name top.hatnote.com; 4 | root /home/hatnote/top/static/; 5 | access_log /home/hatnote/top/logs/access.log combined buffer=128k flush=10s; 6 | error_log /home/hatnote/top/logs/error.log; 7 | 8 | expires 1h; 9 | 10 | listen 443 ssl; # managed by Certbot 11 | ssl_certificate /etc/letsencrypt/live/hatnote.com/fullchain.pem; # managed by Certbot 12 | ssl_certificate_key /etc/letsencrypt/live/hatnote.com/privkey.pem; # managed by Certbot 13 | include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot 14 | ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot 15 | 16 | 17 | 18 | 19 | 20 | 21 | } 22 | 23 | server { 24 | if ($host = top.hatnote.com) { 25 | return 301 https://$host$request_uri; 26 | } # managed by Certbot 27 | 28 | 29 | server_name top.hatnote.com; 30 | listen 80; 31 | return 404; # managed by Certbot 32 | 33 | 34 | } -------------------------------------------------------------------------------- /top/templates/base/rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $index_title$ 5 | {canonical_url} 6 | $alt_tagline$ 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - $rss_title$ 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/fa_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی 5 | {canonical_url} 6 | به‌روزرسانی پربیننده‌ترین مقالات ویکی‌پدیای فارسی. 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/fi_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Suomenkielisen Wikipedian Top 100 5 | {canonical_url} 6 | Suomenkielisen Wikipedian luetuimmat artikkelit. 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - Suomenkielisen Wikipedian 100 luetuinta artikkelia 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/ur_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | اردو ویکیپیڈیا کے اولین 100 صفحات 5 | {canonical_url} 6 | روزانہ کی بنیاد پر، سب سے زیادہ ملاحظہ کردہ اردو ویکیپیڈیا مضامین. 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - اردو ویکیپیڈیا کے اولین 100 صفحات 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/en_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {full_lang} Wikipedia Top 100 5 | {canonical_url} 6 | The most-visited {full_lang} Wikipedia articles, updated daily. 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - {full_lang} Wikipedia's 100 most-visited articles 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/hu_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Magyar Wikipédia Top 100 5 | {canonical_url} 6 | A magyar Wikipédia leglátogatottabb szócikkei, naponta frissítve. 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - A magyar Wikipédia's 100 leglátogatottabb szócikke 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/no_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Wikipedia på bokmåls topp 100 5 | {canonical_url} 6 | De mest besøkte artiklene på Wikipedia på bokmål, daglig oppdatert. 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - Wikipedia på bokmåls 100 mest besøkte artikler 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/sv_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Svenska Wikipedia topp 100 5 | {canonical_url} 6 | De mest besökta artiklarna på svenska Wikipedia, updaterad varje dag. 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - Svenska Wikipedias 100 mest besökta artiklar 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/or_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ଲୋକପ୍ରିୟ ୧୦୦ ପ୍ରସଙ୍ଗ 5 | {canonical_url} 6 | ସବୁଦିନ ଅପଡେଟ ହେଉଥିବା ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ସର୍ବାଧିକ ପଠିତ ପ୍ରସଙ୍ଗସମୂହ । 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆ'ର ଲୋକପ୍ରିୟ ୧୦୦ ପ୍ରସଙ୍ଗ 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hatnote Top 100 - {lang_name} {project} 5 | {canonical_url} 6 | The 100 most-visited {lang_name} {project} articles. Updated daily. 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - {lang_name} {project}'s 100 most-visited articles 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/ar_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | المقالات المئة الأكثر مطالعة في ويكيبيديا العربية 5 | {canonical_url} 6 | قائمة مقالات ويكيبيديا العربية الأكثر مطالعة تُحدَّث يوميا. 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - المقالات المئة الأكثر مطالعة في ويكيبيديا العربية 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/gl_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Top 100 Wikipedia en galego 5 | {canonical_url} 6 | Os artigos máis visitados da Wikipedia en galego, actualizados diariamente. 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - Os 100 artigos máis visitados da Wikipedia en galego 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/templates/pa_rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਸਿਖਰਲੇ ੧੦੦ 5 | {canonical_url} 6 | ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਵੇਖੇ ਕੀਤੇ ਜਾਣ ਵਾਲੇ ਲੇਖ, ਰੋਜ਼ਾਨਾ ਨਵਪੂਰਤ। 7 | Hatnote Top 0.1 8 | {lang_code} 9 | {copyright} 10 | {cur_utc} 11 | 60 12 | hourly 13 | 1 14 | 21 | {#entries} 22 | 23 | {formatted_date} - ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ੧੦੦ ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਦੌਰਾ ਕੀਤੇ ਜਾਣ ਵਾਲੇ ਲੇਖ 24 | {.pub_timestamp} 25 | {.permalink} 26 | {.permalink} 27 | 28 | {.summary} 29 | 30 | 31 | {/entries} 32 | 33 | 34 | -------------------------------------------------------------------------------- /top/utils.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | 4 | def shorten_number(num): 5 | '''\ 6 | http://stackoverflow.com/questions/579310/ 7 | formatting-long-numbers-as-strings-in-python 8 | ''' 9 | magnitude = 0 10 | if isinstance(num, str): 11 | num = int(num) 12 | #import pdb; pdb.set_trace() 13 | while abs(num) >= 1000: 14 | magnitude += 1 15 | num /= 1000.0 16 | ret = '%.1f%s' % (num, ['', 'K', 'M', 'G', 'T', 'P'][magnitude]) 17 | return ret.replace('.0', '') 18 | 19 | 20 | def int_to_local_str(num, locale=None): 21 | ret = '' 22 | if locale == 'fa': 23 | lnums = [u'۰', u'۱', u'۲', u'۳', u'۴', u'۵', u'۶', u'۷', u'۸', 24 | u'۹'] 25 | elif locale == 'ar': 26 | lnums = [u'٠', u'١', u'٢', u'٣', u'٤', u'٥', u'٦', u'٧', u'٨', 27 | u'٩'] 28 | else: 29 | lnums = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'] 30 | for char in unicode(num): 31 | try: 32 | digit = int(char) 33 | ret += lnums[digit] 34 | except ValueError: 35 | ret += char 36 | continue 37 | return ret 38 | 39 | 40 | if __name__ == '__main__': 41 | from random import randint 42 | test = randint(0, 10000) 43 | print test, int_to_locale_str(test, locale='fa') 44 | test = 'April 2016' 45 | print test, int_to_locale_str(test, locale='fa') 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /top/log.py: -------------------------------------------------------------------------------- 1 | 2 | import os 3 | 4 | from lithoxyl import Logger, SensibleSink, Formatter, StreamEmitter 5 | from lithoxyl.filters import ThresholdFilter 6 | 7 | tlog = Logger('toplog') 8 | 9 | stderr_fmt = Formatter('{status_char}{end_local_iso8601_noms_notz} - {duration_secs}s - {record_name} - {message}') 10 | stderr_emt = StreamEmitter('stderr') 11 | stderr_filter = ThresholdFilter(success='debug', 12 | failure='debug', 13 | exception='debug') 14 | stderr_sink = SensibleSink(formatter=stderr_fmt, 15 | emitter=stderr_emt, 16 | filters=[stderr_filter]) 17 | # on=['begin', 'complete']) # TODO: clunk 18 | tlog.add_sink(stderr_sink) 19 | 20 | 21 | class DevDebugSink(object): 22 | # TODO: configurable max number of traceback signatures, after 23 | # which exit/ignore? 24 | 25 | def __init__(self, reraise=False, post_mortem=False): 26 | self.reraise = reraise 27 | self.post_mortem = post_mortem 28 | 29 | #def on_complete(self, record): 30 | # some conditions and a pdb perhaps 31 | 32 | def on_exception(self, record, exc_type, exc_obj, exc_tb): 33 | if self.post_mortem: 34 | import pdb; pdb.post_mortem() 35 | if self.reraise: 36 | raise exc_type, exc_obj, exc_tb 37 | 38 | 39 | tlog.add_sink(DevDebugSink(post_mortem=os.getenv('TOP_PDB'))) 40 | -------------------------------------------------------------------------------- /static/css/lato.css: -------------------------------------------------------------------------------- 1 | /* lato-regular - latin */ 2 | @font-face { 3 | font-family: 'Lato'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: url('../fonts/lato-v11-latin-regular.eot'); /* IE9 Compat Modes */ 7 | src: local('Lato Regular'), local('Lato-Regular'), 8 | url('../fonts/lato-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ 9 | url('../fonts/lato-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ 10 | url('../fonts/lato-v11-latin-regular.woff') format('woff'), /* Modern Browsers */ 11 | url('../fonts/lato-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ 12 | url('../fonts/lato-v11-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */ 13 | } 14 | /* lato-900 - latin */ 15 | @font-face { 16 | font-family: 'Lato'; 17 | font-style: normal; 18 | font-weight: 900; 19 | src: url('../fonts/lato-v11-latin-900.eot'); /* IE9 Compat Modes */ 20 | src: local('Lato Black'), local('Lato-Black'), 21 | url('../fonts/lato-v11-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ 22 | url('../fonts/lato-v11-latin-900.woff2') format('woff2'), /* Super Modern Browsers */ 23 | url('../fonts/lato-v11-latin-900.woff') format('woff'), /* Modern Browsers */ 24 | url('../fonts/lato-v11-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */ 25 | url('../fonts/lato-v11-latin-900.svg#Lato') format('svg'); /* Legacy iOS */ 26 | } -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Wikipedia Top 100 Chart Generator 2 | 3 | A python script to generate and maintain a list of the most visited Wikipedia articles using the [Wikimedia page view API](https://wikimedia.org/api/rest_v1/?doc#!/Pageviews_data/get_metrics_pageviews_top_project_access_year_month_day), formatted images and summaries from the [MediaWiki API](https://www.mediawiki.org/wiki/API:Query). 4 | 5 | Try running: 6 | 7 | ```bash 8 | python get_data.py --date 20151123 --update 9 | ``` 10 | 11 | # License 12 | 13 | Copyright (c) 2015, Stephen LaPorte and Mahmoud Hashemi 14 | 15 | Redistribution and use in source and binary forms, with or without 16 | modification, are permitted provided that the following conditions are 17 | met: 18 | 19 | * Redistributions of source code must retain the above copyright 20 | notice, this list of conditions and the following disclaimer. 21 | 22 | * Redistributions in binary form must reproduce the above 23 | copyright notice, this list of conditions and the following 24 | disclaimer in the documentation and/or other materials provided 25 | with the distribution. 26 | 27 | * The names of the contributors may not be used to endorse or 28 | promote products derived from this software without specific 29 | prior written permission. 30 | 31 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 32 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 33 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 34 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 35 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 36 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 37 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 38 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 39 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 40 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 41 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 42 | -------------------------------------------------------------------------------- /top/word_filter.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from __future__ import unicode_literals 3 | 4 | import unwelcome_files as unwelcome 5 | 6 | WORD_FILTERS = ['penis', 7 | 'anal', 8 | 'anus', 9 | 'breast', 10 | 'butt', 11 | 'buttock', 12 | 'blowjob', 13 | 'clitoris', 14 | 'coitus', 15 | 'condom', 16 | 'cunnilingus', 17 | 'defecating', 18 | 'defecate', 19 | 'dildo', 20 | 'sex', 21 | 'urethra', 22 | 'masturbat', 23 | 'missionary', 24 | 'Luxurieux', 25 | 'xxx', 26 | 'fellatio', 27 | 'reproductive', 28 | 'brust', 29 | 'Kamasutra', 30 | 'Condom', 31 | 'Klimt', 32 | 'XHamster', 33 | 'pornhub', 34 | 'hustler', 35 | 'Sharka', 36 | 'ejaculat', 37 | 'ejaculation', 38 | 'erect', 39 | 'erected', 40 | 'circumcised', 41 | 'vagina', 42 | u'ਯੋਨੀ', 43 | u'پستان', 44 | u'بارت', 45 | u'آمیزش', 46 | u'فرج', 47 | u'مقعد', 48 | u'پورنوگرافی', 49 | u'جنسی', 50 | u'مهبل', 51 | u'اوشن'] 52 | 53 | 54 | def word_filter(text): 55 | if not isinstance(text, unicode): 56 | text = text.decode('utf8') 57 | text = text.replace('_', ' ').replace('File:', '') 58 | for file_name in unwelcome.file_names: 59 | if file_name in text: 60 | return True 61 | 62 | words = text.replace('-', ' ').split() 63 | for word in words: 64 | for filtered_word in WORD_FILTERS: 65 | if filtered_word.lower() in word.lower(): 66 | #print ' -> filtering:', word, 'from', text 67 | return True 68 | return False 69 | 70 | 71 | if __name__ == '__main__': 72 | import pdb 73 | pdb.set_trace() 74 | -------------------------------------------------------------------------------- /static/css/fonts.css: -------------------------------------------------------------------------------- 1 | /* lato-regular - latin */ 2 | @font-face { 3 | font-family: 'Lato'; 4 | font-style: normal; 5 | font-weight: 400; 6 | src: url('../fonts/lato-v11-latin-regular.eot'); /* IE9 Compat Modes */ 7 | src: local('Lato Regular'), local('Lato-Regular'), 8 | url('../fonts/lato-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ 9 | url('../fonts/lato-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ 10 | url('../fonts/lato-v11-latin-regular.woff') format('woff'), /* Modern Browsers */ 11 | url('../fonts/lato-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ 12 | url('../fonts/lato-v11-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */ 13 | } 14 | /* lato-900 - latin */ 15 | @font-face { 16 | font-family: 'Lato'; 17 | font-style: normal; 18 | font-weight: 900; 19 | src: url('../fonts/lato-v11-latin-900.eot'); /* IE9 Compat Modes */ 20 | src: local('Lato Black'), local('Lato-Black'), 21 | url('../fonts/lato-v11-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ 22 | url('../fonts/lato-v11-latin-900.woff2') format('woff2'), /* Super Modern Browsers */ 23 | url('../fonts/lato-v11-latin-900.woff') format('woff'), /* Modern Browsers */ 24 | url('../fonts/lato-v11-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */ 25 | url('../fonts/lato-v11-latin-900.svg#Lato') format('svg'); /* Legacy iOS */ 26 | } 27 | /* roboto-slab-regular - latin */ 28 | @font-face { 29 | font-family: 'Roboto Slab'; 30 | font-style: normal; 31 | font-weight: 400; 32 | src: url('../fonts/roboto-slab-v6-latin-regular.eot'); /* IE9 Compat Modes */ 33 | src: local('Roboto Slab Regular'), local('RobotoSlab-Regular'), 34 | url('../fonts/roboto-slab-v6-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ 35 | url('../fonts/roboto-slab-v6-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ 36 | url('../fonts/roboto-slab-v6-latin-regular.woff') format('woff'), /* Modern Browsers */ 37 | url('../fonts/roboto-slab-v6-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ 38 | url('../fonts/roboto-slab-v6-latin-regular.svg#RobotoSlab') format('svg'); /* Legacy iOS */ 39 | } -------------------------------------------------------------------------------- /top/update_all.sh: -------------------------------------------------------------------------------- 1 | 2 | TOP_LOG_BASE_PATH=/home/hatnote/top/logs/cron_out 3 | TOP_PYTHON_SCRIPT=/home/hatnote/top/top/get_data.py 4 | TOP_PYTHON_BIN=/home/hatnote/virtualenvs/top/bin/python 5 | TOP_POLL_TIME=1s 6 | 7 | TOP_TARGET_DATE=20160425 8 | 9 | 10 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang ko --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 11 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang en --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 12 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang de --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 13 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang fr --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 14 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang et --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 15 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang sv --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 16 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang da --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 17 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang it --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 18 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang ca --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 19 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang es --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 20 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang zh --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 21 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang ur --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 22 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang kn --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 23 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang no --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 24 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang bn --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 25 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang id --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 26 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang ta --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 27 | $TOP_PYTHON_BIN $TOP_PYTHON_SCRIPT --update --lang lv --project wikipedia --date $TOP_TARGET_DATE --poll $TOP_POLL_TIME 28 | -------------------------------------------------------------------------------- /top/common.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | import os 4 | from os.path import dirname, join as pjoin 5 | 6 | # Settings 7 | DEBUG = True 8 | 9 | 10 | # Files and locations 11 | _CUR_PATH = dirname(os.path.abspath(__file__)) 12 | BASE_PATH = pjoin(_CUR_PATH, os.pardir, 'static', '') 13 | TEMPLATE_PATH = pjoin(_CUR_PATH, 'templates') 14 | DATA_FILE_TMPL = '{lang}/{project}/{year}/{month}/{day}.json' 15 | DATA_PATH_TMPL = pjoin(BASE_PATH, DATA_FILE_TMPL) 16 | LANG_PROJ_LINK_TMPL = u'http://top.hatnote.com/{lang}/{project}/' 17 | DATE_PERMALINK_TMPL = (u'http://top.hatnote.com/{lang}/{project}/' 18 | '{year}/{month}/{day}.html') 19 | PERMALINK_TMPL = (u'http://top.hatnote.com/{lang}/{project}/{year}/{month}/' 20 | '{day}.html#title-{title}') 21 | FEED_FILE_TMPL = 'feeds/{lang}{project}.rss' 22 | FEED_PATH_TMPL = pjoin(BASE_PATH, FEED_FILE_TMPL) 23 | STRINGS_PATH_TMPL = pjoin(TEMPLATE_PATH, 'strings', '{lang}_strings.yaml') 24 | 25 | # Valuable and important URLs 26 | TOP_API_URL = 'https://wikimedia.org/api/rest_v1/metrics/pageviews/'\ 27 | 'top/{lang}.{project}/all-access/{year}/{month}/{day}' 28 | MW_API_URL = 'https://{lang}.{project}.org/w/api.php?' 29 | TOTAL_TRAFFIC_URL = 'https://wikimedia.org/api/rest_v1/metrics/pageviews/aggregate/{lang}.{project}.org/all-access/all-agents/daily/{datestr}00/{datestr}00' 30 | 31 | 32 | # Other variables 33 | LOCAL_LANG_MAP = {'en': u'English', 34 | 'de': u'Deutsch', 35 | 'fr': u'Français', 36 | 'ko': u'한국어', 37 | 'et': u'Eesti', 38 | 'sv': u'Svenska', 39 | 'hu': u'Magyar', 40 | 'da': u'Dansk', 41 | 'it': u'Italiano', 42 | 'pa': u'ਪੰਜਾਬੀ', 43 | 'ca': u'Català', 44 | 'es': u'Español', 45 | 'fa': u'فارسی', 46 | 'ur': u'اردو', 47 | 'zh': u'中文', 48 | 'kn': u'ಕನ್ನಡ', 49 | 'no': u'bokmål', 50 | 'bn': u'বাংলা', 51 | 'id': u'Bahasa Indonesia', 52 | 'ta': u'தமிழ்', 53 | 'lv': u'latviešu valoda', 54 | 'el': u'ελληνικά', 55 | 'fi': u'Suomenkielinen', 56 | 'ar': u'العربية', 57 | 'fa': u'فارسی', 58 | 'cs': u'Česká', 59 | 'or': u'ଓଡ଼ିଆ', 60 | 'te': u'తెలుగు', 61 | 'gl': u'Galega' 62 | } 63 | DEFAULT_LANG = 'en' 64 | DEFAULT_PROJECT = 'wikipedia' 65 | 66 | 67 | # These prefixes are not for articles 68 | PREFIXES = ['Special', 'Template', 'Sp?cial', 'Project'] 69 | -------------------------------------------------------------------------------- /top/templates/index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}$index_title${:else}$full_title${/is_index} 5 | 6 | 7 | 8 | 14 | 15 | 16 |
17 |
18 | 24 |
25 |
26 |
27 |
28 |

$title$

29 |

$alt_tagline$

30 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 31 |
32 |
33 |
34 | 35 |
36 | 37 |
38 | {?months} 39 | 44 | {/months} 45 | {?years} 46 | 51 | {/years} 52 | {?projects} 53 | 58 | {/projects} 59 | 60 |
61 | 62 | 69 | 70 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /top/l10nize.py: -------------------------------------------------------------------------------- 1 | import os 2 | import re 3 | import yaml 4 | from argparse import ArgumentParser 5 | 6 | CUR_PATH = os.path.dirname(os.path.abspath(__file__)) 7 | 8 | DEFAULT_TMPL_DIR = CUR_PATH + '/templates' 9 | BASE_TMPL_DIR = 'base' 10 | 11 | L10N_SRC_MAP = {'chart.dust': {}, 12 | 'month_index.dust': {}, 13 | 'year_index.dust': {}, 14 | 'project_index.dust': {}, 15 | 'index.dust': {}, 16 | 'rss.xml': {}, 17 | 'summary.html': {}} 18 | 19 | 20 | def get_argparser(): 21 | prs = ArgumentParser() 22 | add_arg = prs.add_argument 23 | add_arg('--lang') 24 | add_arg('--tmpl-dir', default=DEFAULT_TMPL_DIR) 25 | return prs 26 | 27 | 28 | class StringSubber(object): 29 | def __init__(self, strings_map): 30 | self.strings_map = strings_map 31 | self.subbable_re = re.compile(r'\$(\w+)\$') 32 | 33 | def get_subbed(self, text): 34 | self.unsubbed = [] 35 | return self.subbable_re.sub(self._sub_one_match, text) 36 | 37 | def _sub_one_match(self, match): 38 | string_name = match.group(1) 39 | string_name_lower = string_name.lower() 40 | try: 41 | string = self.strings_map[string_name_lower] 42 | except KeyError: 43 | self.unsubbed.append(string_name) 44 | string = match.group(0) 45 | return string 46 | 47 | 48 | def main(): 49 | prs = get_argparser() 50 | args = prs.parse_args() 51 | lang = args.lang 52 | orig_tmpl_dir = args.tmpl_dir 53 | tmpl_dir = os.path.abspath(orig_tmpl_dir) 54 | 55 | strings_path = tmpl_dir + '/strings/' + lang + '_strings.yaml' 56 | try: 57 | strings_bytes = open(strings_path).read() 58 | except IOError as ioe: 59 | raise RuntimeError('expected strings file at %r (%r)' 60 | % (strings_path, ioe)) 61 | strings_map = yaml.load(strings_bytes) 62 | string_subber = StringSubber(strings_map) 63 | 64 | base_tmpl_base_path = tmpl_dir + '/' + BASE_TMPL_DIR + '/' 65 | for src_fn, options in L10N_SRC_MAP.items(): 66 | base_tmpl_path = base_tmpl_base_path + src_fn 67 | base_bytes = open(base_tmpl_path).read() 68 | base_text = base_bytes.decode('utf-8') 69 | subbed_text = string_subber.get_subbed(base_text) 70 | subbed_bytes = subbed_text.encode('utf-8') 71 | 72 | if string_subber.unsubbed: 73 | print ('could not find substitutions for %r in %r' 74 | % (string_subber.unsubbed, base_tmpl_path)) 75 | 76 | target_path = tmpl_dir + '/' + lang + '_' + src_fn 77 | 78 | if string_subber.subbable_re.match(subbed_text): 79 | print ('possible malformed substitution target, ' 80 | 'check for occurrences of "$" in output: %r' 81 | % target_path) 82 | 83 | with open(target_path, 'w') as f: # TODO: atomic_save bolton 84 | f.write(subbed_bytes) 85 | return 86 | 87 | 88 | if __name__ == '__main__': 89 | main() 90 | -------------------------------------------------------------------------------- /top/templates/month_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {full_lang} {project} Top 100{?is_index} on {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 11 | 12 | 13 | 14 |
15 |
16 | 20 |
21 |
22 |
23 |
24 |

{full_lang} {project} Top 100

25 |

The most-visited {full_lang} {project} articles, updated daily. Learn more...

26 |
{?prev_month}{:else}{/prev_month}

{month_name} {year}

{?next_month}{:else}{/next_month} 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | {#dates} 45 | 46 | {#days} 47 | {@gt key=day value=0} 48 | 49 | {:else} 50 | 51 | {/gt} 52 | {/days} 53 | 54 | {/dates} 55 |
MonTuesWedThurFriSatSun
{?chart}{/chart}{day}{?chart}{/chart}
56 |
57 | 58 | 65 | 66 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /top/templates/project_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {full_lang} {project} Top 100{?is_index} on {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 11 | 12 | 13 |
14 |
15 | 19 |
20 |
21 |
22 |
23 |

{full_lang} {project} Top 100

24 |

The most-visited {full_lang} {project} articles, updated daily. Learn more...

25 |
{?prev}{:else}{/prev}

All traffic data

{?next}{:else}{/next} 26 |
27 |
28 |
29 | 30 |
31 | 32 |
33 | {#years} 34 |

{month_name} {year}

35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | {#dates} 46 | 47 | {#days} 48 | {@gt key=day value=0} 49 | 50 | {:else} 51 | 52 | {/gt} 53 | {/days} 54 | 55 | {/dates} 56 |
MonTuesWedThurFriSatSun
{?chart}{/chart}{day}{?chart}{/chart}
57 | {/years} 58 |
59 | 60 | 67 | 68 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /top/templates/base/index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}$index_title${:else}$full_title${/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 |
19 | 25 |
26 |
27 |
28 |
29 |

$title$

30 |

$alt_tagline$

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 | 52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 71 | 72 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /top/templates/year_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {full_lang} {project} Top 100{?is_index} on {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 14 | 15 | 16 |
17 |
18 | 22 |
23 |
24 |
25 |
26 |

{full_lang} {project} Top 100

27 |

The most-visited {full_lang} {project} articles, updated daily. Learn more...

28 |
{?prev}{:else}{/prev}

{month_name} {year}

{?next}{:else}{/next} 29 |
30 |
31 |
32 | 33 |
34 | 35 |
36 | {#months} 37 |

{month_name} {year}

38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | {#dates} 49 | 50 | {#days} 51 | {@gt key=day value=0} 52 | 53 | {:else} 54 | 55 | {/gt} 56 | {/days} 57 | 58 | {/dates} 59 |
MonTuesWedThurFriSatSun
{?chart}{/chart}{day}{?chart}{/chart}
60 | {/months} 61 |
62 | 63 | 70 | 71 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /top/crisco.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """Crisco because this module does shortening. Sentence-oriented 3 | shortening, currently only for English. 4 | """ 5 | 6 | from __future__ import unicode_literals 7 | 8 | import re 9 | 10 | caps = "([A-Z])" 11 | prefixes = "(Mr|St|Mrs|Ms|Dr)[.]" 12 | suffixes = "(Inc|Ltd|Jr|Sr|Co)" 13 | starters = ("(Mr|Mrs|Ms|Dr|He\s|She\s|It\s|They\s" 14 | "|Their\s|Our\s|We\s|But\s|However\s|That\s|This\s|Wherever)") 15 | acronyms = "([A-Z][.][A-Z][.](?:[A-Z][.])?)" 16 | websites = "[.](com|net|org|io|gov)" 17 | 18 | 19 | DEFAULT_MAX_LEN = 400 20 | DEFAULT_MIN_SENT = 1 21 | SHORTEN_FUNC_MAP = {} # initialized below 22 | 23 | 24 | def shorten(text, lang, max_len=DEFAULT_MAX_LEN, min_sent=DEFAULT_MIN_SENT): 25 | """Shorten `text` by sentence, taking into account language `lang`, 26 | maximum desired length (`max_len`), and a minimum number of sentences 27 | (`min_sent`). 28 | """ 29 | shorten_func = SHORTEN_FUNC_MAP.get(lang, default_shorten) 30 | return shorten_func(text, max_len=max_len) 31 | 32 | 33 | def default_shorten(text, max_len=DEFAULT_MAX_LEN, min_count=DEFAULT_MIN_SENT): 34 | return text 35 | 36 | 37 | def en_shorten(text, max_len=DEFAULT_MAX_LEN, min_count=DEFAULT_MIN_SENT): 38 | if not text: 39 | return text 40 | ret_sentences = [] 41 | sentences = en_split_sentences(text) 42 | cur_len = 0 43 | for sentence in sentences: 44 | if (len(ret_sentences) < min_count 45 | or (cur_len + len(sentence) + 1) < max_len): 46 | cur_len += len(sentence) 47 | ret_sentences.append(sentence) 48 | else: 49 | break 50 | return ' '.join(ret_sentences) 51 | 52 | 53 | def en_split_sentences(text): 54 | # from http://stackoverflow.com/questions/4576077/python-split-text-on-sentences 55 | # it's not pretty, don't read this 56 | text = " " + text + " " 57 | text = text.replace("\n", " ") 58 | text = re.sub(prefixes,"\\1", text) 59 | text = re.sub(websites,"\\1", text) 60 | if "Ph.D" in text: text = text.replace("Ph.D.", "PhD") 61 | text = re.sub("\s" + caps + "[.] "," \\1 ", text) 62 | text = re.sub(acronyms+" "+starters,"\\1 \\2", text) 63 | text = re.sub(caps + "[.]" + caps + "[.]" + caps + "[.]","\\1\\2\\3", text) 64 | text = re.sub(caps + "[.]" + caps + "[.]","\\1\\2", text) 65 | text = re.sub(" "+suffixes+"[.] "+starters," \\1 \\2", text) 66 | text = re.sub(" "+suffixes+"[.]"," \\1", text) 67 | text = re.sub(" " + caps + "[.]"," \\1", text) 68 | if "”" in text: 69 | text = text.replace(".”", "”.") 70 | if "\"" in text: 71 | text = text.replace(".\"", "\".") 72 | if "!" in text: 73 | text = text.replace("!\"", "\"!") 74 | if "?" in text: 75 | text = text.replace("?\"", "\"?") 76 | text = text.replace(".", ".") 77 | text = text.replace("?", "?") 78 | text = text.replace("!", "!") 79 | text = text.replace("", ".") 80 | sentences = text.split("") 81 | sentences = sentences[:-1] 82 | sentences = [s.strip() for s in sentences] 83 | return sentences 84 | 85 | 86 | SHORTEN_FUNC_MAP['en'] = en_shorten 87 | -------------------------------------------------------------------------------- /top/templates/base/month_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {?is_index}$index_title${:else}$full_title${/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 |
16 |
17 | 21 |
22 |
23 |
24 |
25 |

$language_project$ $title$

26 |

$tagline$

27 |
{?prev_month}{:else}{/prev_month}

{month_name} {local_year}

{?next_month}{:else}{/next_month} 28 |
29 |
30 |
31 | 32 |
33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | {#dates} 46 | 47 | {#days} 48 | {@gt key=day value=0} 49 | 50 | {:else} 51 | 52 | {/gt} 53 | {/days} 54 | 55 | {/dates} 56 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
57 |
58 | 59 | 67 | 68 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /top/templates/base/project_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}$index_title${:else}$full_title${/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 |
15 |
16 | 20 |
21 |
22 |
23 |
24 |

$language_project$ $title$

25 |

$tagline$

26 |
{?prev}{:else}{/prev}

$all_traffic_data$

{?next}{:else}{/next} 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 | {#years} 35 |

{month_name} {local_year}

36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | {#dates} 47 | 48 | {#days} 49 | {@gt key=day value=0} 50 | 51 | {:else} 52 | 53 | {/gt} 54 | {/days} 55 | 56 | {/dates} 57 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
58 | {/years} 59 |
60 | 61 | 69 | 70 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /top/templates/base/year_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {?is_index}$index_title${:else}$full_title${/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 |
15 |
16 | 20 |
21 |
22 |
23 |
24 |

$language_project$ $title$

25 |

$tagline$

26 |
{?prev}{:else}{/prev}

{month_name} {local_year}

{?next}{:else}{/next} 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 | {#months} 35 |

{month_name} {local_year}

36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | {#dates} 47 | 48 | {#days} 49 | {@gt key=day value=0} 50 | 51 | {:else} 52 | 53 | {/gt} 54 | {/days} 55 | 56 | {/dates} 57 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
58 | {/months} 59 |
60 | 61 | 69 | 70 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /static/js/jquery.peity.min.js: -------------------------------------------------------------------------------- 1 | // Peity jQuery plugin version 3.2.0 2 | // (c) 2015 Ben Pickles 3 | // 4 | // http://benpickles.github.io/peity 5 | // 6 | // Released under MIT license. 7 | (function(k,w,h,v){var d=k.fn.peity=function(a,b){y&&this.each(function(){var e=k(this),c=e.data("_peity");c?(a&&(c.type=a),k.extend(c.opts,b)):(c=new x(e,a,k.extend({},d.defaults[a],e.data("peity"),b)),e.change(function(){c.draw()}).data("_peity",c));c.draw()});return this},x=function(a,b,e){this.$el=a;this.type=b;this.opts=e},o=x.prototype,q=o.svgElement=function(a,b){return k(w.createElementNS("http://www.w3.org/2000/svg",a)).attr(b)},y="createElementNS"in w&&q("svg",{})[0].createSVGRect;o.draw= 8 | function(){var a=this.opts;d.graphers[this.type].call(this,a);a.after&&a.after.call(this,a)};o.fill=function(){var a=this.opts.fill;return k.isFunction(a)?a:function(b,e){return a[e%a.length]}};o.prepare=function(a,b){this.$svg||this.$el.hide().after(this.$svg=q("svg",{"class":"peity"}));return this.$svg.empty().data("peity",this).attr({height:b,width:a})};o.values=function(){return k.map(this.$el.text().split(this.opts.delimiter),function(a){return parseFloat(a)})};d.defaults={};d.graphers={};d.register= 9 | function(a,b,e){this.defaults[a]=b;this.graphers[a]=e};d.register("pie",{fill:["#ff9900","#fff4dd","#ffc66e"],radius:8},function(a){if(!a.delimiter){var b=this.$el.text().match(/[^0-9\.]/);a.delimiter=b?b[0]:","}b=k.map(this.values(),function(a){return 0i?n=s(h.min(e,0)):p=s(h.max(c,0)):o=1;o=p-n;0==o&&(o=1,0", "/": "?", "\\": "|" 32 | } 33 | }; 34 | 35 | function keyHandler( handleObj ) { 36 | // Only care when a possible input has been specified 37 | if ( typeof handleObj.data !== "string" ) { 38 | return; 39 | } 40 | 41 | var origHandler = handleObj.handler, 42 | keys = handleObj.data.toLowerCase().split(" "); 43 | 44 | handleObj.handler = function( event ) { 45 | // Don't fire in text-accepting inputs that we didn't directly bind to 46 | if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) || 47 | event.target.type === "text") ) { 48 | return; 49 | } 50 | 51 | // Keypress represents characters, not special keys 52 | var special = event.type !== "keypress" && jQuery.hotkeys.specialKeys[ event.which ], 53 | character = String.fromCharCode( event.which ).toLowerCase(), 54 | key, modif = "", possible = {}; 55 | 56 | // check combinations (alt|ctrl|shift+anything) 57 | if ( event.altKey && special !== "alt" ) { 58 | modif += "alt+"; 59 | } 60 | 61 | if ( event.ctrlKey && special !== "ctrl" ) { 62 | modif += "ctrl+"; 63 | } 64 | 65 | // TODO: Need to make sure this works consistently across platforms 66 | if ( event.metaKey && !event.ctrlKey && special !== "meta" ) { 67 | modif += "meta+"; 68 | } 69 | 70 | if ( event.shiftKey && special !== "shift" ) { 71 | modif += "shift+"; 72 | } 73 | 74 | if ( special ) { 75 | possible[ modif + special ] = true; 76 | 77 | } else { 78 | possible[ modif + character ] = true; 79 | possible[ modif + jQuery.hotkeys.shiftNums[ character ] ] = true; 80 | 81 | // "$" can be triggered as "Shift+4" or "Shift+$" or just "$" 82 | if ( modif === "shift+" ) { 83 | possible[ jQuery.hotkeys.shiftNums[ character ] ] = true; 84 | } 85 | } 86 | 87 | for ( var i = 0, l = keys.length; i < l; i++ ) { 88 | if ( possible[ keys[i] ] ) { 89 | return origHandler.apply( this, arguments ); 90 | } 91 | } 92 | }; 93 | } 94 | 95 | jQuery.each([ "keydown", "keyup", "keypress" ], function() { 96 | jQuery.event.special[ this ] = { add: keyHandler }; 97 | }); 98 | 99 | })( jQuery ); -------------------------------------------------------------------------------- /top/templates/fa_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی{:else}صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی در {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 |
19 | 25 |
26 |
27 |
28 |
29 |

صد پربیننده

30 |

به‌روزرسانی پربیننده‌ترین مقالات ویکی‌پدیای فارسی.

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 74 | 75 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /top/templates/fi_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}Suomenkielisen Wikipedian Top 100{:else}Suomenkielisen Wikipedian Top 100 {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 |
19 | 25 |
26 |
27 |
28 |
29 |

Top 100

30 |

Suomenkielisen Wikipedian luetuimmat artikkelit.

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 75 | 76 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /top/templates/strings/ar_strings.yaml: -------------------------------------------------------------------------------- 1 | #------------------ 2 | # Wikipedia Top 100 3 | # If you want to translate the charts on top.hatnote.com, start with a copy 4 | # of this file and leave us a note at: 5 | # https://github.com/hatnote/top/issues 6 | #------------------------------------------------------------------------------ 7 | 8 | #----------- 9 | # Page title 10 | #------------------------------------------------------------------------------ 11 | 12 | title: المئة الأبرز 13 | full_title: >- 14 | المقالات المئة الأكثر مطالعة في ويكيبيديا العربية في {formatted_date} 15 | 16 | index_title: >- 17 | المقالات المئة الأكثر مطالعة في ويكيبيديا العربية 18 | 19 | rss_title: >- 20 | المقالات المئة الأكثر مطالعة في ويكيبيديا العربية 21 | 22 | wikipedia: ويكيبيديا 23 | language_project: ويكيبيديا العربية 24 | tagline: >- 25 | قائمة مقالات ويكيبيديا العربية الأكثر مطالعة تُحدَّث يوميا. التفاصيل… 26 | 27 | alt_tagline: >- 28 | قائمة مقالات ويكيبيديا العربية الأكثر مطالعة تُحدَّث يوميا. 29 | 30 | #------ 31 | # Links 32 | #------------------------------------------------------------------------------ 33 | 34 | about_link: عن الخدمة 35 | more_langs_link: بلغات أخرى 36 | feed_link: التلقيمة 37 | blog_link: المدونة 38 | top: الرُّجوع للصفحة الأولى 39 | 40 | #--------- 41 | # Articles 42 | # 43 | # Each article has statistics at the bottom like this: 44 | # 934.8K views (↑300.5K from yesterday) 45 | #------------------------------------------------------------------------------ 46 | 47 | views: مطالعات 48 | from_yesterday: منذ أمس 49 | streak: أيام متواصلة 50 | 51 | #------------ 52 | # About section 53 | #------------------------------------------------------------------------------ 54 | 55 | about_header: عن الخدمة 56 | about_section: >- 57 |

طالع الأرشيف.

58 | 59 |

قائمة تُحدّث يوميا تضمّ صفحات ويكيبيديا الأكثر مطالعة، ينتجها ستيفن لابورت و محمود هاشمي. القائمة موجودة لويكيبيديات لغات أخرى. إذا أعجبتك هذه الخدمة فقد تعجبك ويكليبيديا و هو ملخّص أسبوعي لمقالات ويكيبيديا الأكثر تحريرًا. طالع المزيد في مدوّنة Hatnote.

60 | 61 |

هذه الصفحة توظّف واجهة ويكيبيديا البرمجية الجديدة لمطالَعات الصفحات مع صور و مُلخَّصات مجلوبة باستخدام واجهة تطبيقات ميدياويكي. يوجد مزيد من الكود و الوثائق في مستودع المشروع في GitHub

63 | 64 |

إذا أردت مطالعة قائمة الصفحات الأكثر مطالعة في ويكيبيديا لغة أخرى فضع طلبًا و أعلمنا إن كنت قادرًا على المساعدة على ترجمة القوالب.

65 | 66 |

@hatnotable

67 | 68 | #------- 69 | # Tweets 70 | # 71 | # We can provide three possible tweets. They shouldn't be longer than 117 72 | # characters (including the article title, so there is enough space to 73 | # include a link. 74 | #------------------------------------------------------------------------------ 75 | # مقالة {title} ترتيبها {rank} بين الأكثر مطالعة في #{project} منذ {streak} أيام و قرئت {views} مرة 76 | 77 | long_tweet: >- 78 | مقالة {title} بين الأكثر مطالعة في #{project} منذ {streak} أيام: ترتيبها {rank} و قرئت {views} مرة 79 | 80 | medium_tweet: "مقالة {title} طولِعت {views} مرة في #{project}" 81 | short_tweet: "{title} هي #{rank} في #{project}" 82 | 83 | #------------- 84 | # Archive page 85 | #------------------------------------------------------------------------------ 86 | 87 | all_traffic_data: كلُّ بيانات التَّدفُّقات 88 | 89 | #---- 90 | # RSS 91 | #------------------------------------------------------------------------------ 92 | 93 | rss_intro: ها هي ذي أحدث إحصائيات ويكيبيديا العربية 94 | 95 | rss_description: >- 96 | {title} في المركز #{rank} بمطالعات عددها {views_short}{?streak_min} و هي في القائمة منذ {streak_len} أيام ({view_trend|s}{view_delta} مطالعة منذ أمس){/streak_min}. 97 | 98 | rss_read_more: طالع المزيد… 99 | 100 | -------------------------------------------------------------------------------- /top/templates/strings/fa_strings.yaml: -------------------------------------------------------------------------------- 1 | #------------------ 2 | # Wikipedia Top 100 3 | # If you want to translate the charts on top.hatnote.com, start with a copy 4 | # of this file and leave us a note at: 5 | # https://github.com/hatnote/top/issues 6 | #------------------------------------------------------------------------------ 7 | 8 | #----------- 9 | # Page title 10 | #------------------------------------------------------------------------------ 11 | 12 | title: صد پربیننده 13 | full_title: >- 14 | صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی در {formatted_date} 15 | 16 | index_title: >- 17 | صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی 18 | 19 | rss_title: >- 20 | صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی 21 | 22 | wikipedia: ویکی‌پدیا 23 | language_project: ویکی‌پدیای فارسی 24 | tagline: >- 25 | به‌روزرسانی پربیننده‌ترین مقالات ویکی‌پدیای فارسی. اطلاعات بیشتر... 27 | 28 | alt_tagline: >- 29 | به‌روزرسانی پربیننده‌ترین مقالات ویکی‌پدیای فارسی. 30 | 31 | #------ 32 | # Links 33 | #------------------------------------------------------------------------------ 34 | 35 | about_link: درباره 36 | more_langs_link: زبان‌های دیگر 37 | feed_link: خوراک 38 | blog_link: وبلاگ 39 | top: بازگشت به بالا 40 | 41 | #--------- 42 | # Articles 43 | # 44 | # Each article has statistics at the bottom like this: 45 | # 934.8K views (↑300.5K from yesterday) 46 | #------------------------------------------------------------------------------ 47 | 48 | views: بازدید 49 | from_yesterday: از دیروز 50 | streak: روز پشت سر هم در فهرست پربیننده 51 | 52 | #------------ 53 | # About section 54 | #------------------------------------------------------------------------------ 55 | 56 | about_header: درباره 57 | about_section: >- 58 |

یادگیری بیشتر در وب‌لاگ هت‌نوت.

59 |

فهرست روزانهٔ بیشترین تعداد بازدید از مقالات ویکی‌پدیای فارسی، تولید شده توسطStephen LaPorte و Mahmoud Hashemi همچنین موجود در سایر زبان‌ها. اگر 63 | این فهرست برایتان جالب بود،ویکی‌پدیای هفتگی را هم مشاهده کنید، نتیجهٔ ویرایش هفتگی ویکی‌پدیا.

65 | 66 |

این صفحه به کمک ای‌پی‌آی جدید ویکی‌پدیا برای مشاهدهٔ تعداد بازدید مقالات جدید 69 | ، همراه با توضیحات و تصاویر برگرفته از ای‌پی‌آی مدیاویکی 71 | . کدها و مطالب بیشتری را می‌توانید در گیت‌هاب 73 | پیدا کنید.

74 | 75 |

اگر دوست دارید این فهرست را به زبان‌های دیگر مشاهده کنید، لطفاً در گیت‌هاب پروژه درخواست دهید 77 | و در ترجمهٔ الگوهای آن کمک کنید.

78 | 79 |

@hatnotable

80 | 81 | #------- 82 | # Tweets 83 | # 84 | # We can provide three possible tweets. They shouldn't be longer than 117 85 | # characters (including the article title, so there is enough space to 86 | # include a link. 87 | #------------------------------------------------------------------------------ 88 | 89 | long_tweet: >- 90 | در {streak}-روز پشت سر هم {title} از نظر تعداد بیشترین بازدید رتبهٔ #{rank} 91 | در میان مقالات #{project} w/ {views} کسب کرد. 92 | 93 | medium_tweet: "{title} {views} بار در #{project} دیده‌شده‌است." 94 | short_tweet: "{title} رتبهٔ #{rank} در #{project}" 95 | 96 | #------------- 97 | # Archive page 98 | #------------------------------------------------------------------------------ 99 | 100 | all_traffic_data: تمام اطلاعات بازدید 101 | 102 | #---- 103 | # RSS 104 | #------------------------------------------------------------------------------ 105 | 106 | rss_intro: عددهای جدید ویکی‌پدیای فارسی در ! 107 | rss_description: >- 108 | {title} با رتبهٔ #{rank} و بازدید {local_views_short} 109 | views{?streak_min} و {streak_len} پشت سر هم در جدول کوچک 110 | ({view_trend|s}{local_view_delta} دیده‌شده‌ها از دیروز){/streak_min}. 111 | 112 | rss_read_more: مطالعه بیشتر ... 113 | -------------------------------------------------------------------------------- /top/templates/strings/sv_strings.yaml: -------------------------------------------------------------------------------- 1 | #------------------ 2 | # Wikipedia Top 100 3 | # If you want to translate the charts on top.hatnote.com, start with a copy 4 | # of this file and leave us a note at: 5 | # https://github.com/hatnote/top/issues 6 | #------------------------------------------------------------------------------ 7 | 8 | #----------- 9 | # Page title 10 | #------------------------------------------------------------------------------ 11 | 12 | title: Topp 100 13 | full_title: >- 14 | Svenska Wikipedia topp 100 {formatted_date} 15 | 16 | index_title: >- 17 | Svenska Wikipedia topp 100 18 | 19 | rss_title: >- 20 | Svenska Wikipedias 100 mest besökta artiklar 21 | 22 | wikipedia: Wikipedia 23 | language_project: Svenska Wikipedia 24 | tagline: >- 25 | De mest besökta artiklarna på svenska Wikipedia, updaterad varje dag. Läs mer... 27 | 28 | alt_tagline: >- 29 | De mest besökta artiklarna på svenska Wikipedia, updaterad varje dag. 30 | 31 | #------ 32 | # Links 33 | #------------------------------------------------------------------------------ 34 | 35 | about_link: Om 36 | more_langs_link: Fler språk 37 | feed_link: Feed 38 | blog_link: Blogg 39 | top: Tillbaks till toppen 40 | 41 | #--------- 42 | # Articles 43 | # 44 | # Each article has statistics at the bottom like this: 45 | # 934.8K views (↑300.5K from yesterday) 46 | #------------------------------------------------------------------------------ 47 | 48 | views: visningar 49 | from_yesterday: från igår 50 | streak: dagar i rad 51 | 52 | #------------ 53 | # About section 54 | #------------------------------------------------------------------------------ 55 | 56 | about_header: Om 57 | about_section: >- 58 |

Läs mer på Hatnote bloggen.

59 |

En daglig lista med de mest besökta artiklarna på Wikipedia skapad av Stephen LaPorte och Mahmoud Hashemi. Den är också tillgänglig på fler språk. Om du tycker att denna lista är intressant kommer du också att gilla The Weeklypedia, en veckovis sammanställning av de mest redigerade Wikipedia artiklarna.

64 | 65 |

Denna sida har gjorts möjlig genom Wikipedias nya sidvisnings-API, med fina bilder och sammanfattningar från MediaWiki-API:et. Du kan läsa mer om kod och dokumentation på 70 | github.

71 | 72 |

Vill du ha en lista på de mest besökta artiklarna på en annan språkversion av Wikipedia? Det vill vi med! Skicka en begäran 74 | och berätta för oss om du kan hjälpa till att översätta mallarna.

75 | 76 |

@hatnotable

77 | 78 | #------- 79 | # Tweets 80 | # 81 | # We can provide three possible tweets. They shouldn't be longer than 117 82 | # characters (including the article title, so there is enough space to 83 | # include a link. 84 | #------------------------------------------------------------------------------ 85 | 86 | long_tweet: >- 87 | {streak} dagar i rad, var {title} den #{rank} mest 88 | lästa artikeln på #{project} med {views} visningar 89 | 90 | medium_tweet: "{title} visades {views} gånger på #{project}" 91 | short_tweet: "{title} var #{rank} på #{project}" 92 | 93 | #------------- 94 | # Archive page 95 | #------------------------------------------------------------------------------ 96 | 97 | all_traffic_data: All trafikdata 98 | 99 | #---- 100 | # RSS 101 | #------------------------------------------------------------------------------ 102 | 103 | rss_intro: Nu finns de nya siffrorna för svenska Wikipedia! 104 | rss_description: >- 105 | {title} kom på #{rank}, med {views_short} 106 | visningar{?streak_min}, för {streak_len} dagen i rad på listan 107 | ({view_trend|s}{view_delta} visningar sedan igår){/streak_min}. 108 | 109 | rss_read_more: Läs mer... 110 | -------------------------------------------------------------------------------- /top/templates/strings/no_strings.yaml: -------------------------------------------------------------------------------- 1 | #------------------ 2 | # Wikipedia Top 100 3 | # If you want to translate the charts on top.hatnote.com, start with a copy 4 | # of this file and leave us a note at: 5 | # https://github.com/hatnote/top/issues 6 | #------------------------------------------------------------------------------ 7 | 8 | #----------- 9 | # Page title 10 | #------------------------------------------------------------------------------ 11 | 12 | title: Topp 100 13 | full_title: >- 14 | Wikipedia på bokmåls topp 100 {formatted_date} 15 | 16 | index_title: >- 17 | Wikipedia på bokmåls topp 100 18 | 19 | rss_title: >- 20 | Wikipedia på bokmåls 100 mest besøkte artikler 21 | 22 | wikipedia: Wikipedia 23 | language_project: Wikipedia på norsk bokmål 24 | tagline: >- 25 | De mest besøkte artiklene på Wikipedia på bokmål, daglig oppdatert. Les mer... 27 | 28 | alt_tagline: >- 29 | De mest besøkte artiklene på Wikipedia på bokmål, daglig oppdatert. 30 | 31 | #------ 32 | # Links 33 | #------------------------------------------------------------------------------ 34 | 35 | about_link: Om 36 | more_langs_link: Flere språk 37 | feed_link: Feed 38 | blog_link: Blogg 39 | top: Til toppen av siden 40 | 41 | #--------- 42 | # Articles 43 | # 44 | # Each article has statistics at the bottom like this: 45 | # 934.8K views (↑300.5K from yesterday) 46 | #------------------------------------------------------------------------------ 47 | 48 | views: visninger 49 | from_yesterday: fra i går 50 | streak: dager på rad 51 | 52 | #------------ 53 | # About section 54 | #------------------------------------------------------------------------------ 55 | 56 | about_header: Om 57 | about_section: >- 58 |

Les mer på Hatnote-bloggen.

59 |

En daglig oppdatert liste over de mest besøkte artiklene på Wikipdia skapt av Stephen LaPorte og Mahmoud Hashemi. Den er også tilgjengelig på flere språk. Hvis du synes denne lista er interessant vil du kanskje også like Weeklypedia, en ukentlig oppdatert sammenstilling av de mest redigerte Wikipedia-artiklene.

64 | 65 |

Denne siden er gjort mulig gjennom Wikipedias nye sidevisnings-API, med fine bilder og sammenfatninger fra MediaWiki-APIet. Du kan også lese mer om koden og dokumentasjonen på 70 | github.

71 | 72 |

Vil du ha en liste over de mest besøkte artiklene på en annen språkversjon av Wikipedia? Det vil gjerne vi også! send en forespørsel 74 | og fortell oss om du kan bidra til oversetting.

75 | 76 |

@hatnotable

77 | 78 | #------- 79 | # Tweets 80 | # 81 | # We can provide three possible tweets. They shouldn't be longer than 117 82 | # characters (including the article title, so there is enough space to 83 | # include a link. 84 | #------------------------------------------------------------------------------ 85 | 86 | long_tweet: >- 87 | {streak} dager på rad, var {title} den #{rank} mest 88 | leste artikkelen på #{project} med {views} visninger 89 | 90 | medium_tweet: "{title} ble vist {views} ganger på #{project}" 91 | short_tweet: "{title} var #{rank} på #{project}" 92 | 93 | #------------- 94 | # Archive page 95 | #------------------------------------------------------------------------------ 96 | 97 | all_traffic_data: Alle traffikkdata 98 | 99 | #---- 100 | # RSS 101 | #------------------------------------------------------------------------------ 102 | 103 | rss_intro: Nå finnes de nye tallene for Wikipedia på bokmål! 104 | rss_description: >- 105 | {title} kom på #{rank}, med {views_short} 106 | visninger{?streak_min}, for {streak_len} dag på rad på listen 107 | ({view_trend|s}{view_delta} visninger siden i går){/streak_min}. 108 | 109 | rss_read_more: Les mer... -------------------------------------------------------------------------------- /top/templates/pa_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਸਿਖਰਲੇ ੧੦੦{:else}ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਿਖਰਲੇ ੧੦੦ {formatted_date} ਨੂੰ{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 | 26 |
27 |
28 |
29 |

ਸਿਖਰਲੇ ੧੦੦

30 |

ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਵੇਖੇ ਕੀਤੇ ਜਾਣ ਵਾਲੇ ਲੇਖ, ਰੋਜ਼ਾਨਾ ਨਵਪੂਰਤ।

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 75 | 76 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /top/templates/strings/fi_strings.yaml: -------------------------------------------------------------------------------- 1 | #------------------ 2 | # Wikipedia Top 100 3 | # If you want to translate the charts on top.hatnote.com, start with a copy 4 | # of this file and leave us a note at: 5 | # https://github.com/hatnote/top/issues 6 | #------------------------------------------------------------------------------ 7 | 8 | #----------- 9 | # Page title 10 | #------------------------------------------------------------------------------ 11 | 12 | title: Top 100 13 | full_title: >- 14 | Suomenkielisen Wikipedian Top 100 {formatted_date} 15 | 16 | index_title: >- 17 | Suomenkielisen Wikipedian Top 100 18 | 19 | rss_title: >- 20 | Suomenkielisen Wikipedian 100 luetuinta artikkelia 21 | 22 | wikipedia: Wikipedia 23 | language_project: Suomenkielinen Wikipedia 24 | tagline: >- 25 | Suomenkielisen Wikipedian 100 luetuinta artikkelia, päivittäin. Lue lisää... 27 | 28 | alt_tagline: >- 29 | Suomenkielisen Wikipedian luetuimmat artikkelit. 30 | 31 | #------ 32 | # Links 33 | #------------------------------------------------------------------------------ 34 | 35 | about_link: Tietoa 36 | more_langs_link: Muilla kielillä 37 | feed_link: Syöte 38 | blog_link: Blogi 39 | top: Alkuun 40 | 41 | #--------- 42 | # Articles 43 | # 44 | # Each article has statistics at the bottom like this: 45 | # 934.8K views (↑300.5K from yesterday) 46 | #------------------------------------------------------------------------------ 47 | 48 | views: katselukertaa 49 | from_yesterday: eilisestä 50 | streak: päivän jakso 51 | 52 | #------------ 53 | # About section 54 | #------------------------------------------------------------------------------ 55 | 56 | about_header: Tietoa 57 | about_section: >- 58 |

Lue arkistosta.

59 | 60 |

Päivittäin uudistuva luettelo luetuimmista Wikipedia-artikkeleista. Tekijät 61 | Stephen LaPorte 62 | ja Mahmoud 63 | Hashemi. Se on saatavana myös muilla kielillä. Jos tämä 65 | kiinnostaa, tutustu myös Weeklypediaan, viikottaiseen 67 | kokoelmaan eniten muokattuja Wikipedia-artikkeleita. Lisätietoa Hatnote-blogissa.

69 | 70 |

Tämän sivun mahdollistaa Wikipedian uusi Page View API, 73 | joka näyttää MediaWiki APIn kautta saatavaa 75 | tietoa kuvina ja yhteenvetoina. 76 | 77 |

Haluatko nähdä useimmin luettujen artikkeleiden luettelon Wikipedian 78 | muilla kielillä? Niin mekin! Lähetä pyyntö ja kerro, 80 | jos voit auttaa meitä kääntämään mallineita.

81 | 82 |

@hatnotable

83 | 84 | #------- 85 | # Tweets 86 | # 87 | # We can provide three possible tweets. They shouldn't be longer than 117 88 | # characters (including the article title, so there is enough space to 89 | # include a link. 90 | #------------------------------------------------------------------------------ 91 | 92 | long_tweet: >- 93 | {streak} päivän jakson aikana, {title} oli {rank}. luetuin artikkeli 94 | #{project}, {views} lukukertaa 95 | 96 | medium_tweet: "Artikkelia {title} luettiin {views} kertaa #{project}" 97 | short_tweet: "{title} oli {rank}. luetuin #{project}" 98 | 99 | #------------- 100 | # Archive page 101 | #------------------------------------------------------------------------------ 102 | 103 | all_traffic_data: Kaikki data 104 | 105 | #---- 106 | # RSS 107 | #------------------------------------------------------------------------------ 108 | 109 | rss_intro: Uudet suomenkielisen Wikipedian tiedot saatavana!! 110 | rss_description: >- 111 | {title} sijoittui {rank}. sijalle, keräten {views_short} 112 | lukukertaa{?streak_min}, ja jatkoi siten {streak_len} päivän jaksoa listalla 113 | ({view_trend|s}{view_delta} lukukertaa eilisestä){/streak_min}. 114 | 115 | rss_read_more: Lue lisää... 116 | -------------------------------------------------------------------------------- /top/templates/sv_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}Svenska Wikipedia topp 100{:else}Svenska Wikipedia topp 100 {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 |
19 | 25 |
26 |
27 |
28 |
29 |

Topp 100

30 |

De mest besökta artiklarna på svenska Wikipedia, updaterad varje dag.

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 74 | 75 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /top/templates/no_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}Wikipedia på bokmåls topp 100{:else}Wikipedia på bokmåls topp 100 {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 |
19 | 25 |
26 |
27 |
28 |
29 |

Topp 100

30 |

De mest besøkte artiklene på Wikipedia på bokmål, daglig oppdatert.

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 74 | 75 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /top/templates/strings/or_strings.yaml: -------------------------------------------------------------------------------- 1 | #------------------ 2 | # Wikipedia Top 100 3 | # If you want to translate the charts on top.hatnote.com, start with a copy 4 | # of this file and leave us a note at: 5 | # https://github.com/hatnote/top/issues 6 | #------------------------------------------------------------------------------ 7 | 8 | #----------- 9 | # Page title 10 | #------------------------------------------------------------------------------ 11 | 12 | title: ଲୋକପ୍ରିୟ ୧୦୦ 13 | full_title: >- 14 | ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ଲୋକପ୍ରିୟ ୧୦୦ ପ୍ରସଙ୍ଗ {formatted_date} 15 | 16 | index_title: >- 17 | ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ଲୋକପ୍ରିୟ ୧୦୦ ପ୍ରସଙ୍ଗ 18 | 19 | rss_title: >- 20 | ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆ'ର ଲୋକପ୍ରିୟ ୧୦୦ ପ୍ରସଙ୍ଗ 21 | 22 | wikipedia: ଉଇକିପିଡ଼ିଆ 23 | language_project: ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆ 24 | tagline: >- 25 | ସର୍ବାଧିକ ପଠିତ ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆ ପ୍ରସଙ୍ଗସମୂହ । ସବୁଦିନ ଅପଡେଟ ହେଉଥାଏ । Learn more... 27 | 28 | alt_tagline: >- 29 | ସବୁଦିନ ଅପଡେଟ ହେଉଥିବା ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ସର୍ବାଧିକ ପଠିତ ପ୍ରସଙ୍ଗସମୂହ । 30 | 31 | #------ 32 | # Links 33 | #------------------------------------------------------------------------------ 34 | 35 | about_link: ଉଇକିପିଡ଼ିଆ ବାବଦରେ 36 | more_langs_link: ଅଲଗା ଭାଷାରେ 37 | feed_link: ଫିଡ଼ 38 | blog_link: ବ୍ଲଗ 39 | top: ସବା ଉପରକୁ 40 | 41 | #--------- 42 | # Articles 43 | # 44 | # Each article has statistics at the bottom like this: 45 | # 934.8K views (↑300.5K from yesterday) 46 | #------------------------------------------------------------------------------ 47 | 48 | views: ପଠିତ 49 | from_yesterday: ଗତକାଲିଠାରୁ 50 | streak: ଦିନ ଷ୍ଟ୍ରିକ 51 | 52 | #------------ 53 | # About section 54 | #------------------------------------------------------------------------------ 55 | 56 | about_header: ବାବଦରେ 57 | about_section: >- 58 |

ଅଭିଲେଖଟି ପଢ଼ନ୍ତୁ ।

59 | 60 |

ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ସର୍ବାଧିକ ପଠିତ ପ୍ରସଙ୍ଗସମୂହର ତାଲିକା ଷ୍ଟିଫେନ ଲାପୋର୍ଟେ 61 | ଓ ମହମୁଦ ହାସେମିଙ୍କ ଦ୍ୱାରା ନିତିଦିନ ପ୍ରକାଶିତ । ଏହା ଅଧିକ ଭାଷାରେ ମଧ୍ୟ ଉପଲବ୍ଧ । ଯଦି ଆପଣଙ୍କୁ ଏହି ତାଲିକାଟି ଭଲ ଲାଗେ 63 | ସର୍ବାଧିକ ସମ୍ପାଦିତ ଉଇକିପିଡ଼ିଆ ପ୍ରସଙ୍ଗର ତାଲିକା ଦି ଉଇକ୍ଲିପିଡ଼ିଆ ମଧ୍ୟ ଆପଣଙ୍କୁ ମଜା ଲାଗିବ । 64 | Hatnote Blogରୁ ଅଧିକ ଜାଣନ୍ତୁ ।

65 | 66 |

ଏହି ପୃଷ୍ଠାଟି ଉଇକିପିଡ଼ିଆର ନୂଆ ପୃଷ୍ଠା 69 | ଦେଖଣା API ଦ୍ୱାରା ଓ ମିଡ଼ିଆଉକି 71 | APIର କିଛି ସୁନ୍ଦର ଛବି ଓ ସାରାଂଶ ଦ୍ୱାରା ସମ୍ଭବ ହୋଇଥିଲା । ଆପଣ ଅଧିକ କୋଡ଼ ଓ ନଥିକରଣ Githubରୁ ପା ଇପାରିବେ ।

73 | 74 |

ଆଉ ଏକ ଭାଷାର ଉଇକିପିଡ଼ିଆରେ ସର୍ବାଧିକ ପଠିତ ପ୍ରସଙ୍ଗସବୁ ଦେଖିବାକୁ ଚାହାନ୍ତି? 75 | ଆମେ ବି ଚାହୁଁ! ଦୟାକରିଏକ ମେସେଜ ପଠାଇ 77 | ଏହି ଛାଞ୍ଚଗୁଡ଼ିକ ଆପଣ ଅନୁବାଦ କରିପାରିବେ କି ନାହିଁ ଜଣାନ୍ତୁ ।

78 | 79 |

@hatnotable

80 | 81 | #------- 82 | # Tweets 83 | # 84 | # We can provide three possible tweets. They shouldn't be longer than 117 85 | # characters (including the article title, so there is enough space to 86 | # include a link. 87 | #------------------------------------------------------------------------------ 88 | 89 | long_tweet: >- 90 | On a {streak}-day streak, {title} was the #{rank} most 91 | read article on #{project} w/ {views} views 92 | 93 | medium_tweet: "{title} was viewed {views} times on #{project}" 94 | short_tweet: "{title} was #{rank} on #{project}" 95 | 96 | #------------- 97 | # Archive page 98 | #------------------------------------------------------------------------------ 99 | 100 | all_traffic_data: All traffic data 101 | 102 | #---- 103 | # RSS 104 | #------------------------------------------------------------------------------ 105 | 106 | rss_intro: The new English Wikipedia numbers are in! 107 | rss_description: >- 108 | {title} came in at #{rank}, with {views_short} 109 | views{?streak_min}, continuing its {streak_len}-day streak on the chart 110 | ({view_trend|s}{view_delta} views since yesterday){/streak_min}. 111 | 112 | rss_read_more: Read more... 113 | -------------------------------------------------------------------------------- /top/templates/or_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ଲୋକପ୍ରିୟ ୧୦୦ ପ୍ରସଙ୍ଗ{:else}ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ଲୋକପ୍ରିୟ ୧୦୦ ପ୍ରସଙ୍ଗ {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 | 27 |
28 |
29 |

ଲୋକପ୍ରିୟ ୧୦୦

30 |

ସବୁଦିନ ଅପଡେଟ ହେଉଥିବା ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ସର୍ବାଧିକ ପଠିତ ପ୍ରସଙ୍ଗସମୂହ ।

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 75 | 76 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /top/templates/strings/pa_strings.yaml: -------------------------------------------------------------------------------- 1 | #------------------ 2 | # Wikipedia Top 100 3 | # If you want to translate the charts on top.hatnote.com, start with a copy 4 | # of this file and leave us a note at: 5 | # https://github.com/hatnote/top/issues 6 | #------------------------------------------------------------------------------ 7 | 8 | #----------- 9 | # Page title 10 | #------------------------------------------------------------------------------ 11 | 12 | title: ਸਿਖਰਲੇ ੧੦੦ 13 | full_title: >- 14 | ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਿਖਰਲੇ ੧੦੦ {formatted_date} ਨੂੰ 15 | 16 | index_title: >- 17 | ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਸਿਖਰਲੇ ੧੦੦ 18 | 19 | rss_title: >- 20 | ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ੧੦੦ ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਦੌਰਾ ਕੀਤੇ ਜਾਣ ਵਾਲੇ ਲੇਖ 21 | 22 | wikipedia: ਵਿਕੀਪੀਡੀਆ 23 | language_project: ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ 24 | tagline: >- 25 | ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਵੇਖੇ ਜਾਣ ਵਾਲੇ ਲੇਖ, ਰੋਜ਼ਾਨਾ ਨਵਪੂਰਤ ਹੋਰ ਜਾਣੋ... 27 | 28 | alt_tagline: >- 29 | ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਵੇਖੇ ਕੀਤੇ ਜਾਣ ਵਾਲੇ ਲੇਖ, ਰੋਜ਼ਾਨਾ ਨਵਪੂਰਤ। 30 | 31 | #------ 32 | # Links 33 | #------------------------------------------------------------------------------ 34 | 35 | about_link: ਬਾਰੇ 36 | more_langs_link: ਹੋਰ ਭਾਸ਼ਾਵਾਂ 37 | feed_link: ਫੀਡ 38 | blog_link: ਬਲਾਗ 39 | top: ਵਾਪਸ ਉੱਤੇ ਜਾਓ 40 | 41 | #--------- 42 | # Articles 43 | # 44 | # Each article has statistics at the bottom like this: 45 | # 934.8K views (↑300.5K from yesterday) 46 | #------------------------------------------------------------------------------ 47 | 48 | views: ਵਾਰੀ ਵੇਖਿਆ ਗਿਆ 49 | from_yesterday: ਕੱਲ੍ਹ ਤੋਂ 50 | streak: ਦਿਨ ਸਟ੍ਰੀਕ 51 | 52 | #------------ 53 | # About section 54 | #------------------------------------------------------------------------------ 55 | 56 | about_header: ਬਾਰੇ 57 | about_section: >- 58 |

ਅਰਕਾਈਵ ਪੜ੍ਹੋ।

59 | 60 |

ਦਿਨ ਦੇ ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਵੇਖੇ ਜਾਣ ਵਾਲੇ ਵਿਕੀਪੀਡੀਆ ਲੇਖ Stephen LaPorte 61 | ਅਤੇ Mahmoud 62 | Hashemi ਵੱਲੋਂ ਤਿਆਰ ਕੀਤੇ ਗਏ। ਹੋਰ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ ਵੀ ਉਪਲੱਭਦ। ਜੇ ਤੁਹਾਨੂੰ ਇਹ ਸੂਚੀ ਦਿਲਚਸਪ ਲੱਗੀ ਤਾਂ ਤੁਸੀਂ ਦ ਵੀਕਲੀਪੀਡੀਆ, ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਸੋਧੇ ਜਾਣ ਵਾਲੇ ਲੇਖਾਂ ਦਾ ਹਫਤਾਵਾਰੀ ਸੰਖੇਪ, ਵੀ ਪਸੰਦ ਕਰੋਗੇ। ਹੋਰ ਜਾਣੋ Hatnote Blog ਤੇ।

66 | 67 |

ਇਹ ਸਫ਼ਾ ਬਣਾਇਆ ਗਿਆ ਵਿਕੀਪੀਡੀਆ ਦੀ ਨਵੀਂ ਪੇਜ ਵੀਊ ਏ.ਪੀ.ਆਈ. ਦੇ ਨਾਲ ਅਤੇ ਕੁਝ ਵਧੀਆ ਤਸਵੀਰਾਂ ਅਤੇ ਸਾਰ ਮੀਡੀਆਵਿਕੀ 71 | ਏ.ਪੀ.ਆਈ. ਵੱਲੋਂ।. ਤੁਸੀਂ ਹੋਰ ਸਰੋਤ ਅਤੇ ਦਸਤਾਵੇ ਗਿੱਟਹੱਬ ਤੇ ਵੇਖ ਸਕਦੇ ਹੋ।

73 | 74 |

ਕੀ ਤੁਸੀਂ ਇਹ ਸੂਚੀ ਹੋਰ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ ਵੇਖਣੀ ਚਾਹੁੰਦੇ ਹੋ? ਅਸੀਂ ਵੀ ਇਹ ਹੀ ਚਾਹੁੰਦੇ ਹਾਂ! ਕਿਰਪਾ ਕਰਕੇ ਤੇ ਬੇਨਤੀ ਭੇਜੋ 76 | ਅਤੇ ਸਾਨੂੰ ਦੱਸੋ ਜੇ ਤੁਸੀਂ ਫ਼ਰਮੇ ਦਾ ਅਨੁਵਾਦ ਕਰ ਸਕਦੇ ਹੋ।

77 | 78 |

@hatnotable

79 | 80 | #------- 81 | # Tweets 82 | # 83 | # We can provide three possible tweets. They shouldn't be longer than 117 84 | # characters (including the article title, so there is enough space to 85 | # include a link. 86 | #------------------------------------------------------------------------------ 87 | 88 | long_tweet: >- 89 | {streak}-ਦਿਨ ਸਟ੍ਰੀਕ ਨੂੰ, {title} #{rank} ਦਰਜੇ ਦਾ 90 | ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਵੇਖਿਆ ਲੇਖ ਸੀ #{project} ਉੱਤੇ {views} ਵੀਊਜ਼ ਨਾਲ 91 | 92 | medium_tweet: "{title} ਵੇਖਿਆ ਗਿਆ {views} ਵਾਰੀ #{project} ਉੱਤੇ" 93 | short_tweet: "{title} #{rank} ਤੇ ਸੀ #{project} ਉੱਤੇ" 94 | 95 | #------------- 96 | # Archive page 97 | #------------------------------------------------------------------------------ 98 | 99 | all_traffic_data: ਸਾਰਾ ਆਵਾਜਾਈ ਡਾਟਾ 100 | 101 | #---- 102 | # RSS 103 | #------------------------------------------------------------------------------ 104 | 105 | rss_intro: ਨਵੇਂ ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਆਂਕੜੇ ਆ ਚੁੱਕੇ ਹਨ! 106 | rss_description: >- 107 | {title} #{rank} ਦਰਜੇ ਤੇ ਆਇਆ, {views_short} 108 | ਵੀਊਜ਼ ਦੇ ਨਾਲ{?streak_min}, ਆਪਣੀ {streak_len}-ਦਿਨ ਸਟ੍ਰੀਕ ਜਾਰੀ ਰੱਖਦਾ ਹੋਇਆ ਚਾਰਟ ਉੱਤੇ 109 | ({view_trend|s}{view_delta} ਕੱਲ੍ਹ ਤੋਂ ਲਾਇ ਕੇ ਵੀਊਜ਼){/streak_min}. 110 | 111 | rss_read_more: ਹੋਰ ਪੜ੍ਹੋ... 112 | -------------------------------------------------------------------------------- /top/templates/ar_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}المقالات المئة الأكثر مطالعة في ويكيبيديا العربية{:else}المقالات المئة الأكثر مطالعة في ويكيبيديا العربية في {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 | 26 |
27 |
28 |
29 |

المئة الأبرز

30 |

قائمة مقالات ويكيبيديا العربية الأكثر مطالعة تُحدَّث يوميا.

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 77 | 78 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /top/templates/en_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}{full_lang} Wikipedia Top 100{:else}{full_lang} Wikipedia Top 100 on {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 |
19 | 25 |
26 |
27 |
28 |
29 |

Top 100

30 |

The most-visited {full_lang} Wikipedia articles, updated daily.

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 75 | 76 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /top/templates/gl_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}Top 100 Wikipedia en galego{:else}Top 100 da Wikipedia en galego o {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 |
19 | 25 |
26 |
27 |
28 |
29 |

Top 100

30 |

Os artigos máis visitados da Wikipedia en galego, actualizados diariamente.

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 71 | 72 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /top/templates/strings/en_strings.yaml: -------------------------------------------------------------------------------- 1 | #------------------ 2 | # Wikipedia Top 100 3 | # If you want to translate the charts on top.hatnote.com, start with a copy 4 | # of this file and leave us a note at: 5 | # https://github.com/hatnote/top/issues 6 | #------------------------------------------------------------------------------ 7 | 8 | #----------- 9 | # Page title 10 | #------------------------------------------------------------------------------ 11 | 12 | title: Top 100 13 | full_title: >- 14 | English Wikipedia Top 100 on {formatted_date} 15 | 16 | index_title: >- 17 | English Wikipedia Top 100 18 | 19 | rss_title: >- 20 | English Wikipedia's 100 most-visited articles 21 | 22 | wikipedia: Wikipedia 23 | language_project: English Wikipedia 24 | tagline: >- 25 | The most-visited English Wikipedia articles, updated daily. Learn more... 27 | 28 | alt_tagline: >- 29 | The most-visited English Wikipedia articles, updated daily. 30 | 31 | #------ 32 | # Links 33 | #------------------------------------------------------------------------------ 34 | 35 | about_link: About 36 | more_langs_link: More languages 37 | feed_link: Feed 38 | blog_link: Blog 39 | top: Back to top 40 | 41 | #--------- 42 | # Articles 43 | # 44 | # Each article has statistics at the bottom like this: 45 | # 934.8K views (↑300.5K from yesterday) 46 | #------------------------------------------------------------------------------ 47 | 48 | views: views 49 | from_yesterday: from yesterday 50 | streak: day streak 51 | 52 | #------------ 53 | # About section 54 | #------------------------------------------------------------------------------ 55 | 56 | about_header: About 57 | about_section: >- 58 |

Read the archive.

59 | 60 |

A daily list of the most visited Wikipedia articles, generated 61 | by Stephen LaPorte 62 | and Mahmoud 63 | Hashemi. It's also available in more languages. If 65 | you find this list interesting, you will enjoy The Weeklypedia, a weekly 67 | digest of the most edited Wikipedia articles. Learn more on the Hatnote Blog.

69 | 70 |

This page was made possible by Wikipedia's new page 73 | view API, with some nice images and summaries from the MediaWiki 75 | API. You can find more code and documentation available on 77 | github.

78 | 79 |

Want to see a list of the most visited articles in another 80 | language of Wikipedia? So do we! Please send a request 82 | and let us know if you can help translate the templates.

83 | 84 |

@hatnotable

85 | 86 | #------- 87 | # Tweets 88 | # 89 | # We can provide three possible tweets. They shouldn't be longer than 117 90 | # characters (including the article title, so there is enough space to 91 | # include a link. 92 | #------------------------------------------------------------------------------ 93 | 94 | long_tweet: >- 95 | On a {streak}-day streak, {title} was the #{rank} most 96 | read article on #{project} w/ {views} views 97 | 98 | medium_tweet: "{title} was viewed {views} times on #{project}" 99 | short_tweet: "{title} was #{rank} on #{project}" 100 | 101 | #------------- 102 | # Archive page 103 | #------------------------------------------------------------------------------ 104 | 105 | all_traffic_data: All traffic data 106 | 107 | #---- 108 | # RSS 109 | #------------------------------------------------------------------------------ 110 | 111 | rss_intro: The new English Wikipedia numbers are in! 112 | rss_description: >- 113 | {title} came in at #{rank}, with {views_short} 114 | views{?streak_min}, continuing its {streak_len}-day streak on the chart 115 | ({view_trend|s}{view_delta} views since yesterday){/streak_min}. 116 | 117 | rss_read_more: Read more... 118 | -------------------------------------------------------------------------------- /top/templates/fa_month_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {?is_index}صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی{:else}صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی در {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 |
16 |
17 | 21 |
22 |
23 |
24 |
25 |

ویکی‌پدیای فارسی صد پربیننده

26 |

به‌روزرسانی پربیننده‌ترین مقالات ویکی‌پدیای فارسی. اطلاعات بیشتر...

27 |
{?prev_month}{:else}{/prev_month}

{month_name} {local_year}

{?next_month}{:else}{/next_month} 28 |
29 |
30 |
31 | 32 |
33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | {#dates} 46 | 47 | {#days} 48 | {@gt key=day value=0} 49 | 50 | {:else} 51 | 52 | {/gt} 53 | {/days} 54 | 55 | {/dates} 56 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
57 |
58 | 59 | 70 | 71 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /top/templates/hu_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}Magyar Wikipédia Top 100{:else}A magyar Wikipédia top 100 oldala {formatted_date}-n{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 |
19 | 25 |
26 |
27 |
28 |
29 |

Top 100

30 |

A magyar Wikipédia leglátogatottabb szócikkei, naponta frissítve.

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 75 | 76 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /top/templates/fa_project_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی{:else}صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی در {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 |
15 |
16 | 20 |
21 |
22 |
23 |
24 |

ویکی‌پدیای فارسی صد پربیننده

25 |

به‌روزرسانی پربیننده‌ترین مقالات ویکی‌پدیای فارسی. اطلاعات بیشتر...

26 |
{?prev}{:else}{/prev}

تمام اطلاعات بازدید

{?next}{:else}{/next} 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 | {#years} 35 |

{month_name} {local_year}

36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | {#dates} 47 | 48 | {#days} 49 | {@gt key=day value=0} 50 | 51 | {:else} 52 | 53 | {/gt} 54 | {/days} 55 | 56 | {/dates} 57 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
58 | {/years} 59 |
60 | 61 | 72 | 73 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /top/templates/fi_month_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {?is_index}Suomenkielisen Wikipedian Top 100{:else}Suomenkielisen Wikipedian Top 100 {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 |
16 |
17 | 21 |
22 |
23 |
24 |
25 |

Suomenkielinen Wikipedia Top 100

26 |

Suomenkielisen Wikipedian 100 luetuinta artikkelia, päivittäin. Lue lisää...

27 |
{?prev_month}{:else}{/prev_month}

{month_name} {local_year}

{?next_month}{:else}{/next_month} 28 |
29 |
30 |
31 | 32 |
33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | {#dates} 46 | 47 | {#days} 48 | {@gt key=day value=0} 49 | 50 | {:else} 51 | 52 | {/gt} 53 | {/days} 54 | 55 | {/dates} 56 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
57 |
58 | 59 | 71 | 72 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /top/templates/fi_project_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}Suomenkielisen Wikipedian Top 100{:else}Suomenkielisen Wikipedian Top 100 {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 |
15 |
16 | 20 |
21 |
22 |
23 |
24 |

Suomenkielinen Wikipedia Top 100

25 |

Suomenkielisen Wikipedian 100 luetuinta artikkelia, päivittäin. Lue lisää...

26 |
{?prev}{:else}{/prev}

Kaikki data

{?next}{:else}{/next} 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 | {#years} 35 |

{month_name} {local_year}

36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | {#dates} 47 | 48 | {#days} 49 | {@gt key=day value=0} 50 | 51 | {:else} 52 | 53 | {/gt} 54 | {/days} 55 | 56 | {/dates} 57 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
58 | {/years} 59 |
60 | 61 | 73 | 74 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /top/templates/ur_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}اردو ویکیپیڈیا کے اولین 100 صفحات{:else}اردو ویکیپیڈیا کے اولین 100 صفحات {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 15 | 16 | 17 |
18 | 26 |
27 |
28 |
29 |

Top 100

30 |

روزانہ کی بنیاد پر، سب سے زیادہ ملاحظہ کردہ اردو ویکیپیڈیا مضامین.

31 |
{?prev}{:else}{/prev}

Available wikis

{?next}{:else}{/next} 32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 | {?months} 40 | 45 | {/months} 46 | {?years} 47 |
    48 | {#years} 49 |
  • {.}
  • 50 | {/years} 51 |
52 | {/years} 53 | {?projects} 54 | 59 | {/projects} 60 | 61 |
62 | 63 | 75 | 76 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /top/templates/pa_month_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {?is_index}ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਸਿਖਰਲੇ ੧੦੦{:else}ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਿਖਰਲੇ ੧੦੦ {formatted_date} ਨੂੰ{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 |
16 | 22 |
23 |
24 |
25 |

ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਸਿਖਰਲੇ ੧੦੦

26 |

ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਵੇਖੇ ਜਾਣ ਵਾਲੇ ਲੇਖ, ਰੋਜ਼ਾਨਾ ਨਵਪੂਰਤ ਹੋਰ ਜਾਣੋ...

27 |
{?prev_month}{:else}{/prev_month}

{month_name} {local_year}

{?next_month}{:else}{/next_month} 28 |
29 |
30 |
31 | 32 |
33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | {#dates} 46 | 47 | {#days} 48 | {@gt key=day value=0} 49 | 50 | {:else} 51 | 52 | {/gt} 53 | {/days} 54 | 55 | {/dates} 56 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
57 |
58 | 59 | 71 | 72 | 80 | 81 | 82 | -------------------------------------------------------------------------------- /top/templates/sv_month_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {?is_index}Svenska Wikipedia topp 100{:else}Svenska Wikipedia topp 100 {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 |
16 |
17 | 21 |
22 |
23 |
24 |
25 |

Svenska Wikipedia Topp 100

26 |

De mest besökta artiklarna på svenska Wikipedia, updaterad varje dag. Läs mer...

27 |
{?prev_month}{:else}{/prev_month}

{month_name} {local_year}

{?next_month}{:else}{/next_month} 28 |
29 |
30 |
31 | 32 |
33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | {#dates} 46 | 47 | {#days} 48 | {@gt key=day value=0} 49 | 50 | {:else} 51 | 52 | {/gt} 53 | {/days} 54 | 55 | {/dates} 56 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
57 |
58 | 59 | 70 | 71 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /top/templates/fa_year_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {?is_index}صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی{:else}صد مقالهٔ پربینندهٔ ویکی‌پدیای فارسی در {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 |
15 |
16 | 20 |
21 |
22 |
23 |
24 |

ویکی‌پدیای فارسی صد پربیننده

25 |

به‌روزرسانی پربیننده‌ترین مقالات ویکی‌پدیای فارسی. اطلاعات بیشتر...

26 |
{?prev}{:else}{/prev}

{month_name} {local_year}

{?next}{:else}{/next} 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 | {#months} 35 |

{month_name} {local_year}

36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | {#dates} 47 | 48 | {#days} 49 | {@gt key=day value=0} 50 | 51 | {:else} 52 | 53 | {/gt} 54 | {/days} 55 | 56 | {/dates} 57 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
58 | {/months} 59 |
60 | 61 | 72 | 73 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /top/templates/pa_project_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਸਿਖਰਲੇ ੧੦੦{:else}ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਿਖਰਲੇ ੧੦੦ {formatted_date} ਨੂੰ{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 |
15 | 21 |
22 |
23 |
24 |

ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਸਿਖਰਲੇ ੧੦੦

25 |

ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਭ ਤੋਂ ਜ਼ਿਆਦਾ ਵੇਖੇ ਜਾਣ ਵਾਲੇ ਲੇਖ, ਰੋਜ਼ਾਨਾ ਨਵਪੂਰਤ ਹੋਰ ਜਾਣੋ...

26 |
{?prev}{:else}{/prev}

ਸਾਰਾ ਆਵਾਜਾਈ ਡਾਟਾ

{?next}{:else}{/next} 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 | {#years} 35 |

{month_name} {local_year}

36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | {#dates} 47 | 48 | {#days} 49 | {@gt key=day value=0} 50 | 51 | {:else} 52 | 53 | {/gt} 54 | {/days} 55 | 56 | {/dates} 57 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
58 | {/years} 59 |
60 | 61 | 73 | 74 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /top/templates/ar_month_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {?is_index}المقالات المئة الأكثر مطالعة في ويكيبيديا العربية{:else}المقالات المئة الأكثر مطالعة في ويكيبيديا العربية في {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 |
16 |
17 | 21 |
22 |
23 |
24 |
25 |

ويكيبيديا العربية المئة الأبرز

26 |

قائمة مقالات ويكيبيديا العربية الأكثر مطالعة تُحدَّث يوميا. التفاصيل

27 |
{?prev_month}{:else}{/prev_month}

{month_name} {local_year}

{?next_month}{:else}{/next_month} 28 |
29 |
30 |
31 | 32 |
33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | {#dates} 46 | 47 | {#days} 48 | {@gt key=day value=0} 49 | 50 | {:else} 51 | 52 | {/gt} 53 | {/days} 54 | 55 | {/dates} 56 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
57 |
58 | 59 | 73 | 74 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /top/templates/strings/hu_strings.yaml: -------------------------------------------------------------------------------- 1 | #------------------ 2 | # Wikipedia Top 100 3 | # If you want to translate the charts on top.hatnote.com, start with a copy 4 | # of this file and leave us a note at: 5 | # https://github.com/hatnote/top/issues 6 | #------------------------------------------------------------------------------ 7 | 8 | #----------- 9 | # Page title 10 | #------------------------------------------------------------------------------ 11 | 12 | title: Top 100 13 | full_title: >- 14 | A magyar Wikipédia top 100 oldala {formatted_date}-n 15 | 16 | index_title: >- 17 | Magyar Wikipédia Top 100 18 | 19 | rss_title: >- 20 | A magyar Wikipédia's 100 leglátogatottabb szócikke 21 | 22 | wikipedia: Wikipédia 23 | language_project: Magyar Wikipédia 24 | tagline: >- 25 | A magyar Wikipédia leglátogatottabb szócikkei, naponta frissítve.Tudj meg többet... 27 | 28 | alt_tagline: >- 29 | A magyar Wikipédia leglátogatottabb szócikkei, naponta frissítve. 30 | 31 | #------ 32 | # Links 33 | #------------------------------------------------------------------------------ 34 | 35 | about_link: Az oldalról 36 | more_langs_link: További nyelvek 37 | feed_link: Feed 38 | blog_link: Blog 39 | top: Vissza a lap tetejére 40 | 41 | #--------- 42 | # Articles 43 | # 44 | # Each article has statistics at the bottom like this: 45 | # 934.8K views (↑300.5K from yesterday) 46 | #------------------------------------------------------------------------------ 47 | 48 | views: megtekintések 49 | from_yesterday: tegnaptól 50 | streak: napos széria 51 | 52 | #------------ 53 | # About section 54 | #------------------------------------------------------------------------------ 55 | 56 | about_header: Az oldalról 57 | about_section: >- 58 |

Az archívumot itt érheted el.

59 | 60 |

Az oldal a magyar nyelvű Wikipédia legtöbbet megtekintett szócikkeinek 61 | napi toplistája, a létrehozói: 62 | Stephen LaPorte és Mahmoud 63 | Hashemi. Több más 64 | nyelven is elérhető. Ha érdekesnek találod, tetszeni fog a The Weeklypedia is, egy heti 66 | gyűjtés a legtöbbet szerkesztett Wikipédia szócikkekből. Érdemes még 67 | körülnézned a Hatnote Blogon.

68 | 69 |

Az oldal nem jöhetett volna létre a 71 | Wikipédia új page view API-ja nélkül, felhasználva képekhez és 72 | összegzésekhez a 73 | MediaWiki API-t is. A kódot és a dokumentációt megtalálhatod a githubon.

75 | 76 |

Szeretnéd más nyelveken is látni a legtöbbet látogatott cikkek 77 | listáját? Mi is! Hozz látre egy hibajegyet és 79 | írd meg, tudsz-e segíteni a sablonok lefordításában.

80 | 81 |

@hatnotable

82 | 83 | #------- 84 | # Tweets 85 | # 86 | # We can provide three possible tweets. They shouldn't be longer than 117 87 | # characters (including the article title, so there is enough space to 88 | # include a link. 89 | #------------------------------------------------------------------------------ 90 | 91 | long_tweet: >- 92 | Már {streak} napos sorozatban, a {title} volt a #{rank} legolvasotabb 93 | cikk a #{project}en / {views} megtekintéssel 94 | 95 | medium_tweet: "{title} már {views}-szer nézték meg a #{project}en" 96 | short_tweet: "{title} #{rank} helyezést ért el a #{project}en" 97 | 98 | #------------- 99 | # Archive page 100 | #------------------------------------------------------------------------------ 101 | 102 | all_traffic_data: Összes meglévő adat 103 | 104 | #---- 105 | # RSS 106 | #------------------------------------------------------------------------------ 107 | 108 | rss_intro: Az új magyar Wikipédia toplista megérkezett! 109 | rss_description: >- 110 | {title} a #{rank}. helyezett, {views_short} 111 | megtekintéssel {?streak_min}, folytatva {streak_len} napos sorozatát a 112 | toplistában, ({view_trend|s}{view_delta} megtekintéssel tegnap óta){/streak_min}. 113 | 114 | rss_read_more: Olvass tovább... 115 | -------------------------------------------------------------------------------- /top/templates/sv_project_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {^is_index}Svenska Wikipedia topp 100{:else}Svenska Wikipedia topp 100 {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 |
15 |
16 | 20 |
21 |
22 |
23 |
24 |

Svenska Wikipedia Topp 100

25 |

De mest besökta artiklarna på svenska Wikipedia, updaterad varje dag. Läs mer...

26 |
{?prev}{:else}{/prev}

All trafikdata

{?next}{:else}{/next} 27 |
28 |
29 |
30 | 31 |
32 | 33 |
34 | {#years} 35 |

{month_name} {local_year}

36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | {#dates} 47 | 48 | {#days} 49 | {@gt key=day value=0} 50 | 51 | {:else} 52 | 53 | {/gt} 54 | {/days} 55 | 56 | {/dates} 57 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
58 | {/years} 59 |
60 | 61 | 72 | 73 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /top/templates/or_month_index.dust: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {?is_index}ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ଲୋକପ୍ରିୟ ୧୦୦ ପ୍ରସଙ୍ଗ{:else}ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆର ଲୋକପ୍ରିୟ ୧୦୦ ପ୍ରସଙ୍ଗ {formatted_date}{/is_index} 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 |
16 | 22 |
23 |
24 |
25 |

ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆ ଲୋକପ୍ରିୟ ୧୦୦

26 |

ସର୍ବାଧିକ ପଠିତ ଓଡ଼ିଆ ଉଇକିପିଡ଼ିଆ ପ୍ରସଙ୍ଗସମୂହ । ସବୁଦିନ ଅପଡେଟ ହେଉଥାଏ । Learn more...

27 |
{?prev_month}{:else}{/prev_month}

{month_name} {local_year}

{?next_month}{:else}{/next_month} 28 |
29 |
30 |
31 | 32 |
33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | {#dates} 46 | 47 | {#days} 48 | {@gt key=day value=0} 49 | 50 | {:else} 51 | 52 | {/gt} 53 | {/days} 54 | 55 | {/dates} 56 |
{weekdays.mon}{weekdays.tues}{weekdays.wed}{weekdays.thurs}{weekdays.fri}{weekdays.sat}{weekdays.sun}
{?chart}{/chart}{local_day}{?chart}{/chart}
57 |
58 | 59 | 71 | 72 | 80 | 81 | 82 | --------------------------------------------------------------------------------