Listing entries tagged with encylopedia
The MTPaginate tag only works within PHP documents!
Make sure that the document extension is .php and that your server supports PHP documents.
1)
$paginate_current_page = 1;
$paginate_sections = array( 0
, 1);
$paginate_top_section = $paginate_sections[$paginate_current_page-1]+1;
$paginate_bottom_section = $paginate_sections[$paginate_current_page];
} else {
$paginate_top_section = 1;
$paginate_bottom_section = 1;
}
if(isset($_SERVER['QUERY_STRING'])) {
$paginate_self = '&' . $_SERVER['QUERY_STRING'] . '&';
$paginate_self = preg_replace("/&page=[^&]*&/", "&", $paginate_self);
$paginate_self = preg_replace("/&page_section=[^&]*&/", "&", $paginate_self);
$paginate_self = substr($paginate_self, 1, strlen($paginate_self) - 1);
if($paginate_self == '&')
$paginate_self = '';
else
$paginate_self = htmlentities($paginate_self);
} else {
$paginate_self = '';
}
$paginate_self = basename($_SERVER['PHP_SELF']) . "?${paginate_self}page";
?>
wikipedia compiles britannica errors
10.03.2005, 11:12 AM
Make sure that the document extension is .php and that your server supports PHP documents.
Whatever one's hesitations concerning the accuracy and reliability of Wikipedia, one has to admire their panache. Wikipedia applies the de-bugging ethic of programming to the production of knowledge, and this page is a wonderful cultural document - biting the collective thumb at print snobbism.
(CNET blogs)
Posted by ben vershbow at 11:12 AM
| Comments (0)
tags: Online , britannica , bugs , coding , collaborative , debugging , encylopedia , internet , programming , web , wiki , wikipedia



