Fix Revison typo
authorzoranzoki21 <zorandori4444@gmail.com>
Thu, 10 Jan 2019 19:26:39 +0000 (20:26 +0100)
committerZoranzoki21 <zorandori4444@gmail.com>
Fri, 11 Jan 2019 05:18:20 +0000 (05:18 +0000)
Bug: T201491
Change-Id: I4a91d64dafdafd022462730c221cdf2a113d2ef2

languages/i18n/qqq.json
tests/phpunit/includes/page/WikiPageDbTestBase.php

index 4052a44..22e72a7 100644 (file)
                        "A2093064",
                        "BadDog",
                        "The Discoverer",
-                       "Bencemac"
+                       "Bencemac",
+                       "Zoranzoki21"
                ]
        },
        "sidebar": "{{notranslate}}",
        "page_last": "This is part of the navigation message on the top and bottom of Special pages which are lists of things in alphabetical order, e.g. the '[[Special:Categories|Categories]]' special page. It is followed by the message {{msg-mw|Viewprevnext}}.\n\n{{Identical|Last}}",
        "histlegend": "Text in history page.\n\nSee also:\n* {{msg-mw|Cur}}\n* {{msg-mw|Last}}\n* {{msg-mw|Minoreditletter}}",
        "history-fieldset-title": "Fieldset label in the edit history pages.",
-       "history-show-deleted": "CheckBox to show only per [[mw:Manual:RevisionDelete|RevisonDelete]] deleted versions.\n\nUsed in History and [[Special:Contributions]].",
+       "history-show-deleted": "CheckBox to show only per [[mw:Manual:RevisionDelete|RevisionDelete]] deleted versions.\n\nUsed in History and [[Special:Contributions]].",
        "history_copyright": "{{notranslate}}",
        "histfirst": "This is part of the navigation message on the top and bottom of Page History pages which are lists of things in date order, e.g. [{{canonicalurl:Support|action=history}} Page History of Support].\n\nIt is followed by the message {{msg-mw|Viewprevnext}}.\n{{Identical|Oldest}}",
        "histlast": "This is part of the navigation message on the top and bottom of Page History pages which are lists of things in date order, e.g. [{{canonicalurl:Support|action=history}} Page History of Support].\n\nIt is followed by the message {{msg-mw|Viewprevnext}}.\n{{Identical|Newest}}",
index f7e5bd1..298dc52 100644 (file)
@@ -2048,7 +2048,7 @@ more stuff
                        wfTimestamp( TS_UNIX, $initialRevision->getTimestamp() ) - 1
                );
 
-               $olderRevison = new Revision(
+               $olderRevision = new Revision(
                        [
                                'id' => 9989,
                                'page' => $page->getId(),
@@ -2065,7 +2065,7 @@ more stuff
                        ]
                );
 
-               $result = $page->updateIfNewerOn( $this->db, $olderRevison );
+               $result = $page->updateIfNewerOn( $this->db, $olderRevision );
                $this->assertFalse( $result );
        }