mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-24 00:04:35 +00:00
579fae4c38
All API calls supports the generic parameter variant. With I8a31dfd3cf2a3e8f768907084d26a77f198ccbe3 in core this parameter is documented and generates no warning anymore. Bug: T117529 Change-Id: Ic7e6f1df99c67ad4132c22503d99345611af271a
15 lines
1.1 KiB
JSON
15 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. (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"
|
|
}
|