mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-12-21 20:32:46 +00:00
db9acad0ec
See MediaWiki core patch I778bab2b Change-Id: I48ce197bfb0a33b6075802c2513bdbc9aa582f4d
18 lines
1.5 KiB
JSON
18 lines
1.5 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."
|
|
}
|