Jump to content
Wikimedia Meta-Wiki

User:Dapete/vCat: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
Line 3: Line 3:
See also:
See also:
* [[User:Dapete/vCat/Catgraph migration|Catgraph migration]] for information on changes between the old Catgraph tool and vCat.
* [[User:Dapete/vCat/Catgraph migration|Catgraph migration]] for information on changes between the old Catgraph tool and vCat.
* [[User:Dapete/vCat/Fonts|Fonts]] for information on which fonts are used to support various writing systems.


{| class="wikitable"
{| class="wikitable"
Line 65: Line 66:
| Creates HTML pages with an image map (<code>&lt;map&gt;</code> element) for PNG and GIF images. The images are, embedded in the page as <code>data:</code> URIs.
| Creates HTML pages with an image map (<code>&lt;map&gt;</code> element) for PNG and GIF images. The images are, embedded in the page as <code>data:</code> URIs.
|}
|}

=== Fonts on Tool Labs ===

vCat already supports all languages with Wikipedias over 1.000.000 articles. The goal is to extend this to all over 100.000 articles, and as many as possible over 10.000 articles.

Although the font used by GraphViz is set to ''DejaVu Sans'', the Cairo library it uses for font rendering will automatically pick up fonts as needed if specific glyphs are not included in this font.

{| class="wikitable"
! Languages
! Font
! Ubuntu package
! Ubuntu package description
! Notes
|-
! colspan=5 scope=colgroup | Fonts needed for 1.000.000+ Wikipedias
|-
| All
| DejaVu Sans
| ttf-dejavu-core
| Vera font family derivate with additional characters
| This package was already installed on Tool Labs, but it was explicitly added to the Puppet config.
|-
! colspan=5 scope=colgroup | Fonts needed for 100.000+ Wikipedias
|-
| All languages written in Latin, Cyrillic, Arabic and Hebrew scripts<br/>Hayeren (hy)
| DejaVu Sans
| colspan=3 | see above
|-
| Hindī (hi)
| Lohit Devanagari
| ttf-indic-fonts
| Metapackage for free Indian language fonts
| This is the font loaded as a Webfont on hi.wikipedia.org. It also covers many other languages. Font has been installed.
|-
| Japanese (ja)
| IPAGothic
| fonts-ipafont-gothic
| Japanese OpenType font set, IPA Gothic font
| Font has been installed.
|-
| Korean (ko)
| UnBatang
| fonts-unfonts-core
| Un series Korean TrueType fonts
| Font has been installed.
|-
| Chinese (zh)
| ?
| ?
| ?
| IPAGothic is used for some Chinese characters if it is installed. I need to find out if this should be used (I know some characters are written differently between these languages) and another font is needed for the other characters, anyway.
|-
! colspan=5 scope=colgroup | Fonts needed for 10.000+ Wikipedias
|-
| colspan=5 | ...
|}

{| class="wikitable"
|+ Unusual scripts in 10.000+ Wikipedias (work in progress, stopped at ''my'')
! rowspan=2 | Language
! colspan=2 | Font
|-
! locally (my computer)
! explicitly specified on Wikipedia
|-
! colspan=3 scope=colgroup | Languages which require special fonts
|-
| am (Āmariññā) || Goha-Tibeb Zemen || AbyssinicaSIL
|-
| my (Myanmarsar) || ''can not display'' || TharLon
|-
! colspan=3 scope=colgroup | Indic languages covered by Lohit which use a special font on Wikipedia
|-
| bn (Bangla) || Lohit Bengali || Siyam Rupali
|-
! colspan=3 scope=colgroup | Indic languages covered by Lohit
|-
| bpy (Bishnupriya Manipuri) || Lohit Bengali || —
|-
| gu (Gujarati) || Lohit Gujarati || —
|-
| kn (Kannada) || Lohit Kannada || —
|-
| ml (Malayalam) || Lohit Malayalam || —
|-
| mr (Marathi) || Lohit Hindi || —
|-
| new (Nepal Bhasa) || Lohit Hindi || —
|-
| ne (Nepālī) || Lohit Hindi || Lohit Nepali
|-
! colspan=3 scope=colgroup | Languages covered by DejaVu Sans
|-
| ka (Kartuli) || DejaVu Sans || —
|-
| ku (Kurdî) || DejaVu Sans || —
|}

Already installed on Tool Labs on request:

* fonts-ipafont-gothic
* fonts-unfonts-core
* ttf-dejavu-core (was not explicitly installed)
* ttf-indic-fonts

Revision as of 10:05, 9 June 2014

English

See also:

  • Catgraph migration for information on changes between the old Catgraph tool and vCat.
  • Fonts for information on which fonts are used to support various writing systems.
Overview of all parameters
Name Values Description Remarks
wiki e.g. "dewiki" Wiki abbreviation (as used in DBs).
category category title Title of the category. The ns parameter was never really documented. It could be used with sub=article to change the namespace of the title given in cat.
Internally, category now always uses title and ns, but users don't see any of that.
title page name Title of the page. If ns is not specified, the namespace is automatically determined from the title.
Can be specified more than once to have multiple pages as roots for the graph.
Can not be used with category.
ns number Number of namespace. Forces the namespace for the title specified to this namespace.
Cannot be used with category.
rel "category", "subcategory" Shows a graph of a category's or article's categories, or of a category's subcategories. The latter can only be used if the roots of the graph are categories.
depth number Maximum depth of the tree.
limit number Maximum number of nodes in the tree.
format "dot", "gv" (both Graphviz), "gif", "pdf", "png", "svg" Output format (default PNG). If links is used, creates HTML pages with an image map (<map> element) for PNG and GIF images. See below.
showhidden "0", "1" Default "0". Flag to show hidden categories (marked with __HIDDENCAT__).
algorithm "dot", "fdp" Use the specified Graphviz utility to create the graph (default dot).
links no value, "wiki", "graph" If set, include links in graph.
"wiki" makes links to the wiki articles.
"graph" makes links to a Catgraph starting there with the same parameters as the current one.
Creates HTML pages with an image map (<map> element) for PNG and GIF images. The images are, embedded in the page as data: URIs.

AltStyle によって変換されたページ (->オリジナル) /