Merge "Split DairikiDiff to class per file"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 15 Apr 2019 03:01:00 +0000 (03:01 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 15 Apr 2019 03:01:00 +0000 (03:01 +0000)
includes/htmlform/HTMLFormField.php
tests/selenium/specs/rollback.js

index 0702635..16dc465 100644 (file)
@@ -77,7 +77,9 @@ abstract class HTMLFormField {
         *
         * @return Message
         */
-       public function msg( ...$args ) {
+       public function msg() {
+               $args = func_get_args();
+
                if ( $this->mParent ) {
                        return $this->mParent->msg( ...$args );
                }
index 648e52f..970fb9e 100644 (file)
@@ -48,7 +48,7 @@ describe( 'Rollback with confirmation', function () {
                assert.strictEqual( HistoryPage.rollbackConfirmableNo.getText(), 'Cancel' );
        } );
 
-       it( 'should offer a way to cancel rollbacks', function () {
+       it.skip( 'should offer a way to cancel rollbacks', function () {
                HistoryPage.rollback.click();
 
                browser.pause( 300 );
@@ -60,7 +60,7 @@ describe( 'Rollback with confirmation', function () {
                assert.strictEqual( HistoryPage.heading.getText(), 'Revision history of "' + name + '"' );
        } );
 
-       it( 'should perform rollbacks after confirming intention', function () {
+       it.skip( 'should perform rollbacks after confirming intention', function () {
                HistoryPage.rollback.click();
 
                browser.pause( 300 );