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:
f1cebbd
)
Added normalizeSubpageLink() to DummyLinker. __call doesn't handle static function...
author
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 30 Jun 2011 18:38:32 +0000
(18:38 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 30 Jun 2011 18:38:32 +0000
(18:38 +0000)
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
5d88b32
..
7ced601
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-1997,9
+1997,12
@@
class DummyLinker {
* @param $fname String Name of called method
* @param $args Array Arguments to the method
*/
- function __call( $fname, $args ) {
+
public
function __call( $fname, $args ) {
return call_user_func_array( array( 'Linker', $fname ), $args );
}
+ public static function normalizeSubpageLink( $contextTitle, $target, &$text ) {
+ return Linker::normalizeSubpageLink( $contextTitle, $target, $text );
+ }
}