http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99523
Revision: 99523
Author: reedy
Date: 2011-10-11 18:30:50 +0000 (Tue, 11 Oct 2011)
Log Message:
-----------
Fix comment blocks that start /* to /**
Modified Paths:
--------------
trunk/phase3/includes/DefaultSettings.php
trunk/phase3/includes/Exception.php
trunk/phase3/includes/installer/DatabaseUpdater.php
trunk/phase3/languages/messages/MessagesLv.php
trunk/phase3/languages/messages/MessagesRu.php
trunk/phase3/languages/messages/MessagesUk.php
trunk/phase3/maintenance/fuzz-tester.php
trunk/phase3/maintenance/populateParentId.php
trunk/phase3/maintenance/populateRevisionLength.php
trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfExpandUrlTest.php
trunk/phase3/tests/phpunit/includes/IPTest.php
trunk/phase3/tests/phpunit/includes/api/RandomImageGenerator.php
trunk/phase3/tests/phpunit/includes/media/JpegMetadataExtractorTest.php
trunk/phase3/tests/selenium/installer/MediaWikiButtonsAvailabilityTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiDifferentDatabaseAccountTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiDifferntDatabasePrefixTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiErrorsConnectToDatabasePageTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiErrorsNamepageTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiHelpFieldHintTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiInstallationConfig.php
trunk/phase3/tests/selenium/installer/MediaWikiMySQLDataBaseTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiMySQLiteDataBaseTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiOnAlreadyInstalledTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiRestartInstallationTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiRightFrameworkLinksTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiUpgradeExistingDatabaseTestCase.php
trunk/phase3/tests/selenium/installer/MediaWikiUserInterfaceTestCase.php
trunk/phase3/tests/selenium/suites/MediawikiCoreSmokeTestSuite.php
trunk/phase3/tests/selenium/suites/SimpleSeleniumTestSuite.php
Modified: trunk/phase3/includes/DefaultSettings.php
===================================================================
--- trunk/phase3/includes/DefaultSettings.php 2011-10-11 18:30:47 UTC (rev
99522)
+++ trunk/phase3/includes/DefaultSettings.php 2011-10-11 18:30:50 UTC (rev
99523)
@@ -2488,7 +2488,7 @@
*/
$wgResourceLoaderSources = array();
-/*
+/**
* Default 'remoteBasePath' value for resource loader modules.
* If not set, then $wgScriptPath will be used as a fallback.
*/
@@ -3635,7 +3635,7 @@
'onView' => array()
);
-/*
+/**
* Put user rights log entries for autopromotion in recent changes?
* @since 1.18
*/
Modified: trunk/phase3/includes/Exception.php
===================================================================
--- trunk/phase3/includes/Exception.php 2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/includes/Exception.php 2011-10-11 18:30:50 UTC (rev 99523)
@@ -131,7 +131,10 @@
}
}
- /* Return titles of this error page */
+ /**
+ * Return titles of this error page
+ * @return String
+ */
function getPageTitle() {
global $wgSitename;
return $this->msg( 'internalerror', "$wgSitename error" );
Modified: trunk/phase3/includes/installer/DatabaseUpdater.php
===================================================================
--- trunk/phase3/includes/installer/DatabaseUpdater.php 2011-10-11 18:30:47 UTC
(rev 99522)
+++ trunk/phase3/includes/installer/DatabaseUpdater.php 2011-10-11 18:30:50 UTC
(rev 99523)
@@ -8,7 +8,7 @@
require_once( dirname(__FILE__) . '/../../maintenance/Maintenance.php' );
-/*
+/**
* Class for handling database updates. Roughly based off of updaters.inc, with
* a few improvements :)
*
Modified: trunk/phase3/languages/messages/MessagesLv.php
===================================================================
--- trunk/phase3/languages/messages/MessagesLv.php 2011-10-11 18:30:47 UTC
(rev 99522)
+++ trunk/phase3/languages/messages/MessagesLv.php 2011-10-11 18:30:50 UTC
(rev 99523)
@@ -22,7 +22,7 @@
* @author לערי ריינהארט
*/
-/*
+/**
* @copyright Copyright © 2006, Niklas Laxström
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
2.0 or later
*/
Modified: trunk/phase3/languages/messages/MessagesRu.php
===================================================================
--- trunk/phase3/languages/messages/MessagesRu.php 2011-10-11 18:30:47 UTC
(rev 99522)
+++ trunk/phase3/languages/messages/MessagesRu.php 2011-10-11 18:30:50 UTC
(rev 99523)
@@ -56,7 +56,7 @@
* @author გიორგიმელა
*/
-/*
+/**
* Изменения сделанные в этом файле будут потеряны при обновлении MediaWiki.
*
* Если необходимо внести изменения в перевод отдельных строк интерфейса,
Modified: trunk/phase3/languages/messages/MessagesUk.php
===================================================================
--- trunk/phase3/languages/messages/MessagesUk.php 2011-10-11 18:30:47 UTC
(rev 99522)
+++ trunk/phase3/languages/messages/MessagesUk.php 2011-10-11 18:30:50 UTC
(rev 99523)
@@ -35,7 +35,7 @@
* @author Тест
*/
-/*
+/**
* УВАГА! НЕ РЕДАГУЙТЕ ЦЕЙ ФАЙЛ!
*
* Якщо необхідно змінити переклад окремих частин інтерфейсу,
Modified: trunk/phase3/maintenance/fuzz-tester.php
===================================================================
--- trunk/phase3/maintenance/fuzz-tester.php 2011-10-11 18:30:47 UTC (rev
99522)
+++ trunk/phase3/maintenance/fuzz-tester.php 2011-10-11 18:30:50 UTC (rev
99523)
@@ -2395,8 +2395,8 @@
// ////////////////// HTML VALIDATION /////////////////////////
-/*
- ** Asks the validator whether this is valid HTML, or not.
+/**
+ * Asks the validator whether this is valid HTML, or not.
*/
function validateHTML( $text ) {
Modified: trunk/phase3/maintenance/populateParentId.php
===================================================================
--- trunk/phase3/maintenance/populateParentId.php 2011-10-11 18:30:47 UTC
(rev 99522)
+++ trunk/phase3/maintenance/populateParentId.php 2011-10-11 18:30:50 UTC
(rev 99523)
@@ -1,5 +1,5 @@
<?php
-/*
+/**
* Makes the required database updates for rev_parent_id
* to be of any use. It can be used for some simple tracking
* and to find new page edits by users.
Modified: trunk/phase3/maintenance/populateRevisionLength.php
===================================================================
--- trunk/phase3/maintenance/populateRevisionLength.php 2011-10-11 18:30:47 UTC
(rev 99522)
+++ trunk/phase3/maintenance/populateRevisionLength.php 2011-10-11 18:30:50 UTC
(rev 99523)
@@ -1,5 +1,5 @@
<?php
-/*
+/**
* Populates the rev_len field for old revisions created before MW 1.10.
*
* This program is free software; you can redistribute it and/or modify
Modified:
trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfExpandUrlTest.php
===================================================================
--- trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfExpandUrlTest.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/phpunit/includes/GlobalFunctions/wfExpandUrlTest.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -1,5 +1,5 @@
<?php
-/*
+/**
* Unit tests for wfExpandUrl()
*/
Modified: trunk/phase3/tests/phpunit/includes/IPTest.php
===================================================================
--- trunk/phase3/tests/phpunit/includes/IPTest.php 2011-10-11 18:30:47 UTC
(rev 99522)
+++ trunk/phase3/tests/phpunit/includes/IPTest.php 2011-10-11 18:30:50 UTC
(rev 99523)
@@ -1,5 +1,5 @@
<?php
-/*
+/**
* Tests for IP validity functions. Ported from /t/inc/IP.t by avar.
*/
Modified: trunk/phase3/tests/phpunit/includes/api/RandomImageGenerator.php
===================================================================
--- trunk/phase3/tests/phpunit/includes/api/RandomImageGenerator.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/phpunit/includes/api/RandomImageGenerator.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -1,6 +1,6 @@
<?php
-/*
+/**
* RandomImageGenerator -- does what it says on the tin.
* Requires Imagick, the ImageMagick library for PHP, or the command line
equivalent (usually 'convert').
*
Modified:
trunk/phase3/tests/phpunit/includes/media/JpegMetadataExtractorTest.php
===================================================================
--- trunk/phase3/tests/phpunit/includes/media/JpegMetadataExtractorTest.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/phpunit/includes/media/JpegMetadataExtractorTest.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -1,5 +1,5 @@
<?php
-/*
+/**
* @todo Could use a test of extended XMP segments. Hard to find programs that
* create example files, and creating my own in vim propbably wouldn't
* serve as a very good "test". (Adobe photoshop probably creates such files
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiButtonsAvailabilityTestCase.php
===================================================================
---
trunk/phase3/tests/selenium/installer/MediaWikiButtonsAvailabilityTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++
trunk/phase3/tests/selenium/installer/MediaWikiButtonsAvailabilityTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -30,7 +30,7 @@
require_once (dirname(__FILE__).'/'.'MediaWikiInstallationCommonFunction.php');
-/*
+/**
* Test Case ID : 30 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name :'Back' and 'Continue' button availability
* Version : MediaWiki 1.18alpha
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiDifferentDatabaseAccountTestCase.php
===================================================================
---
trunk/phase3/tests/selenium/installer/MediaWikiDifferentDatabaseAccountTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++
trunk/phase3/tests/selenium/installer/MediaWikiDifferentDatabaseAccountTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -30,7 +30,7 @@
require_once ( dirname( __FILE__ ) .
'/MediaWikiInstallationCommonFunction.php' );
-/*
+/**
* Test Case ID : 04 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : Install MediaWiki with different Database accounts for web
access.
* Version : MediaWiki 1.18alpha
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiDifferntDatabasePrefixTestCase.php
===================================================================
---
trunk/phase3/tests/selenium/installer/MediaWikiDifferntDatabasePrefixTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++
trunk/phase3/tests/selenium/installer/MediaWikiDifferntDatabasePrefixTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -29,7 +29,7 @@
require_once ( dirname( __FILE__ ) .
'/MediaWikiInstallationCommonFunction.php' );
-/*
+/**
* Test Case ID : 02 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : Install MediaWiki with the same database and the different
* database prefixes(Share one database between multiple
wikis).
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiErrorsConnectToDatabasePageTestCase.php
===================================================================
---
trunk/phase3/tests/selenium/installer/MediaWikiErrorsConnectToDatabasePageTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++
trunk/phase3/tests/selenium/installer/MediaWikiErrorsConnectToDatabasePageTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -30,7 +30,7 @@
require_once ( dirname( __FILE__ ) .
'/MediaWikiInstallationCommonFunction.php' );
-/*
+/**
* Test Case ID : 09 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : Invalid/ blank values for fields in 'Connect to database'
page.
* Version : MediaWiki 1.18alpha
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiErrorsNamepageTestCase.php
===================================================================
--- trunk/phase3/tests/selenium/installer/MediaWikiErrorsNamepageTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/selenium/installer/MediaWikiErrorsNamepageTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -27,7 +27,7 @@
*
*/
-/*
+/**
* Test Case ID : 10 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : Invalid/ blank values for fields in 'Name' page.
* Version : MediaWiki 1.18alpha
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiHelpFieldHintTestCase.php
===================================================================
--- trunk/phase3/tests/selenium/installer/MediaWikiHelpFieldHintTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/selenium/installer/MediaWikiHelpFieldHintTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -27,7 +27,7 @@
*
*/
-/*
+/**
* Test Case ID : 29 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : Help field hint availability for the fields.
* Version : MediaWiki 1.18alpha
Modified: trunk/phase3/tests/selenium/installer/MediaWikiInstallationConfig.php
===================================================================
--- trunk/phase3/tests/selenium/installer/MediaWikiInstallationConfig.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/selenium/installer/MediaWikiInstallationConfig.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -28,7 +28,7 @@
*/
-/*
+/**
* MediaWikiInstallerTestSuite.php can be run one time successfully
* with current value of the 'DB_NAME_PREFIX'.
* If you wish to run the suite more than one time, you need to change
@@ -39,7 +39,7 @@
define( 'PORT', "8080" );
define( 'HOST_NAME', "localhost" );
-/*
+/**
* Use the followings to run the test suite in different browsers.
* Firefox : *firefox
* IE : *iexplore
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiMySQLDataBaseTestCase.php
===================================================================
--- trunk/phase3/tests/selenium/installer/MediaWikiMySQLDataBaseTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/selenium/installer/MediaWikiMySQLDataBaseTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -30,7 +30,7 @@
require_once (dirname(__FILE__).'/'.'MediaWikiInstallationCommonFunction.php');
-/*
+/**
* Test Case ID : 01 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : Install Mediawiki using 'MySQL' database type successfully
* Version : MediaWiki 1.18alpha
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiMySQLiteDataBaseTestCase.php
===================================================================
--- trunk/phase3/tests/selenium/installer/MediaWikiMySQLiteDataBaseTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/selenium/installer/MediaWikiMySQLiteDataBaseTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -30,7 +30,7 @@
require_once (dirname(__FILE__).'/'.'MediaWikiInstallationCommonFunction.php');
-/*
+/**
* Test Case ID : 06 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : Install Mediawiki using 'MySQL' database type successfully
* Version : MediaWiki 1.18alpha
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiOnAlreadyInstalledTestCase.php
===================================================================
---
trunk/phase3/tests/selenium/installer/MediaWikiOnAlreadyInstalledTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++
trunk/phase3/tests/selenium/installer/MediaWikiOnAlreadyInstalledTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -31,7 +31,7 @@
require_once (dirname(__FILE__).'/'.'MediaWikiInstallationCommonFunction.php');
-/*
+/**
* Test Case ID : 03 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : Install mediawiki on a already installed Mediawiki.]
* Version : MediaWiki 1.18alpha
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiRestartInstallationTestCase.php
===================================================================
---
trunk/phase3/tests/selenium/installer/MediaWikiRestartInstallationTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++
trunk/phase3/tests/selenium/installer/MediaWikiRestartInstallationTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -31,7 +31,7 @@
require_once (dirname(__FILE__).'/'.'MediaWikiInstallationCommonFunction.php');
-/*
+/**
* Test Case ID : 11, 12
(http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : Install mediawiki on a already installed Mediawiki.
* Version : MediaWiki 1.18alpha
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiRightFrameworkLinksTestCase.php
===================================================================
---
trunk/phase3/tests/selenium/installer/MediaWikiRightFrameworkLinksTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++
trunk/phase3/tests/selenium/installer/MediaWikiRightFrameworkLinksTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -30,7 +30,7 @@
require_once (dirname(__FILE__).'/'.'MediaWikiInstallationCommonFunction.php');
-/*
+/**
* Test Case ID : 14, 15, 16, 17
(http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : User selects 'Read me' link.
* User selects 'Release notes' link.
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiUpgradeExistingDatabaseTestCase.php
===================================================================
---
trunk/phase3/tests/selenium/installer/MediaWikiUpgradeExistingDatabaseTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++
trunk/phase3/tests/selenium/installer/MediaWikiUpgradeExistingDatabaseTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -30,7 +30,7 @@
require_once (dirname(__FILE__).'/'.'MediaWikiInstallationCommonFunction.php');
-/*
+/**
* Test Case ID : 05 (http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : Install Mediawiki by updating the existing database.
* Version : MediaWiki 1.18alpha
Modified:
trunk/phase3/tests/selenium/installer/MediaWikiUserInterfaceTestCase.php
===================================================================
--- trunk/phase3/tests/selenium/installer/MediaWikiUserInterfaceTestCase.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/selenium/installer/MediaWikiUserInterfaceTestCase.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -29,7 +29,7 @@
require_once (dirname(__FILE__).'/'.'MediaWikiInstallationCommonFunction.php');
-/*
+/**
* Test Case ID : 18 - 27
(http://www.mediawiki.org/wiki/New_installer/Test_plan)
* Test Case Name : UI of MediaWiki initial/ Language/ Welcome to MediaWiki!/
Connect to database/
* Database settings/ Name/ Options/ Install/ Complete/ Restart Inslation pages
Modified: trunk/phase3/tests/selenium/suites/MediawikiCoreSmokeTestSuite.php
===================================================================
--- trunk/phase3/tests/selenium/suites/MediawikiCoreSmokeTestSuite.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/selenium/suites/MediawikiCoreSmokeTestSuite.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -1,5 +1,5 @@
<?php
-/*
+/**
* Stubs for now. We're going to start populating this test.
*/
class MediawikiCoreSmokeTestSuite extends SeleniumTestSuite
Modified: trunk/phase3/tests/selenium/suites/SimpleSeleniumTestSuite.php
===================================================================
--- trunk/phase3/tests/selenium/suites/SimpleSeleniumTestSuite.php
2011-10-11 18:30:47 UTC (rev 99522)
+++ trunk/phase3/tests/selenium/suites/SimpleSeleniumTestSuite.php
2011-10-11 18:30:50 UTC (rev 99523)
@@ -1,5 +1,5 @@
<?php
-/*
+/**
* Sample test suite.
* Two ways to configure MW for these tests
* 1) If you are running multiple test suites, add the following in
LocalSettings.php
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs