"Get a summary" is a Wikimedia Foundation extension that provides the summary of a given Wikipedia page or article...
Prerequisites:
PHP 7.2.
A Wikimedia developer account.
MediaWiki >= 1.42.0"
Clone the Page Summary Extension in the extension folder.
git clone https://github.com/kaliacad/PageSummary.git
After cloning the repository:
Go to LocalSettings.php file add these lines of code.
wfLoadExtension('PageSummary');
$wgBoilerPlateVandalizeEachPage = true;
Go to the root of mediawiki and run this command
composer update
composer serve
cles d'activations:
https://api.openai.com/v1/chat/completions
Deployment happens automatically after a new version tag is created.