Consistently use spaces and stars in comments
authorFomafix <fomafix@googlemail.com>
Thu, 30 May 2019 10:29:37 +0000 (12:29 +0200)
committerFomafix <fomafix@googlemail.com>
Thu, 30 May 2019 14:52:09 +0000 (16:52 +0200)
Change-Id: Ia8e005ec65b5a98b12fc1c079604db175b731a88

includes/specials/SpecialUserrights.php
resources/src/jquery.tipsy/jquery.tipsy.css
resources/src/jquery/jquery.makeCollapsible.styles.less
resources/src/jquery/jquery.suggestions.js
resources/src/mediawiki.legacy/commonPrint.css
resources/src/mediawiki.legacy/oldshared.css
resources/src/mediawiki.skinning/content.css
resources/src/mediawiki.special.apisandbox/apisandbox.js
tests/phpunit/includes/api/ApiEditPageTest.php

index 8655b1c..87bc259 100644 (file)
@@ -156,10 +156,10 @@ class UserrightsPage extends SpecialPage {
                        $user->matchEditToken( $request->getVal( 'wpEditToken' ), $this->mTarget )
                ) {
                        /*
-                       * If the user is blocked and they only have "partial" access
-                       * (e.g. they don't have the userrights permission), then don't
-                       * allow them to change any user rights.
-                       */
+                        * If the user is blocked and they only have "partial" access
+                        * (e.g. they don't have the userrights permission), then don't
+                        * allow them to change any user rights.
+                        */
                        if ( !$user->isAllowed( 'userrights' ) ) {
                                // @TODO Should the user be blocked from changing user rights if they
                                //       are partially blocked?
index c239a8f..8786dd3 100644 (file)
        max-width: 15em;
        border-radius: 4px;
        /*
-       -moz-box-shadow: 0px 2px 8px #cccccc;
-       -webkit-box-shadow: 0px 2px 8px #cccccc;
-       box-shadow: 0px 2px 8px #cccccc;
-       -ms-filter: "progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc')";
-       filter: progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc');
-       */
+        * -moz-box-shadow: 0px 2px 8px #cccccc;
+        * -webkit-box-shadow: 0px 2px 8px #cccccc;
+        * box-shadow: 0px 2px 8px #cccccc;
+        * -ms-filter: "progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc')";
+        * filter: progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=2, Strength=6, Direction=90, Color='#cccccc');
+        */
 }
 
 .tipsy-arrow {
index 0f922c9..fd6f38c 100644 (file)
@@ -29,9 +29,9 @@
        ul.mw-collapsible:before,
        .mw-collapsible-toggle-li {
                /*
-               Rather than inherit any margins from the general li selector - make sure this is explicit
-               to avoid reflows
-               */
+                * Rather than inherit any margins from the general li selector - make sure this is explicit
+                * to avoid reflows
+                */
                display: list-item;
                list-style: none;
                margin-bottom: 0.1em;
@@ -92,7 +92,7 @@
        float: right;
 }
 
-/* For collapsible elements in the content area, override the alginment based on the content language.  */
+/* For collapsible elements in the content area, override the alginment based on the content language. */
 /* @noflip */
 .mw-content-ltr,
 .mw-content-rtl .mw-content-ltr {
index e970c06..f58d733 100644 (file)
 
                /**
                 * @param {Object} context
-               */
+                */
                special: function ( context ) {
                        // Allow custom rendering - but otherwise don't do any rendering
                        if ( typeof context.config.special.render === 'function' ) {
index e58e677..cc206b7 100644 (file)
@@ -267,7 +267,7 @@ div.thumbinner {
        color: #666;
        text-align: center;
        /* new block formatting context,
-        * to clear background from floating content  */
+        * to clear background from floating content */
        overflow: hidden;
        min-width: 100px;
 }
index 4d67cae..a4a4dee 100644 (file)
@@ -93,7 +93,7 @@ div.thumbinner {
        font-size: 94%;
        text-align: center;
        /* new block formatting context,
-        * to clear background from floating content  */
+        * to clear background from floating content */
        overflow: hidden;
 }
 
index 054bc27..13012b0 100644 (file)
@@ -79,10 +79,10 @@ table.toc td {
 .toctext {
        display: table-cell;
        /*
-       Text decorations are not propagated to the contents of inline blocks and inline tables,
-       according to <https://www.w3.org/TR/css-text-decor-3/#line-decoration>, and 'display: table-cell'
-       generates an inline table when used without any parent table-rows and tables.
-       */
+        * Text decorations are not propagated to the contents of inline blocks and inline tables,
+        * according to <https://www.w3.org/TR/css-text-decor-3/#line-decoration>, and 'display: table-cell'
+        * generates an inline table when used without any parent table-rows and tables.
+        */
        text-decoration: inherit;
 }
 
@@ -138,7 +138,7 @@ div.thumbinner {
        font-size: 94%;
        text-align: center;
        /* new block formatting context,
-        * to clear background from floating content  */
+        * to clear background from floating content */
        overflow: hidden;
 }
 
index 631a5c6..395fb8b 100644 (file)
        };
 
        /**
-       * Interface to ApiSandbox UI
-       *
-       * @class mw.special.ApiSandbox
-       */
+        * Interface to ApiSandbox UI
+        *
+        * @class mw.special.ApiSandbox
+        */
        ApiSandbox = {
                /**
                 * Initialize the UI
index a35613c..5203451 100644 (file)
@@ -411,10 +411,10 @@ class ApiEditPageTest extends ApiTestCase {
                $count++;
 
                /*
-               * T43990: if the target page has a newer revision than the redirect, then editing the
-               * redirect while specifying 'redirect' and *not* specifying 'basetimestamp' erroneously
-               * caused an edit conflict to be detected.
-               */
+                * T43990: if the target page has a newer revision than the redirect, then editing the
+                * redirect while specifying 'redirect' and *not* specifying 'basetimestamp' erroneously
+                * caused an edit conflict to be detected.
+                */
 
                // assume NS_HELP defaults to wikitext
                $name = "Help:ApiEditPageTest_testEditConflict_redirect_T43990_$count";