Fix for bug 24906
authorAdam Miller <adam@users.mediawiki.org>
Tue, 31 Aug 2010 21:52:51 +0000 (21:52 +0000)
committerAdam Miller <adam@users.mediawiki.org>
Tue, 31 Aug 2010 21:52:51 +0000 (21:52 +0000)
languages/messages/MessagesEn.php
maintenance/language/messages.inc
skins/Vector.php

index a9b490a..0fea596 100644 (file)
@@ -788,17 +788,6 @@ XHTML id names.
 'vector-action-protect'          => 'Protect',
 'vector-action-undelete'         => 'Undelete',
 'vector-action-unprotect'        => 'Unprotect',
-'vector-namespace-category'      => 'Category',
-'vector-namespace-help'          => 'Help page',
-'vector-namespace-image'         => 'File',
-'vector-namespace-main'          => 'Page',
-'vector-namespace-media'         => 'Media page',
-'vector-namespace-mediawiki'     => 'Message',
-'vector-namespace-project'       => 'Project page',
-'vector-namespace-special'       => 'Special page',
-'vector-namespace-talk'          => 'Discussion',
-'vector-namespace-template'      => 'Template',
-'vector-namespace-user'          => 'User page',
 'vector-simplesearch-preference' => 'Enable enhanced search suggestions (Vector skin only)',
 'vector-view-create'             => 'Create',
 'vector-view-edit'               => 'Edit',
index 7f3359f..b8a8a6f 100644 (file)
@@ -179,17 +179,6 @@ $wgMessageStructure = array(
                'vector-action-protect',
                'vector-action-undelete',
                'vector-action-unprotect',
-               'vector-namespace-category',
-               'vector-namespace-help',
-               'vector-namespace-image',
-               'vector-namespace-main',
-               'vector-namespace-media',
-               'vector-namespace-mediawiki',
-               'vector-namespace-project',
-               'vector-namespace-special',
-               'vector-namespace-talk',
-               'vector-namespace-template',
-               'vector-namespace-user',
                'vector-simplesearch-preference',
                'vector-view-create',
                'vector-view-edit',
index 3479ba5..4662fd9 100644 (file)
@@ -106,11 +106,11 @@ class SkinVector extends SkinTemplate {
 
                        // Adds namespace links
                        $links['namespaces'][$subjectId] = $this->tabAction(
-                               $subjectPage, 'vector-namespace-' . $subjectId, !$isTalk, '', true
+                               $subjectPage, 'nstab-' . $subjectId, !$isTalk, '', true
                        );
                        $links['namespaces'][$subjectId]['context'] = 'subject';
                        $links['namespaces'][$talkId] = $this->tabAction(
-                               $talkPage, 'vector-namespace-talk', $isTalk, '', true
+                               $talkPage, 'nstab-talk', $isTalk, '', true
                        );
                        $links['namespaces'][$talkId]['context'] = 'talk';
 
@@ -312,7 +312,7 @@ class SkinVector extends SkinTemplate {
                } else {
                        $links['namespaces']['special'] = array(
                                'class' => 'selected',
-                               'text' => wfMsg( 'vector-namespace-special' ),
+                               'text' => wfMsg( 'nstab-special' ),
                                'href' => $wgRequest->getRequestURL()
                        );
                }