r5363 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r5362
|
r5363
|
r5364
>
Date:
18:18, 21 September 2004
Author:
kateturner
Status:
old
Tags:
Comment:
don't generate edit links for template sections that don't exist
Modified paths:
/branches/REL1_3/phase3/includes/Parser.php
(modified) (
history
)
Diff
[
purge
]
Index: branches/REL1_3/phase3/includes/Parser.php
—
—
@@ -1851,6 +1851,7 @@
1852
1852
if ($matches[$i] == "" && $matches[$i + 1] == "") break;
1853
1853
$text .= $matches[$i];
1854
1854
$hl = $matches[$i + 1];
1855
+ if( $hl == "" ) continue;
1855
1856
if( strstr($hl, "<!--MWTEMPLATESECTION") ) {
1856
1857
$text .= $hl;
1857
1858
continue;
Status & tagging log
01:56, 13 October 2010
😂
(
talk
|
contribs
)
changed the
status
of r5363
[
removed:
new
added:
old]