mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-24 08:13:59 +00:00
9207edfa81
MediaWiki core change I04b1a384 added support for i18n of API module help. This takes advantage of that while still maintaining backwards compatibility with earlier versions of MediaWiki. Once support for MediaWiki before 1.25 is dropped, the methods marked deprecated in this patch may be removed. Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
16 lines
1.1 KiB
JSON
16 lines
1.1 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": []
|
|
},
|
|
"textextracts-desc": "Provides plain-text or limited HTML extracts of page content",
|
|
"apihelp-query+extracts-description": "Returns plain-text or limited HTML extracts of the given pages.",
|
|
"apihelp-query+extracts-param-chars": "How many characters to return. Actual text returned might be slightly longer.",
|
|
"apihelp-query+extracts-param-sentences": "How many sentences to return.",
|
|
"apihelp-query+extracts-param-limit": "How many extracts to return.",
|
|
"apihelp-query+extracts-param-intro": "Return only content before the first section.",
|
|
"apihelp-query+extracts-param-plaintext": "Return extracts as plain text instead of limited HTML.",
|
|
"apihelp-query+extracts-param-sectionformat": "How to format sections in plaintext mode:\n;plain:No formatting.\n;wiki:Wikitext-style formatting (== like this ==).\n;raw:This module's internal representation (section titles prefixed with <ASCII 1><ASCII 2><section level><ASCII 2><ASCII 1>).",
|
|
"apihelp-query+extracts-param-variant": "Convert content into this language variant.",
|
|
"apihelp-query+extracts-example-1": "Get a 175-character extract"
|
|
}
|