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:
f55ee65
)
Fixed bug causing magic word MAG_NOEDITSECTION to be visible in plain text if user...
author
Mr. E23
<e23@users.mediawiki.org>
Tue, 6 Jan 2004 00:47:52 +0000
(
00:47
+0000)
committer
Mr. E23
<e23@users.mediawiki.org>
Tue, 6 Jan 2004 00:47:52 +0000
(
00:47
+0000)
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
5dd58a6
..
6e3fce9
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-1382,11
+1382,9
@@
$t[] = "</table>" ;
}
# Inhibit editsection links if requested in the page
- if ($es) {
- $esw=& MagicWord::get(MAG_NOEDITSECTION);
- if ($esw->matchAndRemove( $text )) {
- $es=0;
- }
+ $esw =& MagicWord::get( MAG_NOEDITSECTION );
+ if ($esw->matchAndRemove( $text )) {
+ $es=0;
}
# if the string __NOTOC__ (not case-sensitive) occurs in the HTML,
# do not add TOC