Merge "[Upload] Moved async upload stuff to the job queue."
[lhc/web/wiklou.git] / tests / selenium / installer / MediaWikiInstallationVariables.php
1 <?php
2
3 /**
4 * MediaWikiInstallationConfig
5 *
6 * @file
7 * @ingroup Maintenance
8 * Copyright (C) 2010 Nadeesha Weerasinghe <nadeesha@calcey.com>
9 * http://www.calcey.com/
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License along
22 * with this program; if not, write to the Free Software Foundation, Inc.,
23 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 * http://www.gnu.org/copyleft/gpl.html
25 *
26 * @addtogroup Maintenance
27 *
28 */
29
30
31 // Common variables
32 define( 'PAGE_LOAD_TIME', "80000" );
33
34 // Common links
35 define( 'LINK_DIV', "//div[@id='bodyContent']/div/div/" );
36 define( 'LINK_FORM', "//div[@id='bodyContent']/div/div/div[2]/form/" );
37 define( 'LINK_RIGHT_FRAMEWORK', "//div[@id='bodyContent']/div/div/div[1]/ul[1]/" );
38
39 // 'Name' page input values
40 define( 'NAME_OF_WIKI', "Site Name" );
41 define( 'ADMIN_USER_NAME', "My Name" );
42 define( 'ADMIN_PASSWORD', "12345" );
43 define ( 'ADMIN_RETYPE_PASSWORD', "12345" );
44 define ( 'ADMIN_EMAIL_ADDRESS', "admin@example.com" );
45
46
47 // 'Name' page input values for warning messages
48 define( 'VALID_WIKI_NAME', "MyWiki" );
49 define( 'VALID_YOUR_NAME', "FirstName LastName" );
50 define( 'VALID_PASSWORD', "12345" );
51 define( 'VALID_PASSWORD_AGAIN', "12345" );
52 define( 'INVALID_PASSWORD_AGAIN', "123" );
53 define( 'VALID_NAMESPACE', "Mynamespace" );
54 define( 'INVALID_NAMESPACE', "##..##" );
55
56
57 // 'Database settings' page input values
58 define( 'DB_WEB_USER', "different" );
59 define( 'DB_WEB_USER_PASSWORD', "12345" );
60
61
62 // 'Connet to database' page input values
63 define( 'DATABASE_PREFIX', "databaseprefix" );
64
65
66 // 'Connet to database' page input values for warning messages
67 define( 'VALID_DB_HOST', "localhost" );
68 define( 'INVALID_DB_HOST', "local" );
69 define( 'INVALID_DB_NAME', "my-wiki" );
70 define( 'VALID_DB_NAME', "my_wiki1" );
71 define( 'INVALID_DB_PREFIX', "database prefix" );
72 define( 'VALID_DB_PREFIX', "database_prefix" );
73 define( 'INVALID_DB_USER_NAME', "roots" );
74 define( 'VALID_DB_USER_NAME', "root" );
75 define( 'INVALID_DB_PASSWORD', "12345" );
76
77