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:
90b8cd2
)
really fixed relative path bug
author
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 26 Oct 2005 00:22:50 +0000
(
00:22
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Wed, 26 Oct 2005 00:22:50 +0000
(
00:22
+0000)
maintenance/dumpHTML.inc
patch
|
blob
|
history
diff --git
a/maintenance/dumpHTML.inc
b/maintenance/dumpHTML.inc
index
ec29fb0
..
6c2ced5
100644
(file)
--- a/
maintenance/dumpHTML.inc
+++ b/
maintenance/dumpHTML.inc
@@
-33,8
+33,8
@@
class DumpHTML {
# the destination
var $alternateScriptPath = false;
# the destination
var $alternateScriptPath = false;
- # Original
article path, for "current version" link
s
- var $oldArticlePath = false;
+ # Original
values of various global
s
+ var $oldArticlePath = false
, $oldCopyrightIcon = false
;
# Has setupGlobals been called?
var $setupDone = false;
# Has setupGlobals been called?
var $setupDone = false;
@@
-325,8
+325,11
@@
class DumpHTML {
}
# Another ugly hack
}
# Another ugly hack
+ if ( !$this->setupDone ) {
+ $this->oldCopyrightIcon = $wgCopyrightIcon;
+ }
$wgCopyrightIcon = str_replace( 'src="/images',
$wgCopyrightIcon = str_replace( 'src="/images',
- 'src="' . htmlspecialchars( $wgScriptPath ) . '/images', $
wg
CopyrightIcon );
+ 'src="' . htmlspecialchars( $wgScriptPath ) . '/images', $
this->old
CopyrightIcon );