mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-12-18 02:41:05 +00:00
d69b35f4bc
Bug: T170617 Change-Id: I53e08db40e5319019c842869f992bac32b1dac97
21 lines
1.9 KiB
JSON
21 lines
1.9 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-summary": "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. (Multiple extracts can only be returned if exintro is set to true.)",
|
|
"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-example-1": "Get a 175-character extract",
|
|
"apiwarn-textextracts-limit": "<var>exlimit</var> was too large for a whole article extracts request, lowered to $1.",
|
|
"apiwarn-textextracts-unsupportedmodel": "$1 has content model $2, which is not supported; returning an empty extract.",
|
|
"apiwarn-textextracts-title-in-file-namespace": "Extract for a title in File namespace was requested, none returned.",
|
|
"apiwarn-textextracts-sentences-and-html": "The <var>$1sentences</var> parameter may have unexpected results when used in HTML mode.",
|
|
"apiwarn-textextracts-malformed-html": "HTML may be malformed and/or unbalanced and may omit inline images. Use at your own risk. Known problems are listed at https://www.mediawiki.org/wiki/Extension:TextExtracts#Caveats."
|
|
}
|