r104958 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104957‎ | r104958 | r104959 >
Date:07:01, 2 December 2011
Author:aaron
Status:ok
Tags:
Comment:
Shut up alias notice errors:
"Did not find alias for special page 'VisualEditorSandbox'. Perhaps no aliases are defined for it?"
Modified paths:
  • /trunk/extensions/VisualEditor/VisualEditor.alias.php (added) (history)
  • /trunk/extensions/VisualEditor/VisualEditor.php (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/VisualEditor.php
@@ -34,6 +34,7 @@
3535 );
3636 $dir = dirname( __FILE__ ) . '/';
3737 $wgExtensionMessagesFiles['VisualEditor'] = $dir . 'VisualEditor.i18n.php';
 38+$wgExtensionMessagesFiles['VisualEditorAliases'] = $dir . 'VisualEditor.alias.php';
3839 $wgAutoloadClasses['SpecialVisualEditorSandbox'] = $dir . 'SpecialVisualEditorSandbox.php';
3940 $wgSpecialPages['VisualEditorSandbox'] = 'SpecialVisualEditorSandbox';
4041 $wgSpecialPageGroups['VisualEditorSandbox'] = 'other';
Index: trunk/extensions/VisualEditor/VisualEditor.alias.php
@@ -0,0 +1,14 @@
 2+<?php
 3+/**
 4+ * Aliases for special pages for extension VisualEditor
 5+ *
 6+ * @file
 7+ * @ingroup Extensions
 8+ */
 9+
 10+$specialPageAliases = array();
 11+
 12+/** English (English) */
 13+$specialPageAliases['en'] = array(
 14+ 'VisualEditorSandbox' => array( 'VisualEditorSandbox' )
 15+);
Property changes on: trunk/extensions/VisualEditor/VisualEditor.alias.php
___________________________________________________________________
Added: svn:eol-style
116 + native

Follow-up revisions

RevisionCommit summaryAuthorDate
r104962Register alias file introduced in r104958 for translatewiki.netraymond09:57, 2 December 2011

Status & tagging log