forked from wikimedia/mediawiki-extensions-SocialProfile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSocialProfile.namespaces.php
More file actions
41 lines (34 loc) · 938 Bytes
/
SocialProfile.namespaces.php
File metadata and controls
41 lines (34 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* Translations of the namespaces introduced by SocialProfile.
*
* @file
*/
$namespaceNames = [];
// For wikis where the SocialProfile extension is not installed.
if ( !defined( 'NS_USER_WIKI' ) ) {
define( 'NS_USER_WIKI', 200 );
}
if ( !defined( 'NS_USER_WIKI_TALK' ) ) {
define( 'NS_USER_WIKI_TALK', 201 );
}
if ( !defined( 'NS_USER_PROFILE' ) ) {
define( 'NS_USER_PROFILE', 202 );
}
if ( !defined( 'NS_USER_PROFILE_TALK' ) ) {
define( 'NS_USER_PROFILE_TALK', 203 );
}
/** English */
$namespaceNames['en'] = [
NS_USER_WIKI => 'UserWiki',
NS_USER_WIKI_TALK => 'UserWiki_talk',
NS_USER_PROFILE => 'User_profile',
NS_USER_PROFILE_TALK => 'User_profile_talk',
];
/** Finnish (Suomi) */
$namespaceNames['fi'] = [
NS_USER_WIKI => 'Käyttäjäwiki',
NS_USER_WIKI_TALK => 'Keskustelu_käyttäjäwikistä',
NS_USER_PROFILE => 'Käyttäjäprofiili',
NS_USER_PROFILE_TALK => 'Keskustelu_käyttäjäprofiilista',
];