Feature summary (what you would like to be able to do and where):
The page creation log should also be show in action=Delete.
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Pages that need to be deleted are often vandalism. In this case, the page creation log must also be deleted. At the moment, the page creation log is only visible on the corresponding page, and many administrators (especially administrators from smaller projects) are unaware that it exists.
Benefits (why should this be implemented?):
When deleting pages, an administrator can immediately see that it exists. The administrator can also see the content and knows whether it needs to be deleted.
The implementation could be as follows:
protected function showLogEntries(): void { $deleteLogPage = new LogPage( 'delete' ); $outputPage = $this->getContext()->getOutput(); $outputPage->addHTML( Html::element( 'h2', [], $deleteLogPage->getName()->text() ) ); LogEventsList::showLogExtract( $outputPage, 'delete', $this->getTitle() ); $createLogPage = new LogPage( 'create' ); $outputPage->addHTML( Html::element( 'h2', [], $createLogPage->getName()->text() ) ); LogEventsList::showLogExtract( $outputPage, 'create', $this->getTitle() ); }
