WeakWiki


modules\history\history_none.php

WeakWiki (WeakWiki dummy history implementation: history.none.php) Copyright (C) 2010 Alexander Lang This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see . Project Home: http://weakwiki.robnet.wmweb.at/ Contact: robbiblubber@robnet.wmweb.at



/********************************************************************************
WeakWiki (WeakWiki dummy history implementation: history.none.php)
Copyright (C) 2010 Alexander Lang

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this
program; if not, see .

Project Home: http://weakwiki.robnet.wmweb.at/
Contact:      robbiblubber@robnet.wmweb.at
********************************************************************************/



/** Creates a history file for a wiki entry.
	@param $title	Wiki entry title.											*/
function _createHistory($title)
{}


/** Gets the history file.
	@param $title	Title.														*/
function _getHistory($title, $expand = true)
{
	return "\nHistory: **" . trim($title) . "**\n\n\nNo history.\n";
}


/** Gets a file from history.
	@param $title	Title.
	@param $id		File ID.													*/
function _getText($title, $id)
{
	return "";
}


/** Gets the file previous to a file from history.
	@param $title	Title.
	@param $id		File ID.													*/
function _getPrevious($title, $id)
{
	return "";
}


/** Writes into a wiki entry history file.
	@param $title	Wiki entry title.
	@param $text	History log text.
	@return			Unique ID for associated wiki plaintext.					*/
function _writeHistory($title, $text)
{	
	return "";
}


/** Renames history file.
	@param $oldTitle	Old title.
	@param $newTitle	New title.												*/
function _renameHistory($oldTitle, $newTitle)
{}

?>

WeakWiki