Moved javascript files under the ikiwiki/ directory, to avoid cluttering the top of the web root. This is another things that requires a wiki rebuild on upgrade to this version.
parent
b28323e76a
commit
e90d67d3c9
|
@ -37,9 +37,9 @@ sub include_javascript ($;$) {
|
|||
my $page=shift;
|
||||
my $absolute=shift;
|
||||
|
||||
return '<script src="'.urlto("ikiwiki.js", $page, $absolute).
|
||||
return '<script src="'.urlto("ikiwiki/ikiwiki.js", $page, $absolute).
|
||||
'" type="text/javascript" charset="utf-8"></script>'."\n".
|
||||
'<script src="'.urlto("relativedate.js", $page, $absolute).
|
||||
'<script src="'.urlto("ikiwiki/relativedate.js", $page, $absolute).
|
||||
'" type="text/javascript" charset="utf-8"></script>';
|
||||
}
|
||||
|
||||
|
|
|
@ -81,9 +81,9 @@ sub include_javascript ($;$) {
|
|||
my $page=shift;
|
||||
my $absolute=shift;
|
||||
|
||||
return '<script src="'.urlto("ikiwiki.js", $page, $absolute).
|
||||
return '<script src="'.urlto("ikiwiki/ikiwiki.js", $page, $absolute).
|
||||
'" type="text/javascript" charset="utf-8"></script>'."\n".
|
||||
'<script src="'.urlto("toggle.js", $page, $absolute).
|
||||
'<script src="'.urlto("ikiwiki/toggle.js", $page, $absolute).
|
||||
'" type="text/javascript" charset="utf-8"></script>';
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
ikiwiki (3.20100422) UNRELEASED; urgency=low
|
||||
ikiwiki (3.20100424) UNRELEASED; urgency=low
|
||||
|
||||
[ Joey Hess ]
|
||||
* tag: Automatic creation of tag pages can now be enabled using
|
||||
|
@ -66,6 +66,9 @@ ikiwiki (3.20100422) UNRELEASED; urgency=low
|
|||
(Jelmer Vernooij)
|
||||
* Quite a lot of new optimisations, and one major fix to a recent
|
||||
performance regression.
|
||||
* Moved javascript files under the ikiwiki/ directory, to avoid cluttering
|
||||
the top of the web root. This is another things that requires a wiki
|
||||
rebuild on upgrade to this version.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sun, 04 Apr 2010 12:17:11 -0400
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ set -e
|
|||
|
||||
# Change this when some incompatible change is made that requires
|
||||
# rebuilding all wikis.
|
||||
firstcompat=3.20100422
|
||||
firstcompat=3.20100424
|
||||
|
||||
if [ "$1" = configure ] && \
|
||||
dpkg --compare-versions "$2" lt "$firstcompat"; then
|
||||
|
|
Loading…
Reference in New Issue