One brute-force way to see the changes: Clear the browser cache and reload. A cleaner solution is to use this command while logged on as root:
touch localsettings.php
This page talks more about the MediaWiki file caching.
Web application R&D notes, from the world of Java, Flex, CSS, XHTML, Flash, .NET, cross-browser compatibility, JavaScript, AJAX, ADA compliance, Photoshop, and any and all things related to Web development!
touch localsettings.php
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\UseHR
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import java.io.File;
public class Zipper
{
private String _zipFilePath = "";
private String _imageFolderPath = "";
private String _zipFileName = "";
private static final int BUFFER = 20480;
private String _error = "";
public Zipper()
{
}
public void setZipFilePath(String path)
{
_zipFilePath = path;
}
public void setImageFolderPath(String path)
{
_imageFolderPath = path;
}
public String getError()
{
return _error;
}
public void zipEm()
{
File directory = new File(_imageFolderPath);
File files[] = directory.listFiles();
try {
BufferedInputStream origin = null;
FileOutputStream dest = new FileOutputStream(_zipFilePath);
ZipOutputStream zip = new ZipOutputStream(new BufferedOutputStream(dest));
byte data[] = new byte[BUFFER];
File f = null;
ZipEntry entry = null;
FileInputStream fi = null;
int count;
// Iterate over the file list and add them to the zip file.
for (int i=0; i <files.length; i++)
{
fi = new FileInputStream(files[i]);
origin = new BufferedInputStream(fi, BUFFER);
entry = new ZipEntry(files[i].getName());
zip.putNextEntry(entry);
while((count = origin.read(data,0,BUFFER)) != -1)
{
zip.write(data,0,count);
}
count = 0;
origin.close();
}
zip.close();
}
catch (Exception e)
{
// handle exception
_error = e.getMessage();
}
}
}
BufferedImage resizedImage = null;
try {
SeekableStream stream = SeekableStream.wrapInputStream(is, true);
RenderedOp newImage = JAI.create("stream",stream);
((OpImage)newImage.getRendering()).setTileCache(null);
double scale = targetWidth / newImage.getWidth();
ParameterBlock pb = new ParameterBlock();
pb.addSource(newImage);
pb.add(scale);
pb.add(scale);
/*
* For best results, must use the following rendering hints.
*/
RenderingHints qualityHints =
new RenderingHints(RenderingHints.KEY_RENDERING,
RenderingHints.VALUE_RENDER_QUALITY);
resizedImage = (JAI.create("SubsampleAverage",
pb,qualityHints)).getAsBufferedImage();
}
catch (Exception e)
{
this.error = e.getMessage();
}