r79842 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79841‎ | r79842 | r79843 >
Date:21:07, 7 January 2011
Author:catrope
Status:ok
Tags:
Comment:
WikiEditor: (bug 26621) References button was shown in all namespaces while it's only supposed to show in non-talk namespaces. Regression in r74114
Modified paths:
  • /trunk/extensions/WikiEditor/modules/ext.wikiEditor.dialogs.js (modified) (history)
  • /trunk/extensions/WikiEditor/modules/ext.wikiEditor.toolbar.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiEditor/modules/ext.wikiEditor.dialogs.js
@@ -30,6 +30,7 @@
3131 },
3232 'reference': {
3333 'labelMsg': 'wikieditor-toolbar-tool-reference',
 34+ 'filters': [ 'body.ns-subject' ],
3435 'type': 'button',
3536 'icon': 'insert-reference.png',
3637 'offset': [2, -1798],
Index: trunk/extensions/WikiEditor/modules/ext.wikiEditor.toolbar.js
@@ -162,6 +162,7 @@
163163 },
164164 'reference': {
165165 'labelMsg': 'wikieditor-toolbar-tool-reference',
 166+ 'filters': [ 'body.ns-subject' ],
166167 'type': 'button',
167168 'offset': [2, -1798],
168169 'icon': 'insert-reference.png',

Follow-up revisions

RevisionCommit summaryAuthorDate
r802571.17: MFT r79821, r79842, r79970, r79973, r79975, r79978, r80057, r80058, r80...catrope12:35, 14 January 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r74114* Fixed the toolbar, where sprited buttons weren't receiving the correct clas...tparscal21:58, 1 October 2010

Status & tagging log