EditPage: Match the Save/Publish button's tooltip to its label
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 17 Jan 2018 16:38:09 +0000 (17:38 +0100)
committerJforrester <jforrester@wikimedia.org>
Wed, 17 Jan 2018 17:46:18 +0000 (17:46 +0000)
commitabcd62f59c21fe5d720cb43a11f152bc622a4936
treeb60a88f69c611e50a365f9e42f9d55f96c24f995
parentd8a2d6bf54c0853997d885aeb35e192db5a0c528
EditPage: Match the Save/Publish button's tooltip to its label

Change 9ca9c7ee931ec7fde5518d91593a69b16d98b13d introduced the
localisation messages for this, but they were never used.

If $wgEditSubmitButtonLabelPublish is true, the button will now use
'tooltip-publish' for title and 'accesskey-publish' for accesskey.

Bug: T185071
Change-Id: I7dd4edf99c97b2b12d8b18603bb29786c72283a5
includes/EditPage.php