Manual:PopulateContentModel.php/pl: Difference between revisions
Appearance
Content deleted Content added
Updating to match new version of source page |
Updating to match new version of source page |
||
| Line 1: | Line 1: | ||
<languages /> |
<languages /> |
||
{{removed|1.35|newvarname=populateContentTables.php|newvarlink=Manual:PopulateContentTables.php}} |
|||
{{obsolete|1.35}} |
|||
{{MW file|populateContentModel.php|maintenance/|class1=PopulateContentModel}} |
{{MW file|populateContentModel.php|maintenance/|class1=PopulateContentModel}} |
||
==Details== |
==Details== |
||
Revision as of 11:28, 18 August 2020
Ta funkcja została usunięta z jądra MediaWiki w wersji MediaWiki 1.35.
Proszę zobaczyć alternatywny sposób użycia tej funkcji na populateContentTables.php. |
| Plik MediaWiki: populateContentModel.php | |
|---|---|
| Lokalizacja: | maintenance/ |
| Kod źródłowy: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| Klasy: | PopulateContentModel |
Details
populateContentModel.php file is a maintenance script to populate the various fields that describe the content model of pages and revisions.
It can populate the fields page_content_model from page, rev_content_model and rev_content_format from revision, and ar_content_model and ar_content_format from archive.
Użycie
php maintenance/populateContentModel.php --ns=1 --table=page
Script specific parameters
| Opcja/Parametr | Opis |
|---|---|
| --ns | Namespace number to run in, or "all" for all namespaces
|
| --table | Table to run in. Must be page, revision or archive
|