| |
| | [No title] (Site not responding. Last check: 2007-11-02) |
 | | 'flags'; if(isset($row->$flagsField)) { $flags = explode(',', $row->$flagsField); } else { $flags = array(); } if(isset($row->$textField)) { $text = $row->$textField; } else { return false; } if(in_array('external', $flags)) { $url=$text; @list($proto,$path)=explode('://',$url,2); if ($path=="") { wfProfileOut($fname); return false; } require_once('ExternalStore.php'); $text=ExternalStore::fetchFromUrl($url); } if(in_array('gzip', $flags)) { # Deal with optional compression of archived pages. |
 | | * Return value is the flags field: contains 'gzip' if the * data is compressed, and 'utf-8' if we're saving in UTF-8 * mode. |
 | | $flags[] = 'utf-8'; } if($wgCompressRevisions) { if(function_exists('gzdeflate')) { $text = gzdeflate($text); $flags[] = 'gzip'; } else { wfDebug("Article::compressRevisionText() -- no zlib support, not compressing\n"); } } return implode(',', $flags); } /** * Note that getContent/loadContent may follow redirects if * not told otherwise, and so may cause a change to mTitle. |
| www.biocrawler.com /encyclopedia/Flags_of_non-sovereign_nations (1390 words) |
|