API:Purge/pl
From MediaWiki.org
| This page is part of the MediaWiki PHP action API documentation. |
MediaWiki PHP action API
- Quick start guide
- FAQ
- Tutorial
- Formats
- Error reporting
- Restricting usage
- Cross-site requests
- Authentication
- Queries
- Searching (by title, content, coordinates...)
- Parsing wikitext and expanding templates
- Purging pages' caches
- Parameter information
- Changing wiki content
- Watchlist feed
- Wikidata
- Extensions
- Using the API in MediaWiki and extensions
- Miscellaneous
- Implementation
- Client code
- Asserting
| MediaWiki version: | 1.14 |
Czyszczenie pamięci podręcznej stron[edit | edit source]
Możesz wyczyścić pamięć podręczną jednej lub wielu stron poprzez parametr action=purge.
Parametry[edit | edit source]
titles: Lista tytułów
Przykład[edit | edit source]
Czyszczenie pamięci podręcznej stron: Strona główna, Nieistniejąca, Dyskusja:
| Result |
|---|
<?xml version="1.0" encoding="utf-8"?>
<api>
<purge>
<page ns="0" title="Strona główna" purged="" />
<page ns="0" title="Nieistniejąca" missing="" />
<page title="Dyskusja:" invalid="" />
</purge>
</api>
|
Błędy[edit | edit source]
- kod: cantpurge
- opis: Tylko użytkownicy z uprawnieniem 'purge' mogą odświeżać pamięć podręczną poprzez API

