Tshiú-tsheh:ResetPageRandom.php

From mediawiki.org
This page is a translated version of the page Manual:ResetPageRandom.php and the translation is 62% complete.

Siông-sè

resetPageRandom.php maintenance script resets the page_random field for articles in the provided time range. The page_random field in the page table is responsible for returning random pages. This is useful when you want to refresh your random article sequence.

Suán-hāng

Suán-ti̍k Su-iàu Ú-sik ti̍k
--from From date range selector to select articles to update, ex: 20041011000000 Required
--to To date range selector to select articles to update, ex: 20050708000000 Required
--dry Do not update column. Just do dry run. Khó-suán-sìng
--batch-start Use when you need to restart the reset process from a given page ID offset in case a previous reset failed or was stopped Khó-suán-sìng

Sú-iōng

php maintenance/resetPageRandom.php --from fromDate --to toDate [ --dry | --batch-start ]

Dry run to test

Terminal

Actual run to update the column

Terminal

Tsham-ua̍t