This repository was archived by the owner on Sep 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change 3
3
4
4
include "header.php " ;
5
5
6
+ $ presetLabels = [
7
+ 'all ' => [
8
+ 'title ' => 'All ' ,
9
+ ],
10
+ 'wikimedia ' => [
11
+ 'title ' => 'Wikimedia ' ,
12
+ 'description ' => 'Most skins and extensions installed on most Wikimedia wikis, based on MediaWiki.org ' ,
13
+ ],
14
+ 'tarball ' => [
15
+ 'title ' => 'Tarball ' ,
16
+ 'description ' => 'Skins and extensions included in the official MediaWiki release ' ,
17
+ ],
18
+ 'minimal ' => [
19
+ 'title ' => 'Minimal ' ,
20
+ 'description ' => 'Only MediaWiki and default skin with anti-spam configuration ' ,
21
+ ],
22
+ 'custom ' => [
23
+ 'title ' => 'Custom ' ,
24
+ ]
25
+ ];
26
+
6
27
$ canCreate = !$ useOAuth || $ user ;
7
28
if ( !$ canCreate ) {
8
29
echo oauth_signin_prompt ();
44
65
include_once 'DetailsFieldLayout.php ' ;
45
66
include_once 'PatchSelectWidget.php ' ;
46
67
47
- $ presetLabels = [
48
- 'all ' => [
49
- 'title ' => 'All ' ,
50
- ],
51
- 'wikimedia ' => [
52
- 'title ' => 'Wikimedia ' ,
53
- 'description ' => 'Most skins and extensions installed on most Wikimedia wikis, based on MediaWiki.org ' ,
54
- ],
55
- 'tarball ' => [
56
- 'title ' => 'Tarball ' ,
57
- 'description ' => 'Skins and extensions included in the official MediaWiki release ' ,
58
- ],
59
- 'minimal ' => [
60
- 'title ' => 'Minimal ' ,
61
- 'description ' => 'Only MediaWiki and default skin with anti-spam configuration ' ,
62
- ],
63
- 'custom ' => [
64
- 'title ' => 'Custom ' ,
65
- ]
66
- ];
67
-
68
68
$ presetOptions = array_map ( static function ( $ data , $ preset ) {
69
69
$ option = [
70
70
'data ' => $ data
You can’t perform that action at this time.
0 commit comments