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:
2bf8ede
)
Fix regression in r81124, causing &pst to be ignored for the purposees of actually...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 2 Feb 2011 19:16:05 +0000
(19:16 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 2 Feb 2011 19:16:05 +0000
(19:16 +0000)
includes/api/ApiParse.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiParse.php
b/includes/api/ApiParse.php
index
8fe7cc3
..
012a83b
100644
(file)
--- a/
includes/api/ApiParse.php
+++ b/
includes/api/ApiParse.php
@@
-185,7
+185,7
@@
class ApiParse extends ApiBase {
$this->getResult()->addValue( null, $this->getModuleName(), $result_array );
return;
}
- $p_result = $wgParser->parse( $this->text, $titleObj, $popts );
+ $p_result = $wgParser->parse( $
params['pst'] ? $this->pstText : $
this->text, $titleObj, $popts );
}
// Return result