From 687c5947146b1cd8d2e2520bc792cc037a743cde Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 25 Sep 2008 06:33:58 +0000 Subject: [PATCH] Break some long lines --- includes/Article.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index 5962d6902b..318cd6c335 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2226,8 +2226,10 @@ class Article { } else { $suppress = ''; } + $checkWatch = $wgUser->getBoolOption( 'watchdeletion' ) || $this->mTitle->userIsWatching(); - $form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->mTitle->getLocalURL( 'action=delete' ), 'id' => 'deleteconfirm' ) ) . + $form = Xml::openElement( 'form', array( 'method' => 'post', + 'action' => $this->mTitle->getLocalURL( 'action=delete' ), 'id' => 'deleteconfirm' ) ) . Xml::openElement( 'fieldset', array( 'id' => 'mw-delete-table' ) ) . Xml::tags( 'legend', null, wfMsgExt( 'delete-legend', array( 'parsemag', 'escapenoentities' ) ) ) . Xml::openElement( 'table' ) . @@ -2246,13 +2248,14 @@ class Article { Xml::label( wfMsg( 'deleteotherreason' ), 'wpReason' ) . " " . - Xml::input( 'wpReason', 60, $reason, array( 'type' => 'text', 'maxlength' => '255', 'tabindex' => '2', 'id' => 'wpReason' ) ) . + Xml::input( 'wpReason', 60, $reason, array( 'type' => 'text', 'maxlength' => '255', + 'tabindex' => '2', 'id' => 'wpReason' ) ) . " " . - Xml::checkLabel( wfMsg( 'watchthis' ), 'wpWatch', 'wpWatch', $wgUser->getBoolOption( 'watchdeletion' ) || $this->mTitle->userIsWatching(), array( 'tabindex' => '3' ) ) . + Xml::checkLabel( wfMsg( 'watchthis' ), 'wpWatch', 'wpWatch', $checkWatch, array( 'tabindex' => '3' ) ) . " $suppress -- 2.20.1