r81426 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r81425
|
r81426
|
r81427
>
Date:
22:30, 2 February 2011
Author:
sean_colombo
Status:
deferred
Tags:
Comment:
Made 3rd, 4th, 5th parameters of Negref's callback into optional parameters to prevent flooding logs with PHP warnings when users forget to put in parameters.
Modified paths:
/trunk/extensions/Negref/Negref.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Negref/Negref.php
—
—
@@ -41,7 +41,7 @@
42
42
return true;
43
43
}
44
44
45
-function efNegrefHook( $parser, $input, $replaceData, $replaceRef, $pattern ) {
45
+function efNegrefHook( $parser, $input, $replaceData='', $replaceRef='', $pattern='' ) {
46
46
$data = $input;
47
47
$ref = '';
48
48
Status & tagging log
22:40, 2 February 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r81426
[
removed:
new
added:
deferred]