r92930 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r92929
|
r92930
|
r92931
>
Date:
02:54, 23 July 2011
Author:
neilk
Status:
ok
Tags:
Comment:
fix problem with php 5.3 -- $msg is ultimately used in call_user_func_array, so it must be an array, or it will generate a warning. PHP 5.2 does not give this warning, which is why we do not see it in production yet.
Modified paths:
/trunk/extensions/WikimediaMessages/WikimediaMessages.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/WikimediaMessages/WikimediaMessages.php
—
—
@@ -37,7 +37,7 @@
38
38
}
39
39
40
40
function efWikimediaEditPageCopyrightWarning( $title, &$msg ) {
41
- $msg = 'wikimedia-copyrightwarning';
41
+ $msg = array( 'wikimedia-copyrightwarning' );
42
42
return true;
43
43
}
44
44
Follow-up revisions
Revision
Commit summary
Author
Date
r95411
1.17wmf1: MFT
r92930
catrope
18:37, 24 August 2011
r97730
1.18wmf1: MFT
r92930
catrope
13:41, 21 September 2011
r98759
MFT
r92930
,
r96665
,
r97650
,
r97701
,
r97702
,
r97733
,
r97794
,
r97892
reedy
13:31, 3 October 2011
Status & tagging log
13:31, 3 October 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r92930
[
removed:
1.18]
13:40, 21 September 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r92930
[
added:
1.18]
16:16, 8 August 2011
😂
(
talk
|
contribs
)
changed the
status
of r92930
[
removed:
new
added:
ok]