r113950 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r113949
|
r113950
|
r113951
>
Date:
20:22, 15 March 2012
Author:
jeroendedauw
Status:
deferred
Tags:
Comment:
tweak default img width
Modified paths:
/trunk/extensions/EducationProgram/EducationProgram.settings.php
(modified) (
history
)
/trunk/extensions/EducationProgram/includes/EPOAPager.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/EducationProgram/EducationProgram.settings.php
—
—
@@ -34,6 +34,7 @@
35
35
),
36
36
'ambassadorCommonsUrl' => 'https://commons.wikimedia.org/wiki/Special:UploadWizard',
37
37
'citylessCountries' => array( 'BT', 'BV', 'IO', 'VG', 'TD', 'CX', 'CC', 'KM', 'DJ', 'GQ', 'FK', 'FX', 'TF', 'GW', 'HM', 'KI', 'YT', 'MS', 'NR', 'NU', 'NF', 'PN', 'SH', 'PM', 'WS', 'SC', 'GS', 'SJ', 'TK', 'TP', 'TV', 'UM', 'VU', 'EH' ),
38
+ 'ambassadorImgWidth' => 140
38
39
);
39
40
}
40
41
Index: trunk/extensions/EducationProgram/includes/EPOAPager.php
—
—
@@ -87,7 +87,7 @@
88
88
$value = '';
89
89
90
90
if ( $file !== false ) {
91
- $thumb = $file->transform( array( 'width' => 200 ) );
91
+ $thumb = $file->transform( array( 'width' => EPSettings::get( 'ambassadorImgWidth' ) ) );
92
92
93
93
if ( $thumb && !$thumb->isError() ) {
94
94
$value = $thumb->toHtml();
Status & tagging log
14:50, 11 October 2012
😂
(
talk
|
contribs
)
changed the
status
of r113950
[
removed:
new
added:
deferred]
17:06, 4 April 2012
Krinkle
(
talk
|
contribs
)
changed the
status
of r113950
[
removed:
deferred
added:
new]
22:34, 16 March 2012
Reedy
(
talk
|
contribs
)
changed the
status
of r113950
[
removed:
new
added:
deferred]