diff options
author | Func <Funcer@outlook.com> | 2023-09-23 23:44:06 +0800 |
---|---|---|
committer | Func <Funcer@outlook.com> | 2023-09-23 23:44:06 +0800 |
commit | 500118ead372cdb6e2457d1d31c21f4796790f52 (patch) | |
tree | b05d931076b9f59f9943a2991b1be15016817726 /includes/specials/helpers | |
parent | 0a4a19ccfa6472fac5d918edeaa3fd6cf11a83d2 (diff) | |
download | mediawikicore-500118ead372cdb6e2457d1d31c21f4796790f52.tar.gz mediawikicore-500118ead372cdb6e2457d1d31c21f4796790f52.zip |
ImportReporter: Make callback functions public
Bug: T347227
Change-Id: Ice9a6f9cfbf6b6640d01e05b02c557f63b6a5600
Diffstat (limited to 'includes/specials/helpers')
-rw-r--r-- | includes/specials/helpers/ImportReporter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/specials/helpers/ImportReporter.php b/includes/specials/helpers/ImportReporter.php index 7d48c44abc81..d1d49a314dc9 100644 --- a/includes/specials/helpers/ImportReporter.php +++ b/includes/specials/helpers/ImportReporter.php @@ -73,13 +73,13 @@ class ImportReporter extends ContextSource { $this->getOutput()->addHTML( "<ul>\n" ); } - private function reportNotice( $msg, array $params ) { + public function reportNotice( $msg, array $params ) { $this->getOutput()->addHTML( Html::element( 'li', [], $this->msg( $msg, $params )->text() ) ); } - private function reportLogItem( ...$args ) { + public function reportLogItem( ...$args ) { $this->mLogItemCount++; if ( is_callable( $this->mOriginalLogCallback ) ) { call_user_func_array( $this->mOriginalLogCallback, $args ); |