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