From 5dffa8cb9aff133950b385c8941a9cf27c81565f Mon Sep 17 00:00:00 2001 From: umherirrender Date: Thu, 24 Jul 2014 10:08:16 +0200 Subject: [PATCH] Each line in a doc block should start with * Added missing * to some doc blocks Change-Id: I0709f2e94b053437fa0f06bb67ae7ae4c248a618 --- includes/Block.php | 2 +- languages/messages/MessagesEn.php | 8 +++++--- tests/phpunit/includes/GlobalFunctions/wfBCP47Test.php | 2 +- .../includes/title/MediaWikiPageLinkRendererTest.php | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/includes/Block.php b/includes/Block.php index aaabec9291..ac7450bba5 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -1104,7 +1104,7 @@ class Block { * - Other softblocks are chosen over autoblocks * - If there are multiple exact or range blocks at the same level, the one chosen * is random - + * * @param array $ipChain List of IPs (strings). This is used to determine how "close" * a block is to the server, and if a block matches exactly, or is in a range. * The order is furthest from the server to nearest e.g., (Browser, proxy1, proxy2, diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 9bacac2436..ccdd310ecb 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -103,9 +103,11 @@ $namespaceAliases = array(); * Array of gender specific. namespace aliases. * Mapping NS_xxx to array of GENDERKEY to alias. * Example: -$namespaceGenderAliases = array( - NS_USER => array( 'male' => 'Male_user', 'female' => 'Female_user' ), -); + * @code + * $namespaceGenderAliases = array( + * NS_USER => array( 'male' => 'Male_user', 'female' => 'Female_user' ), + * ); + * @endcode */ $namespaceGenderAliases = array(); diff --git a/tests/phpunit/includes/GlobalFunctions/wfBCP47Test.php b/tests/phpunit/includes/GlobalFunctions/wfBCP47Test.php index 041adb818b..166d641f72 100644 --- a/tests/phpunit/includes/GlobalFunctions/wfBCP47Test.php +++ b/tests/phpunit/includes/GlobalFunctions/wfBCP47Test.php @@ -97,7 +97,7 @@ class WfBCP47Test extends MediaWikiTestCase { * az-Arab-x-AZE-derbend * AZE being private, it should be lower case, hence the test above * should probably be: - #array( 'az-arab-x-aze-derbend', 'az-Arab-x-AZE-derbend' ), + * array( 'az-arab-x-aze-derbend', 'az-Arab-x-AZE-derbend' ), */ # Private use registry values: diff --git a/tests/phpunit/includes/title/MediaWikiPageLinkRendererTest.php b/tests/phpunit/includes/title/MediaWikiPageLinkRendererTest.php index f1425ef66e..b13df8942f 100644 --- a/tests/phpunit/includes/title/MediaWikiPageLinkRendererTest.php +++ b/tests/phpunit/includes/title/MediaWikiPageLinkRendererTest.php @@ -9,7 +9,7 @@ * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - + * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -- 2.20.1