dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91ac684
)
Convert two more Parser uses, no parser test failures. Any more conversions look...
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Fri, 1 Aug 2008 15:09:57 +0000
(15:09 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Fri, 1 Aug 2008 15:09:57 +0000
(15:09 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
45a5689
..
9f925d7
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-1758,7
+1758,7
@@
class Parser
$skip = $time = false;
wfRunHooks( 'BeforeParserMakeImageLinkObj', array( &$this, &$nt, &$skip, &$time ) );
if ( $skip ) {
- $link = $sk->
makeLinkObj
( $nt );
+ $link = $sk->
link
( $nt );
} else {
$link = $sk->makeMediaLinkObj( $nt, $text, $time );
}
@@
-4507,7
+4507,7
@@
class Parser
wfRunHooks( 'BeforeParserMakeImageLinkObj', array( &$this, &$title, &$skip, &$time, &$descQuery ) );
if ( $skip ) {
- return $sk->
makeLinkObj
( $title );
+ return $sk->
link
( $title );
}
# Get parameter map