From 05224f0aa381858229cd2c00f2eca96f057eea4b Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Tue, 17 Nov 2015 22:58:58 +0000 Subject: [PATCH] mediawiki.action.edit.preview: Remove ref to non-existant 'tooltip-p-lang' message This message does not exist in MediaWiki core. And even if one creates it locally, it is not used by MediaWiki. It is used for the p-logo link (not the section). And for individual links in the toolbox and other portlet sections. But not for the sections themselves, those only have labels (typically rendered as

or something). This reference was spamming logs with: > [resourceloader] MessageBlobStore::fetchMessage failed to find tooltip-p-lang (en) Change-Id: Ie1420230dc0857c1e38641697098b4adb2b28afb --- resources/Resources.php | 1 - resources/src/mediawiki.action/mediawiki.action.edit.preview.js | 1 - 2 files changed, 2 deletions(-) diff --git a/resources/Resources.php b/resources/Resources.php index 4b8cffe83d..13c43c080a 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -1369,7 +1369,6 @@ return array( 'editingsection', 'pagetitle', 'otherlanguages', - 'tooltip-p-lang', 'summary-preview', 'subject-preview', 'parentheses', diff --git a/resources/src/mediawiki.action/mediawiki.action.edit.preview.js b/resources/src/mediawiki.action/mediawiki.action.edit.preview.js index 125b1b36c0..5cd4a7e216 100644 --- a/resources/src/mediawiki.action/mediawiki.action.edit.preview.js +++ b/resources/src/mediawiki.action/mediawiki.action.edit.preview.js @@ -274,7 +274,6 @@ 'class': 'portal', id: 'p-lang', role: 'navigation', - title: mw.msg( 'tooltip-p-lang' ), 'aria-labelledby': 'p-lang-label' } ) .append( $( '

' ).attr( 'id', 'p-lang-label' ).text( mw.msg( 'otherlanguages' ) ) ) -- 2.20.1