From e10ee4304e6c08c98d86fed92f47f4bab5fafdb2 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Wed, 30 Apr 2014 20:53:31 +0200 Subject: [PATCH] Adjust indent of some comment blocks Change-Id: Ic25419490fa6a35c11ccc2b7810527e6661e027c --- includes/DefaultSettings.php | 16 ++++---- includes/FormOptions.php | 2 +- includes/Revision.php | 24 ++++++------ languages/messages/MessagesEl.php | 44 +++++++++++----------- languages/messages/MessagesEn.php | 2 +- languages/messages/MessagesNn.php | 12 +++--- tests/phpunit/languages/LanguageGdTest.php | 2 +- tests/phpunit/languages/LanguageHeTest.php | 2 +- 8 files changed, 52 insertions(+), 52 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 87dc0255d3..8c96727a8f 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3601,14 +3601,14 @@ $wgNamespacesWithSubpages = array( ); /** - * Array holding default tracking category names. - * - * Array contains the system messages for each tracking category. - * Tracking categories allow pages with certain characteristics to be tracked. - * It works by adding any such page to a category automatically. - * - * @since 1.23 - */ + * Array holding default tracking category names. + * + * Array contains the system messages for each tracking category. + * Tracking categories allow pages with certain characteristics to be tracked. + * It works by adding any such page to a category automatically. + * + * @since 1.23 + */ $wgTrackingCategories = array( 'index-category', 'noindex-category', diff --git a/includes/FormOptions.php b/includes/FormOptions.php index a8da67e5ef..079267a246 100644 --- a/includes/FormOptions.php +++ b/includes/FormOptions.php @@ -44,7 +44,7 @@ class FormOptions implements ArrayAccess { /** Integer type, maps guessType() to WebRequest::getInt() */ const INT = 1; /** Float type, maps guessType() to WebRequest::getFloat() - * @since 1.23 */ + * @since 1.23 */ const FLOAT = 4; /** Boolean type, maps guessType() to WebRequest::getBool() */ const BOOL = 2; diff --git a/includes/Revision.php b/includes/Revision.php index afbd3ace73..5a83d38037 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -1201,18 +1201,18 @@ class Revision implements IDBAccessObject { } /** - * Get revision text associated with an old or archive row - * $row is usually an object from wfFetchRow(), both the flags and the text - * field must be included. - * - * @param stdClass $row The text data - * @param string $prefix Table prefix (default 'old_') - * @param string|bool $wiki The name of the wiki to load the revision text from - * (same as the the wiki $row was loaded from) or false to indicate the local - * wiki (this is the default). Otherwise, it must be a symbolic wiki database - * identifier as understood by the LoadBalancer class. - * @return string Text the text requested or false on failure - */ + * Get revision text associated with an old or archive row + * $row is usually an object from wfFetchRow(), both the flags and the text + * field must be included. + * + * @param stdClass $row The text data + * @param string $prefix Table prefix (default 'old_') + * @param string|bool $wiki The name of the wiki to load the revision text from + * (same as the the wiki $row was loaded from) or false to indicate the local + * wiki (this is the default). Otherwise, it must be a symbolic wiki database + * identifier as understood by the LoadBalancer class. + * @return string Text the text requested or false on failure + */ public static function getRevisionText( $row, $prefix = 'old_', $wiki = false ) { wfProfileIn( __METHOD__ ); diff --git a/languages/messages/MessagesEl.php b/languages/messages/MessagesEl.php index 9ed444735c..b2627ff9ba 100644 --- a/languages/messages/MessagesEl.php +++ b/languages/messages/MessagesEl.php @@ -10,28 +10,28 @@ */ /** - * Initial translation by Pasok Internet Volunteers - * http://forum.pasok.gr - * version 1.0 (initial release) - * - * The project for the translation of MediaWiki into Greek - * was undertaken by a group of ICT volunteers working under - * the auspices of the Greek political party PASOK. - * - * The idea behind this effort was to provide an extensible, - * easy-to-use and non-intimidating tool for content development - * and project management, to be used throughout the administrative - * and political structure of PASOK by staff, volunteers, party members - * and elected officials (all of whom possess varying degrees of ICT skills). - * - * The PASOK ICT team and the volunteers who worked on this project are - * now returning the translated interface to the Open-Source Community - * with over 98% of the messages translated into user-friendly Greek. - * - * We hope that it will be used as a tool by other civil society organizations - * in Greece, and that it will enhance the collective creation and the dissemination - * of knowledge - an essential component of the democratic process. - */ + * Initial translation by Pasok Internet Volunteers + * http://forum.pasok.gr + * version 1.0 (initial release) + * + * The project for the translation of MediaWiki into Greek + * was undertaken by a group of ICT volunteers working under + * the auspices of the Greek political party PASOK. + * + * The idea behind this effort was to provide an extensible, + * easy-to-use and non-intimidating tool for content development + * and project management, to be used throughout the administrative + * and political structure of PASOK by staff, volunteers, party members + * and elected officials (all of whom possess varying degrees of ICT skills). + * + * The PASOK ICT team and the volunteers who worked on this project are + * now returning the translated interface to the Open-Source Community + * with over 98% of the messages translated into user-friendly Greek. + * + * We hope that it will be used as a tool by other civil society organizations + * in Greece, and that it will enhance the collective creation and the dissemination + * of knowledge - an essential component of the democratic process. + */ $namespaceNames = array( NS_MEDIA => 'Μέσο', diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 6d40d8a95f..265e6830b2 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -509,7 +509,7 @@ $linkPrefixCharset = 'a-zA-Z\\x{80}-\\x{10ffff}'; /** * List of filenames for some ui images that can be overridden per language * basis if needed. -*/ + */ $imageFiles = array( 'button-bold' => 'button_bold.png', 'button-italic' => 'button_italic.png', diff --git a/languages/messages/MessagesNn.php b/languages/messages/MessagesNn.php index d0bf617a7f..91b30fe70d 100644 --- a/languages/messages/MessagesNn.php +++ b/languages/messages/MessagesNn.php @@ -36,12 +36,12 @@ */ /** - * @license http://www.gnu.org/copyleft/fdl.html GNU Free Documentation License - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License - * - * @see http://meta.wikimedia.org/w/index.php?title=LanguageNn.php&action=history - * @see http://nn.wikipedia.org/w/index.php?title=Brukar:Dittaeva/LanguageNn.php&action=history - */ + * @license http://www.gnu.org/copyleft/fdl.html GNU Free Documentation License + * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License + * + * @see http://meta.wikimedia.org/w/index.php?title=LanguageNn.php&action=history + * @see http://nn.wikipedia.org/w/index.php?title=Brukar:Dittaeva/LanguageNn.php&action=history + */ $datePreferences = array( diff --git a/tests/phpunit/languages/LanguageGdTest.php b/tests/phpunit/languages/LanguageGdTest.php index 0b2612b2f7..b89b4df9bd 100644 --- a/tests/phpunit/languages/LanguageGdTest.php +++ b/tests/phpunit/languages/LanguageGdTest.php @@ -10,7 +10,7 @@ class LanguageGdTest extends LanguageClassesTestCase { /** * @dataProvider providerPlural * @covers Language::convertPlural - */ + */ public function testPlural( $result, $value ) { $forms = array( 'one', 'two', 'few', 'other' ); $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) ); diff --git a/tests/phpunit/languages/LanguageHeTest.php b/tests/phpunit/languages/LanguageHeTest.php index 8edc6ddf3c..c382244f92 100644 --- a/tests/phpunit/languages/LanguageHeTest.php +++ b/tests/phpunit/languages/LanguageHeTest.php @@ -17,7 +17,7 @@ class LanguageHeTest extends LanguageClassesTestCase { * which is very rare. It also has a mistake, because * the number 10 itself is supposed to be just plural, * so currently it's overridden in MediaWiki. - */ + */ // @todo the below test*PluralForms test methods can be refactored // to use a single test method and data provider.. -- 2.20.1