diff --git a/src/SpecialPage/SpecialResourceLoaderArticles.php b/src/SpecialPage/SpecialResourceLoaderArticles.php
index efafdc2..722e6c3 100644
--- a/src/SpecialPage/SpecialResourceLoaderArticles.php
+++ b/src/SpecialPage/SpecialResourceLoaderArticles.php
@@ -158,21 +158,21 @@ private function addPage() {
*/
public function addPageCB( $formData ) {
$output = $this->getOutput();
- $dbw = wfGetDB( DB_PRIMARY );
- $dbw->insert(
- 'resourceloaderarticles',
- [
- 'rla_page' => $formData[ 'Page' ],
- 'rla_wiki' => $formData[ 'Wiki' ],
- 'rla_type' => $formData[ 'Type' ],
- 'rla_priority' => intval( $formData[ 'Priority' ] )
- ]
- );
- $output->addWikiTextAsContent(
- '
'
- . $this->msg( 'resourceloaderarticles-success-add' )->text()
- . '
'
- );
+ $dbw = wfGetDB( DB_PRIMARY );
+ $dbw->insert(
+ 'resourceloaderarticles',
+ [
+ 'rla_page' => $formData[ 'Page' ],
+ 'rla_wiki' => $formData[ 'Wiki' ],
+ 'rla_type' => $formData[ 'Type' ],
+ 'rla_priority' => intval( $formData[ 'Priority' ] )
+ ]
+ );
+ $output->addWikiTextAsContent(
+ ''
+ . $this->msg( 'resourceloaderarticles-success-add' )->text()
+ . '
'
+ );
}
/**
@@ -239,24 +239,24 @@ private function editPage( $id ) {
*/
public function editPageCB( $formData ) {
$output = $this->getOutput();
- $dbw = wfGetDB( DB_PRIMARY );
- $dbw->update(
- 'resourceloaderarticles',
- [
- 'rla_page' => $formData[ 'Page' ],
- 'rla_wiki' => $formData[ 'Wiki' ],
- 'rla_type' => $formData[ 'Type' ],
- 'rla_priority' => intval( $formData[ 'Priority' ] )
- ],
- [
- 'rla_id' => $formData[ 'Id' ]
- ]
- );
- $output->addWikiTextAsContent(
- ''
- . $this->msg( 'resourceloaderarticles-success-edit' )->text()
- . '
'
- );
+ $dbw = wfGetDB( DB_PRIMARY );
+ $dbw->update(
+ 'resourceloaderarticles',
+ [
+ 'rla_page' => $formData[ 'Page' ],
+ 'rla_wiki' => $formData[ 'Wiki' ],
+ 'rla_type' => $formData[ 'Type' ],
+ 'rla_priority' => intval( $formData[ 'Priority' ] )
+ ],
+ [
+ 'rla_id' => $formData[ 'Id' ]
+ ]
+ );
+ $output->addWikiTextAsContent(
+ ''
+ . $this->msg( 'resourceloaderarticles-success-edit' )->text()
+ . '
'
+ );
}
/**