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:
d6c831b
)
Explicitly mark public methods public
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Wed, 28 Feb 2007 17:25:41 +0000
(17:25 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Wed, 28 Feb 2007 17:25:41 +0000
(17:25 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
7810f1e
..
14d45bd
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-4648,11
+4648,11
@@
class Parser
* @param $section Integer: section number
* @return string text of the requested section
*/
- function getSection( $text, $section ) {
+
public
function getSection( $text, $section ) {
return $this->extractSections( $text, $section, "get" );
}
- function replaceSection( $oldtext, $section, $text ) {
+
public
function replaceSection( $oldtext, $section, $text ) {
return $this->extractSections( $oldtext, $section, "replace", $text );
}