mediawiki.action.edit.preview: Remove ref to non-existant 'tooltip-p-lang' message
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 17 Nov 2015 22:58:58 +0000 (22:58 +0000)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 17 Nov 2015 22:59:41 +0000 (22:59 +0000)
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 <h3> or something).

This reference was spamming logs with:
> [resourceloader] MessageBlobStore::fetchMessage failed to find tooltip-p-lang (en)

Change-Id: Ie1420230dc0857c1e38641697098b4adb2b28afb

resources/Resources.php
resources/src/mediawiki.action/mediawiki.action.edit.preview.js

index 4b8cffe..13c43c0 100644 (file)
@@ -1369,7 +1369,6 @@ return array(
                        'editingsection',
                        'pagetitle',
                        'otherlanguages',
-                       'tooltip-p-lang',
                        'summary-preview',
                        'subject-preview',
                        'parentheses',
index 125b1b3..5cd4a7e 100644 (file)
                                        'class': 'portal',
                                        id: 'p-lang',
                                        role: 'navigation',
-                                       title: mw.msg( 'tooltip-p-lang' ),
                                        'aria-labelledby': 'p-lang-label'
                                } )
                                .append( $( '<h3>' ).attr( 'id', 'p-lang-label' ).text( mw.msg( 'otherlanguages' ) ) )