|
|
| Linia 30: |
Linia 30: |
|
| |
|
| <br> | | <br> |
| {{Api help|query+extracts}}
| |
| {{ApiEx
| |
| | desc=<translate><!--T:25--> Another example</translate>
| |
| | p1=action=query
| |
| | p2=prop=extracts
| |
| | p3=exchars=100
| |
| | p4=explaintext
| |
| | p5=titles=Earth
| |
| | result=<syntaxhighlight lang="javascript">{
| |
| "query": {
| |
| "pages": {
| |
| "9228": {
| |
| "pageid": 9228,
| |
| "ns": 0,
| |
| "title": "Earth",
| |
| "extract": "Earth, also called the world and, less frequently, Gaia, (or Terra in some works of science fiction)..."
| |
| }
| |
| }
| |
| }
| |
| }</syntaxhighlight>
| |
| }}
| |