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:
64a38b3
)
Parser: extract $title, follow-up 3d560be428
author
Kunal Mehta
<legoktm@member.fsf.org>
Sat, 30 Dec 2017 10:32:06 +0000
(
02:32
-0800)
committer
Umherirrender
<umherirrender_de.wp@web.de>
Sat, 30 Dec 2017 18:50:06 +0000
(18:50 +0000)
In the conversion away from extract(), the $title variable was missed. This
broke LabeledSectionTransclusion.
Change-Id: If4c140aedf16fc16a4ae2361f465798055748255
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
078de3c
..
e7e7aa0
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-3115,6
+3115,9
@@
class Parser {
}
// Extract any forwarded flags
}
// Extract any forwarded flags
+ if ( isset( $result['title'] ) ) {
+ $title = $result['title'];
+ }
if ( isset( $result['found'] ) ) {
$found = $result['found'];
}
if ( isset( $result['found'] ) ) {
$found = $result['found'];
}