PHP Package Scan of mediawiki-1.5.2

/Users/fredibach/Desktop/downloads/mediawiki-1.5.2
AdminSettings.sample - 819 bytes
config/
index.php - 18 functions/classes, 1382 lines, 45443 bytes
168: class ConfigData;
169: function getEncoded ( $data );
173: function getSitename ();
174: function getSysopName ();
175: function getSysopPass ();
1002: function writeSuccessMessage ();
1026: function escapePhpString ( $string );
1038: function writeLocalSettings ( $conf );
1226: function dieout ( $text );
1230: function importVar ( &$var, $name, $default = "" );
1242: function importPost ( $name, $default = "" );
1246: function importRequest ( $name, $default = "" );
1250: function aField ( &$conf, $field, $text, $type = "", $value = "" );
1285: function getLanguageList ();
1289: function wfLocalUrl ( $x );
1290: function wfLocalUrlE ( $x );
1317: function locate_executable ($loc, $names, $versioninfo = false);
1335: function testMemcachedServer ( $server );
COPYING - 18009 bytes
docs/
deferred.txt - 852 bytes
design.txt - 5973 bytes
export-0.1.xsd - 2365 bytes
export-0.2.xsd - 3171 bytes
export-0.3.xsd - 4875 bytes
export-demo.xml - 4395 bytes
globals.txt - 727 bytes
hooks.txt - 12436 bytes
html/
README - 180 bytes
language.txt - 1215 bytes
linkcache.txt - 1421 bytes
memcached.txt - 4477 bytes
php-memcached/
ChangeLog - 1505 bytes
Documentation - 8178 bytes
README - 459 bytes
schema.txt - 244 bytes
skin.txt - 1702 bytes
title.txt - 3740 bytes
user.txt - 2255 bytes
extensions/
README - 175 bytes
FAQ - 60 bytes
HISTORY - 26715 bytes
images/
README - 202 bytes
img_auth.php - 1 functions/classes, 56 lines, 1517 bytes
45: function wfForbidden ();
includes/
Article.php - 71 functions/classes, 2496 lines, 70693 bytes
24: class Article;
44: function Article ( &$title );
53: function getTitle ();
61: function clear ();
82: function getContent ( $noredir );
144: function getPreloadedText ($preload);
168: function getSection ($text,$section);
230: function getContentFields ();
242: function getOldID ();
277: function loadContent ( $noredir = false );
306: function pageData ( &$dbr, $conditions );
324: function pageDataFromTitle ( &$dbr, $title );
330: function pageDataFromId ( &$dbr, $id );
342: function loadPageData ( $data );
361: function fetchContent ( $oldid = 0, $noredir = true, $globalTitle = false );
474: function getContentWithoutUsingSoManyDamnGlobals ( $oldid = 0, $noredir = false );
481: function forUpdate ( $x = NULL );
488: function &getDB ();
501: function getSelectOptions ( $options = '' );
515: function getID ();
527: function exists ();
534: function getCount ();
550: function isCountable ( $text );
563: function isRedirect ( $text = false );
578: function isCurrent ();
589: function loadLastEdit ();
609: function getTimestamp ();
614: function getUser ();
619: function getUserText ();
624: function getComment ();
629: function getMinorEdit ();
634: function getRevIdFetched ();
639: function getContributors ($limit = 0, $offset = 0);
678: function view ();
852: function addTrackbacks ();
883: function deletetrackback ();
907: function render ();
926: function insertOn ( &$dbw, $restrictions = '' );
965: function updateRevisionOn ( &$dbw, $revision, $lastRevision = null );
998: function updateIfNewerOn ( &$dbw, $revision );
1032: function insertNewArticle ( $text, $summary, $isminor, $watchthis, $suppressRC=false, $comment=false );
1102: function getTextOfLastEditWithSectionReplacedOrAdded ($section, $text, $summary = '', $edittime = NULL);
1192: function updateArticle ( $text, $summary, $minor, $watchthis, $forceBot = false, $sectionanchor = '' );
1322: function showArticle ( $text, $subtitle , $sectionanchor = '', $me2, $now, $summary, $oldid );
1379: function markpatrolled ();
1417: function validate ();
1446: function watch ();
1481: function unwatch ();
1515: function protect ( $limit = 'sysop' );
1583: function confirmProtect ( $par, $reason, $limit = 'sysop' );
1652: function unprotect ();
883: function delete ();
1774: function confirmDelete ( $par, $reason );
1818: function doDelete ( $reason );
1847: function doDeleteArticle ( $reason );
1945: function rollback ();
2052: function viewUpdates ();
2090: function editUpdates ( $text, $summary, $minoredit, $timestamp_of_pagechange);
2151: function setOldSubtitle ( $oldid=0 );
2174: function preSaveTransform ( $text );
2186: function tryFileCache ();
2214: function isFileCacheable ();
2236: function checkTouched ();
2257: function quickEdit ( $text, $comment = '', $minor = 0 );
2282: function incViewCount ( $id );
2343: function onArticleCreate ($title_obj);
2360: function onArticleDelete ( $title );
2370: function onArticleEdit ($title_obj);
2383: function info ();
2438: function pageCountInfo ( $title );
2472: function getUsedTemplates ();
AuthPlugin.php - 15 functions/classes, 223 lines, 5607 bytes
37: class AuthPlugin;
48: function userExists ( $username );
64: function authenticate ( $username, $password );
75: function modifyUITemplate ( &$template );
86: function setDomain ( $domain );
97: function validDomain ( $domain );
113: function updateUser ( &$user );
133: function autoCreate ();
145: function setPassword ( $password );
157: function updateExternalDB ( $user );
167: function canCreateAccounts ();
180: function addUser ( $user, $password );
194: function strict ();
209: function initUser ( &$user );
217: function getCanonicalName ( $username );
BagOStuff.php - 63 functions/classes, 498 lines, 11084 bytes
37: class BagOStuff;
40: function BagOStuff ();
44: function set_debug ($bool);
51: function get ($key);
44: function set ($key, $value, $exptime=0);
61: function delete ($key, $time=0);
66: function lock ($key, $timeout = 0);
71: function unlock ($key);
78: function get_multi ($keys);
85: function set_multi ($hash, $exptime=0);
90: function add ($key, $value, $exptime=0);
97: function add_multi ($hash, $exptime=0);
102: function delete_multi ($keys, $time=0);
107: function replace ($key, $value, $exptime=0);
112: function incr ($key, $value=1);
128: function decr ($key, $value=1);
145: function _debug ($text);
157: class HashBagOStuff extends BagOStuff;
165: function HashBagOStuff ();
169: function _expire ($key);
51: function get ($key);
44: function set ($key,$value,$exptime=0);
61: function delete ($key,$time=0);
214: class SqlBagOStuff extends BagOStuff;
218: function SqlBagOStuff ($tablename = 'objectcache');
51: function get ($key);
44: function set ($key,$value,$exptime=0);
61: function delete ($key,$time=0);
264: function getTableName ();
268: function _query ($sql);
285: function _strencode ($str);
290: function _doquery ($sql);
294: function _fetchrow ($res);
298: function _freeresult ($result);
303: function _dberror ($result);
308: function _maxdatetime ();
312: function _fromunixtime ();
316: function garbageCollect ();
328: function expireall ();
334: function deleteall ();
347: function _serialize ( &$data );
361: function _unserialize ( $serial );
376: class MediaWikiBagOStuff extends SqlBagOStuff;
290: function _doquery ($sql);
383: function _fetchobject ($result);
298: function _freeresult ($result);
303: function _dberror ($result);
308: function _maxdatetime ();
312: function _fromunixtime ($ts);
285: function _strencode ($s);
264: function getTableName ();
430: class TurckBagOStuff extends BagOStuff;
51: function get ($key);
44: function set ($key, $value, $exptime=0);
61: function delete ($key, $time=0);
66: function lock ($key, $waitTimeout = 0 );
71: function unlock ($key);
468: class eAccelBagOStuff extends BagOStuff;
51: function get ($key);
44: function set ($key, $value, $exptime=0);
61: function delete ($key, $time=0);
66: function lock ($key, $waitTimeout = 0 );
71: function unlock ($key);
Block.php - 20 functions/classes, 336 lines, 8136 bytes
23: class Block;
28: function Block ( $address = '', $user = '', $by = 0, $reason = '', $timestamp = '' , $auto = 0, $expiry = '' );
47: function newFromDB ( $address, $user = 0, $killExpired = true );
54: function clear ();
63: function load ( $address = '', $user = 0, $killExpired = true );
138: function initFromRow ( $row );
154: function initialiseRange ();
173: function enumBlocks ( $callback, $tag, $flags = 0 );
208: function delete ();
225: function insert ();
246: function deleteIfExpired ();
258: function isExpired ();
268: function isValid ();
273: function updateTimestamp ();
293: function clearCache ();
301: function getIntegerAddr ();
306: function getNetworkBits ();
311: function forUpdate ( $x = NULL );
315: function getAutoblockExpiry ( $timestamp );
321: function normaliseRange ( $range );
BlockCache.php - 8 functions/classes, 145 lines, 3413 bytes
11: class BlockCache;
22: function BlockCache ( $deferLoad = false, $dbName = '' );
40: function loadFromDB ( $bFromSlave = false );
40: function load ( $bFromSlave );
79: function insert ( &$block );
99: function get ( $ip, $bFromSlave );
130: function clearLocal ();
141: function wfBlockCacheInsert ( $block, $tag );
CacheManager.php - 12 functions/classes, 164 lines, 3930 bytes
25: class CacheManager;
28: function CacheManager ( &$title );
33: function fileCacheName ();
52: function isFileCached ();
56: function fileCacheTime ();
60: function isFileCacheGood ( $timestamp );
73: function useGzip ();
79: function fetchRawText ();
83: function fetchPageText ();
93: function loadFromFileCache ();
115: function checkCacheDirs ();
124: function saveToFileCache ( $origtext );
CategoryPage.php - 10 functions/classes, 332 lines, 9672 bytes
19: class CategoryPage extends Article;
21: function view ();
39: function openShowCategory ();
49: function closeShowCategory ();
65: function doCategoryMagic ( $from = '', $until = '' );
188: function formatCount ( $articles, $message );
207: function formatList ( $articles, $articles_start_char, $cutoff = 6 );
226: function columnList ( $articles, $articles_start_char );
285: function shortList ( $articles, $articles_start_char );
310: function pagingLinks ( $title, $first, $last, $limit, $query = array() );
ChangesList.php - 11 functions/classes, 549 lines, 17271 bytes
8: class ChangesList;
13: function ChangesList ( &$skin );
20: function recentChangesFlags ( $new, $minor, $patrolled, $nothing = ' ' );
33: function beginRecentChangesList ();
46: function endRecentChangesList ();
57: function recentChangesBlockLine ( $rcObj );
113: function recentChangesBlockGroup ( $block );
237: function recentChangesBlock ();
256: function recentChangesLine ( &$rc, $watched = false );
267: function recentChangesLineOld ( &$rc, $watched = false );
410: function recentChangesLineNew ( &$baseRC, $watched = false );
Credits.php - 6 functions/classes, 187 lines, 4611 bytes
26: function showCreditsPage ($article);
50: function getCredits ($article, $cnt, $showIfMax=true);
69: function getAuthorCredits ($article);
99: function getContributorCredits ($article, $cnt, $showIfMax);
170: function creditLink ($user_name, $link_text = '');
180: function creditOthersLink ($article);
Database.php - 97 functions/classes, 1718 lines, 46859 bytes
29: class Database;
58: function failFunction ( $function = NULL );
66: function &setOutputPage ( &$out );
73: function debug ( $debug = NULL );
81: function bufferResults ( $buffer = NULL );
96: function ignoreErrors ( $ignoreErrors = NULL );
104: function trxLevel ( $level = NULL );
111: function errorCount ( $count = NULL );
118: function lastQuery ();
119: function isOpen ();
138: function Database ( $server = false, $user = false, $password = false, $dbName = false, $failFunction = false, $flags = 0, $tablePrefix = 'get from global' );
183: function newFromParams ( $server, $user, $password, $dbName, $failFunction = false, $flags = 0 );
193: function open ( $server, $user, $password, $dbName );
266: function close ();
283: function reportConnectionError ();
298: function query ( $sql, $fname = '', $tempIgnore = false );
371: function doQuery ( $sql );
387: function reportQueryError ( $error, $errno, $sql, $fname, $tempIgnore = false );
426: function prepare ( $sql, $func = 'Database::prepare' );
433: function freePrepared ( $prepared );
442: function execute ( $prepared, $args = null );
458: function safeQuery ( $query, $args = null );
477: function fillPrepared ( $preparedQuery, $args );
494: function fillPreparedArg ( $matches );
518: function freeResult ( $res );
527: function fetchObject ( $res );
539: function fetchRow ( $res );
550: function numRows ( $res );
562: function numFields ( $res );
568: function fieldName ( $res, $n );
580: function insertId ();
586: function dataSeek ( $res, $row );
592: function lastErrno ();
604: function lastError ();
625: function affectedRows ();
66: function set ( $table, $var, $value, $cond, $fname = 'Database::set' );
649: function selectField ( $table, $var, $cond='', $fname = 'Database::selectField', $options = array() );
678: function makeSelectOptions ( $options );
649: function select ( $table, $vars, $conds='', $fname = 'Database::select', $options = array() );
750: function selectRow ( $table, $vars, $conds, $fname = 'Database::selectRow', $options = array() );
769: function generalizeSQL ( $sql );
794: function fieldExists ( $table, $field, $fname = 'Database::fieldExists' );
817: function indexExists ( $table, $index, $fname = 'Database::indexExists' );
831: function indexInfo ( $table, $index, $fname = 'Database::indexInfo' );
853: function tableExists ( $table );
873: function fieldInfo ( $table, $field );
889: function fieldType ( $res, $index );
896: function indexUnique ( $table, $index );
580: function insert ( $table, $a, $fname = 'Database::insert', $options = array() );
957: function makeUpdateOptions ( $options );
980: function update ( $table, $values, $conds, $fname = 'Database::update', $options = array() );
997: function makeList ( $a, $mode = LIST_COMMA );
1031: function selectDB ( $db );
1039: function startTimer ( $timeout );
1053: function stopTimer ();
1067: function tableName ( $name );
1093: function tableNames ();
1107: function strencode ( $s );
1115: function addQuotes ( $s );
1132: function nextSequenceValue ( $seqName );
1140: function useIndexClause ( $index );
1160: function replace ( $table, $uniqueIndexes, $rows, $fname = 'Database::replace' );
1196: function deleteJoin ( $delTable, $joinTable, $delVar, $joinVar, $conds, $fname = 'Database::deleteJoin' );
1214: function textFieldSize ( $table, $field );
1232: function lowPriorityOption ();
1196: function delete ( $table, $conds, $fname = 'Database::delete' );
1260: function insertSelect ( $destTable, $srcTable, $varMap, $conds, $fname = 'Database::insertSelect' );
1280: function limitResult ($limit,$offset);
1293: function conditional ( $cond, $trueVal, $falseVal );
1300: function wasDeadlock ();
1320: function deadlockLoop ();
1366: function masterPosWait ( $file, $pos, $timeout );
1391: function getSlavePos ();
1404: function getMasterPos ();
1417: function begin ( $fname = 'Database::begin' );
1428: function commit ( $fname = 'Database::commit' );
1440: function rollback ( $fname = 'Database::rollback' );
1448: function immediateBegin ( $fname = 'Database::immediateBegin' );
1456: function immediateCommit ( $fname = 'Database::immediateCommit' );
1464: function timestamp ( $ts=0 );
1471: function timestampOrNull ( $ts = null );
1482: function resultObject ( $result );
1493: function aggregateValue ($valuedata,$valuename='value');
1500: function getSoftwareLink ();
1507: function getServerVersion ();
1514: function ping ();
1527: function getLag ();
1546: function getStatus ();
1563: class DatabaseMysql extends Database;
1573: class ResultWrapper;
1579: function ResultWrapper ( $database, $result );
550: function numRows ();
527: function fetchObject ();
1601: function &fetchRow ();
433: function free ();
1614: function seek ( $row );
1628: function wfEmergencyAbort ( &$conn, $error );
DatabaseFunctions.php - 27 functions/classes, 371 lines, 7212 bytes
16: function wfQuery ( $sql, $db, $fname = '' );
37: function wfSingleQuery ( $sql, $dbi, $fname = '' );
49: function &wfGetDB ( $db = DB_LAST, $groups = array() );
66: function wfIgnoreSQLErrors ( $newstate, $dbi = DB_LAST );
84: function wfFreeResult ( $res, $dbi = DB_LAST );
99: function wfFetchObject ( $res, $dbi = DB_LAST );
112: function wfFetchRow ( $res, $dbi = DB_LAST );
125: function wfNumRows ( $res, $dbi = DB_LAST );
138: function wfNumFields ( $res, $dbi = DB_LAST );
152: function wfFieldName ( $res, $n, $dbi = DB_LAST );
166: function wfInsertId ( $dbi = DB_LAST );
178: function wfDataSeek ( $res, $row, $dbi = DB_LAST );
190: function wfLastErrno ( $dbi = DB_LAST );
202: function wfLastError ( $dbi = DB_LAST );
214: function wfAffectedRows ( $dbi = DB_LAST );
226: function wfLastDBquery ( $dbi = DB_LAST );
238: function wfSetSQL ( $table, $var, $value, $cond, $dbi = DB_MASTER );
252: function wfGetSQL ( $table, $var, $cond='', $dbi = DB_LAST );
265: function wfFieldExists ( $table, $field, $dbi = DB_LAST );
277: function wfIndexExists ( $table, $index, $dbi = DB_LAST );
289: function wfInsertArray ( $table, $array, $fname = 'wfInsertArray', $dbi = DB_MASTER );
301: function wfGetArray ( $table, $vars, $conds, $fname = 'wfGetArray', $dbi = DB_LAST );
313: function wfUpdateArray ( $table, $values, $conds, $fname = 'wfUpdateArray', $dbi = DB_MASTER );
326: function wfTableName ( $name, $dbi = DB_LAST );
338: function wfStrencode ( $s, $dbi = DB_LAST );
350: function wfNextSequenceValue ( $seqName, $dbi = DB_MASTER );
362: function wfUseIndexClause ( $index, $dbi = DB_SLAVE );
DatabasePostgreSQL.php - 41 functions/classes, 451 lines, 12157 bytes
24: class DatabasePgsql extends Database;
28: function DatabasePgsql ($server = false, $user = false, $password = false, $dbName = false, $failFunction = false, $flags = 0, $tablePrefix = 'get from global' );
34: function newFromParams ( $server = false, $user = false, $password = false, $dbName = false, $failFunction = false, $flags = 0, $tablePrefix = 'get from global' );
44: function open ( $server, $user, $password, $dbName );
84: function close ();
93: function doQuery ( $sql );
97: function queryIgnore ( $sql, $fname = '' );
101: function freeResult ( $res );
107: function fetchObject ( $res );
120: function fetchRow ( $res );
128: function numRows ( $res );
135: function numFields ( $res );
136: function fieldName ( $res, $n );
141: function insertId ();
145: function dataSeek ( $res, $row );
146: function lastError ();
147: function lastErrno ();
149: function affectedRows ();
157: function indexInfo ( $table, $index, $fname = 'Database::indexExists' );
172: function indexUnique ($table, $index, $fname = 'Database::indexUnique' );
184: function fieldInfo ( $table, $field );
141: function insert ( $table, $a, $fname = 'Database::insert', $options = array() );
229: function startTimer ( $timeout );
237: function tableName ( $name );
256: function strencode ( $s );
263: function nextSequenceValue ( $seqName );
273: function useIndexClause ( $index );
286: function replace ( $table, $uniqueIndexes, $rows, $fname = 'Database::replace' );
336: function deleteJoin ( $delTable, $joinTable, $delVar, $joinVar, $conds, $fname = "Database::deleteJoin" );
353: function textFieldSize ( $table, $field );
370: function lowPriorityOption ();
374: function limitResult ($limit,$offset);
387: function conditional ( $cond, $trueVal, $falseVal );
392: function wasDeadlock ();
397: function timestamp ( $ts=0 );
404: function aggregateValue ($valuedata,$valuename='value');
409: function reportQueryError ( $error, $errno, $sql, $fname, $tempIgnore = false );
420: function getSoftwareLink ();
427: function getServerVersion ();
435: function setSchema ($schema=false);
447: class DatabasePostgreSQL extends DatabasePgsql;
DateFormatter.php - 10 functions/classes, 293 lines, 7427 bytes
27: class DateFormatter;
38: function DateFormatter ();
106: function &getInstance ();
123: function reformat ( $preference, $text );
148: function replace ( $matches );
233: function getMonthRegex ();
248: function makeIsoMonth ( $monthName );
258: function makeIsoYear ( $year );
274: function makeNormalYear ( $iso );
287: function wfMainDateReplace ( $matches );
DefaultSettings.php - 1663 lines, 53820 bytes
Defines.php - 143 lines, 4456 bytes
DifferenceEngine.php - 77 functions/classes, 1496 lines, 40943 bytes
16: class DifferenceEngine;
35: function DifferenceEngine ( $old, $new, $rcid = 0 );
65: function showDiffPage ();
206: function showFirstRevision ();
65: function showDiff ( $otext, $ntext, $otitle, $ntitle );
268: function getDiff ( $otext, $ntext, $otitle, $ntitle );
307: function loadText ();
377: class _DiffOp;
382: function reverse ();
386: function norig ();
390: function nclosing ();
401: class _DiffOp_Copy extends _DiffOp;
404: function _DiffOp_Copy ($orig, $closing = false);
382: function reverse ();
422: class _DiffOp_Delete extends _DiffOp;
425: function _DiffOp_Delete ($lines);
382: function reverse ();
441: class _DiffOp_Add extends _DiffOp;
444: function _DiffOp_Add ($lines);
382: function reverse ();
460: class _DiffOp_Change extends _DiffOp;
463: function _DiffOp_Change ($orig, $closing);
382: function reverse ();
496: class _DiffEngine;
498: function diff ($from_lines, $to_lines);
606: function _diag ($xoff, $xlim, $yoff, $ylim, $nchunks);
684: function _lcs_pos ($ypos);
725: function _compareseq ($xoff, $xlim, $yoff, $ylim);
785: function _shift_boundaries ($lines, &$changed, $other_changed);
16: class Diff;
35: function Diff ($from_lines, $to_lines);
931: function reverse ();
945: function isEmpty ();
960: function lcs ();
977: function orig ();
995: function closing ();
1010: function _check ($from_lines, $to_lines);
1045: class MappedDiff extends Diff;
1070: function MappedDiff ($from_lines, $to_lines, $mapped_from_lines, $mapped_to_lines);
1109: class DiffFormatter;
1133: function format ($diff);
1193: function _block ($xbeg, $xlen, $ybeg, $ylen, &$edits);
1213: function _start_diff ();
1217: function _end_diff ();
1223: function _block_header ($xbeg, $xlen, $ybeg, $ylen);
1232: function _start_block ($header);
1236: function _end_block ();
1239: function _lines ($lines, $prefix = ' ');
1244: function _context ($lines);
1248: function _added ($lines);
1251: function _deleted ($lines);
1255: function _changed ($orig, $closing);
1276: class _HWLDF_WordAccumulator;
1277: function _HWLDF_WordAccumulator ();
1284: function _flushGroup ($new_tag);
1296: function _flushLine ($new_tag);
1306: function addWords ($words, $tag = '');
1323: function getLines ();
1335: class WordLevelDiff extends MappedDiff;
1337: function WordLevelDiff ($orig_lines, $closing_lines);
1350: function _split ($lines);
1363: function orig ();
1379: function closing ();
1403: class TableDiffFormatter extends DiffFormatter;
1405: function TableDiffFormatter ();
1223: function _block_header ( $xbeg, $xlen, $ybeg, $ylen );
1232: function _start_block ( $header );
1236: function _end_block ();
1239: function _lines ( $lines, $prefix=' ', $color='white' );
1431: function addedLine ( $line );
1436: function deletedLine ( $line );
1441: function contextLine ( $line );
1445: function emptyLine ();
1248: function _added ( $lines );
1251: function _deleted ($lines);
1244: function _context ( $lines );
1255: function _changed ( $orig, $closing );
EditPage.php - 24 functions/classes, 1297 lines, 41192 bytes
15: class EditPage;
31: function EditPage ( $article );
42: function extractMetaDataFromArticle ();
31: function edit ();
198: function previewOnOpen ();
208: function importFormData ( &$request );
272: function tokenOk ( &$request );
283: function submit ();
297: function editForm ( $formtype, $firsttime = false );
772: function getPreviewText ( $isConflict, $isCssJsSubpage );
826: function blockedIPpage ();
852: function userNotLoggedInPage ();
866: function spamPage ( $match = false );
884: function proxyCheck ();
928: function mergeChangesInto ( &$editText );
969: function checkUnicodeCompliantBrowser ();
990: function sectionAnchor ( $text );
1011: function getEditToolbar ();
1145: function livePreview ();
1164: function getDiff ();
1187: function safeUnicodeInput ( $request, $field );
1202: function safeUnicodeOutput ( $text );
1223: function makesafe ( $invalue );
1265: function unmakesafe ( $invalue );
Exif.php - 25 functions/classes, 984 lines, 28694 bytes
47: class Exif;
89: function Exif ( $file );
289: function makeFlatExifTags ();
299: function extractTags ( &$tagset );
312: function makeFilteredData ();
330: function makeFormattedData ( $data = null );
342: function getData ();
349: function getFilteredData ();
356: function getFormattedData ();
373: function version ();
385: function isByte ( $in );
395: function isASCII ( $in );
409: function isShort ( $in );
419: function isLong ( $in );
429: function isRational ( $in );
438: function isUndefined ( $in );
448: function isSlong ( $in );
458: function isSrational ( $in );
477: function validate ( $tag, $val );
523: function debug ( $in, $fname, $action = null );
545: class FormatExif;
560: function FormatExif ( $exif );
356: function getFormattedData ();
962: function msg ( $tag, $val, $arg = null );
977: function formatNum ( $num );
ExternalEdit.php - 3 functions/classes, 78 lines, 2066 bytes
22: class ExternalEdit;
24: function ExternalEdit ( $article, $mode );
32: function edit ();
ExternalStore.php - 2 functions/classes, 44 lines, 1042 bytes
13: class ExternalStore;
15: function fetchFromURL ($url);
ExternalStoreDB.php - 6 functions/classes, 83 lines, 1906 bytes
13: class ExternalStoreDB;
21: function &getLoadBalancer ( $cluster );
29: function &getSlave ( $cluster );
34: function &getMaster ( $cluster );
39: function fetchFromURL ($url);
71: function store ( $cluster, $data );
ExternalStoreHttp.php - 2 functions/classes, 23 lines, 448 bytes
9: class ExternalStoreHttp;
11: function fetchFromURL ($url);
Feed.php - 27 functions/classes, 285 lines, 7546 bytes
32: class FeedItem;
47: function FeedItem ( $Title, $Description, $Url, $Date = '', $Author = '', $Comments = '' );
59: function xmlEncode ( $string );
65: function getTitle ();
66: function getUrl ();
67: function getDescription ();
68: function getLanguage ();
72: function getDate ();
73: function getAuthor ();
74: function getComments ();
82: class ChannelFeed extends FeedItem;
91: function outHeader ();
99: function outItem ( $item );
106: function outFooter ();
121: function httpHeaders ();
138: function contentType ();
150: function outXmlHeader ();
165: class RSSFeed extends ChannelFeed;
172: function formatTime ( $ts );
91: function outHeader ();
99: function outItem ( $item );
106: function outFooter ();
226: class AtomFeed extends ChannelFeed;
172: function formatTime ( $ts );
91: function outHeader ();
99: function outItem ( $item );
106: function outFooter ();
FulltextStoplist.php - 2 functions/classes, 40 lines, 4547 bytes
24: class FulltextStoplist;
29: function inList ( $word );
GlobalFunctions.php - 66 functions/classes, 1385 lines, 35228 bytes
43: function iconv ( $from, $to, $string );
53: function file_get_contents ( $filename );
60: function is_a ( $object, $class_name );
69: function mb_substr ( $str, $start );
87: function floatval ( $var );
104: function wfSeedRandom ();
121: function wfRandom ();
137: function wfUrlencode ( $s );
158: function wfDebug ( $text, $logonly = false );
183: function wfDebugLog ( $logGroup, $text );
197: function wfLogDBError ( $text );
208: function logProfilingData ();
244: function wfReadOnly ();
270: function wfMsg ( $key );
279: function wfMsgForContent ( $key );
293: function wfMsgNoDB ( $key );
302: function wfMsgNoDBForContent ( $key );
317: function wfMsgReal ( $key, $args, $useDB, $forContent=false );
335: function wfMsgGetKey ( $key, $useDB, $forContent = false );
374: function wfMsgReplaceArgs ( $message, $args );
399: function wfMsgHtml ( $key );
409: function wfAbruptExit ( $error = false );
436: function wfErrorExit ();
447: function wfDebugDieBacktrace ( $msg = '' );
462: function wfBacktrace ();
516: function wfShowingResults ( $offset, $limit );
524: function wfShowingResultsNum ( $offset, $limit, $num );
532: function wfViewPrevNext ( $offset, $limit, $link, $query = '', $atend = false );
577: function wfNumLink ( $offset, $limit, &$title, $query = '' );
594: function wfClientAcceptsGzip ();
613: function wfCheckLimits ( $deflimit = 50, $optionname = 'rclimit' );
628: function wfEscapeWikiText ( $text );
639: function wfQuotedPrintable ( $string, $charset = '' );
665: function wfEscapeJsString ( $string );
685: function wfTime ();
693: function wfHtmlEscapeFirst ( $text );
703: function wfSetVar ( &$dest, $source );
714: function wfSetBit ( &$dest, $bit, $state = true );
731: function wfArrayToCGI ( $array1, $array2 = NULL );
753: function wfPurgeSquidServers ($urlArr);
762: function wfEscapeShellArg ( );
786: function wfMerge ( $old, $mine, $yours, &$result );
845: function wfVarDump ( $var );
858: function wfHttpError ( $code, $label, $desc );
879: function wfAcceptToPrefs ( $accept, $def = '*function mimeTypeMatch( $type, $avail );
942: function wfNegotiateType ( $cprefs, $sprefs );
985: function wfArrayLookup ( $a, $b );
993: function wfTimestampNow ();
1001: function wfSuppressWarnings ( $end = false );
1023: function wfRestoreWarnings ();
993: function wfTimestamp ($outputtype=TS_UNIX,$ts=0);
1115: function wfTimestampOrNull ( $outputtype = TS_UNIX, $ts = null );
1128: function wfIsWindows ();
1139: function swap ( &$x, &$y );
1145: function wfGetSiteNotice ();
1179: function wfElement ( $element, $attribs = null, $contents = '');
1210: function wfElementClean ( $element, $attribs = array(), $contents = '');
1227: function &HTMLnamespaceselector ($selected = '', $allnamespaces = null);
1264: function &wfGetMimeMagic ();
1292: function wfTempDir ();
1306: function wfMkdirParents ( $fullDir, $mode );
1324: function wfIncrStats ( $key );
1338: function wfPercent ( $nr, $acc = 2, $round = true );
1350: function wfEncryptPassword ( $userid, $password );
1363: function wfAppendToArrayIfNotDefault ( $key, $value, $default, &$changed );
1381: function wfNoMsg ( $msg, $wfMsgOut );
Group.php - 28 functions/classes, 390 lines, 8152 bytes
9: class Group;
26: function Group ();
31: function clear ();
40: function loadFromDatabase ();
81: function loadFromRow ( &$row );
90: function addToDatabase ();
108: function save ();
134: function delete ();
158: function getCacheKey ( $id );
168: function newFromId ($id);
204: function newFromName ($name);
233: function &getAllGroups ();
264: function &getStaticGroups ();
283: function nameFromId ($id);
296: function idFromName ($name);
321: function getName ();
326: function getExpandedName ();
331: function getNameForContent ();
336: function setName ($name);
341: function getId ();
342: function setId ($id);
347: function getDescription ();
351: function getExpandedDescription ();
355: function setDescription ($desc);
360: function getRights ();
361: function setRights ($rights);
369: function getMessage ( $text );
380: function getMessageForContent ( $text );
HistoryBlob.php - 32 functions/classes, 307 lines, 7205 bytes
10: class HistoryBlob;
17: function setMeta ( $meta );
24: function getMeta ();
31: function addItem ();
36: function getItem ( $hash );
42: function setText ();
47: function getText ();
54: class ConcatenatedGzipHistoryBlob extends HistoryBlob;
59: function ConcatenatedGzipHistoryBlob ();
17: function setMeta ( $metaData );
24: function getMeta ();
31: function addItem ( $text );
36: function getItem ( $hash );
99: function removeItem ( $hash );
105: function compress ();
113: function uncompress ();
47: function getText ();
42: function setText ( $text );
134: function __sleep ();
140: function __wakeup ();
147: function isHappy ( $maxFactor, $factorThreshold );
183: class HistoryBlobStub;
187: function HistoryBlobStub ( $hash = '', $oldid = 0 );
195: function setLocation ( $id );
202: function setReferrer ( $id );
209: function getReferrer ();
47: function getText ();
262: function getHash ();
278: class HistoryBlobCurStub;
282: function HistoryBlobCurStub ( $curid = 0 );
195: function setLocation ( $id );
47: function getText ();
Hooks.php - 1 functions/classes, 126 lines, 3446 bytes
32: function wfRunHooks ($event, $args = null);
HTMLForm.php - 10 functions/classes, 175 lines, 5617 bytes
13: class HTMLForm;
17: function HTMLForm ( &$request );
27: function fieldset ( $name, $content );
37: function checkbox ( $varname, $checked=false );
53: function textbox ( $varname, $value='', $size=20 );
67: function radiobox ( $varname, $fields );
82: function textareabox ( $varname, $value='', $size=20 );
96: function arraybox ( $varname , $size=20 );
121: function HTMLSelectGroups ($selectname, $selectmsg, $selected=array(), $multiple=false, $size=6, $reverse=false);
158: function HTMLSelectRights ($selected='');
HttpFunctions.php - 2 functions/classes, 69 lines, 1766 bytes
10: function wfGetHTTP ( $url, $timeout = 'default' );
44: function wfIsLocalURL ( $url );
Image.php - 64 functions/classes, 1782 lines, 52186 bytes
29: class Image;
61: function newFromName ( $name );
69: function newFromTitle ( $title );
73: function Image ( $title );
94: function getCacheKeys ( $shared = false );
109: function loadFromCache ();
177: function saveToCache ();
210: function loadFromFile ();
303: function loadFromDB ();
369: function loadFromRow ( &$row );
109: function load ();
413: function upgradeRow ();
465: function getName ();
473: function getTitle ();
481: function getURL ();
493: function getViewURL ();
512: function getImagePath ();
523: function getWidth ();
534: function getHeight ();
543: function getSize ();
551: function getMimeType ();
560: function getMediaType ();
575: function canRender ();
634: function mustRender ();
652: function allowInlineDisplay ();
667: function isSafeFile ();
696: function isTrustedFile ();
706: function getEscapeLocalURL ();
715: function getEscapeFullURL ();
729: function imageUrl ( $name, $fromSharedDirectory = false );
747: function exists ();
756: function thumbUrl ( $width, $subdir='thumb');
807: function thumbName ( $width );
840: function createThumb ( $width, $height=-1 );
856: function getThumbnail ( $width, $height=-1 );
888: function iconThumb ();
914: function renderThumb ( $width, $useScript = true );
1002: function reallyRenderThumb ( $thumbPath, $width, $height );
1096: function imageJpegWrapper ( $dst_image, $thumbPath );
1104: function getThumbnails ( $shared = false );
1131: function purgeCache ( $archiveFiles = array(), $shared = false );
1160: function checkDBSchema (&$db);
1185: function nextHistoryLine ();
1216: function resetHistory ();
1234: function getFullPath ( $fromSharedRepository = false );
1255: function isHashed ( $shared );
1263: function recordUpload ( $oldver, $desc, $copyStatus = '', $source = '', $watch = false );
1402: function getLinksTo ( $options = '' );
1438: function retrieveExifData ();
1445: function getExifData ();
1465: function updateExifData ( $version );
1505: function wfImageDir ( $fname );
1533: function wfImageThumbDir ( $fname, $shared = false );
1559: function wfDeprecatedThumbDir ( $thumbName , $subdir='thumb', $shared=false);
1575: function wfImageArchiveDir ( $fname , $subdir='archive', $shared=false );
1609: function wfGetHashPath ( $dbkey, $fromSharedDirectory = false );
1628: function wfImageArchiveUrl ( $name, $subdir='archive' );
1648: function wfScaleSVGUnit ( $length );
1678: function wfGetSVGsize ( $filename );
1710: function wfIsBadImage ( $name );
1734: class ThumbnailImage;
1740: function ThumbnailImage ( $url, $width, $height, $path = false );
481: function getUrl ();
1766: function toHtml ( $attribs = array() );
ImageGallery.php - 8 functions/classes, 160 lines, 3960 bytes
18: class ImageGallery;
25: function ImageGallery ( );
37: function add ( $image, $html='' );
47: function insert ( $image, $html='' );
55: function isEmpty ();
65: function setShowBytes ( $f );
75: function setShowFilename ( $f );
89: function toHTML ();
ImagePage.php - 23 functions/classes, 693 lines, 20192 bytes
17: class ImagePage extends Article;
22: function render ();
28: function view ();
84: function showTOC ( $metadata );
103: function makeMetadataTable ( $exif );
121: function getContent ( $noredir );
129: function openShowImage ();
247: function printSharedImageText ();
268: function getUploadUrl ();
275: function uploadLinksBox ();
292: function closeShowImage ();
302: function imageHistory ();
334: function imageLinks ();
364: function delete ();
416: function doDelete ();
511: function doDeleteOldImage ( $oldimage );
536: function revert ();
605: function blockedIPpage ();
617: class ImageHistoryList;
618: function ImageHistoryList ( &$skin );
622: function beginImageHistoryList ();
628: function endImageHistoryList ();
633: function imageHistoryLine ( $iscur, $timestamp, $img, $user, $usertext, $size, $description );
killthread.php - 47 lines, 904 bytes
LinkCache.php - 41 functions/classes, 457 lines, 11485 bytes
20: class LinkCache;
31: function getKey ( $title );
36: function LinkCache ();
53: function forUpdate ( $update = NULL );
57: function getGoodLinkID ( $title );
65: function isBadLink ( $title );
69: function addGoodLinkObj ( $id, $title );
77: function addBadLinkObj ( $title );
85: function addImageLink ( $title );
89: function addImageLinkObj ( $nt );
93: function addCategoryLink ( $title, $sortkey );
97: function addCategoryLinkObj ( &$nt, $sortkey );
101: function clearBadLink ( $title );
106: function clearLink ( $title );
112: function suspend ();
113: function resume ();
114: function getPageLinks ();
115: function getGoodLinks ();
116: function getBadLinks ();
117: function getImageLinks ();
118: function getCategoryLinks ();
120: function addLink ( $title );
129: function addLinkObj ( &$nt );
182: function preFill ( &$fromtitle );
231: function getGoodAdditions ();
235: function getBadAdditions ();
241: function getImageAdditions ();
245: function getGoodDeletions ();
249: function getBadDeletions ();
253: function getImageDeletions ();
257: function getPageAdditions ();
266: function getPageDeletions ();
285: function incrementalSetup ( $which, &$del, &$add );
101: function clear ();
333: function swapRegisters ();
348: class LinkBatch;
354: function LinkBatch ( $arr = array() );
360: function addObj ( $title );
69: function add ( $ns, $dbkey );
375: function execute ( &$cache );
425: function constructSet ( $prefix, $db );
Linker.php - 36 functions/classes, 844 lines, 24453 bytes
17: class Linker;
19: function Linker ();
24: function postParseLinkColour ( $s = NULL );
29: function getExternalLinkAttributes ( $link, $text, $class='' );
45: function getInternalLinkAttributes ( $link, $text, $broken = false );
65: function getInternalLinkAttributesObj ( &$nt, $text, $broken = false );
82: function makeLink ( $title, $text = '', $query = '', $trail = '' );
97: function makeKnownLink ( $title, $text = '', $query = '', $trail = '', $prefix = '',$aprops = '');
108: function makeBrokenLink ( $title, $text = '', $query = '', $trail = '' );
119: function makeStubLink ( $title, $text = '', $query = '', $trail = '' );
132: function makeLinkObj ( $nt, $text= '', $query = '', $trail = '', $prefix = '' );
224: function makeKnownLinkObj ( $nt, $text = '', $query = '', $trail = '', $prefix = '' , $aprops = '' );
264: function makeBrokenLinkObj ( $nt, $text = '', $query = '', $trail = '', $prefix = '' );
296: function makeStubLinkObj ( $nt, $text = '', $query = '', $trail = '', $prefix = '' );
323: function makeSizeLinkObj ( $size, $nt, $text = '', $query = '', $trail = '', $prefix = '' );
334: function makeSelfLinkObj ( $nt, $text = '', $query = '', $trail = '', $prefix = '' );
344: function fnamePart ( $url );
355: function makeImage ( $url, $alt = '' );
360: function makeExternalImage ( $url, $alt = '' );
369: function makeImageLinkObj ( $nt, $label, $alt, $align = '', $width = false, $height = false, $framed = false, $thumb = false, $manual_thumb = '' );
464: function makeThumbLinkObj ( $img, $label = '', $alt, $align = 'right', $boxwidth = 180, $boxheight=false, $framed=false , $manual_thumb = "" );
547: function makeBrokenImageLinkObj ( $nt, $text = '', $query = '', $trail = '', $prefix = '' );
576: function makeMediaLink ( $name, $url, $alt = '' );
593: function makeMediaLinkObj ( $title, $text = '', $nourl=false );
621: function specialLink ( $name, $key = '' );
631: function makeExternalLink ( $url, $text, $escape = true, $linktype = '' );
658: function formatComment ($comment, $title = NULL);
733: function commentBlock ( $comment, $title = NULL );
743: function tocIndent ();
748: function tocUnindent ($level);
755: function tocLine ( $anchor, $tocline, $tocnumber, $level );
763: function tocLineEnd ();
768: function tocList ($toc);
784: function editSectionLinkForOther ( $title, $section );
784: function editSectionLink ( $nt, $section );
826: function splitTrail ( $trail );
LinksUpdate.php - 4 functions/classes, 255 lines, 7260 bytes
10: class LinksUpdate;
24: function LinksUpdate ( $id, $title );
34: function doUpdate ();
190: function doDumbUpdate ();
LoadBalancer.php - 28 functions/classes, 609 lines, 15665 bytes
27: class LoadBalancer;
34: function LoadBalancer ();
45: function newFromParams ( $servers, $failFunction = false, $waitTimeout = 10 );
52: function initialise ( $servers, $failFunction = false, $waitTimeout = 10 );
84: function pickRandom ( $weights );
115: function getRandomNonLagged ( $loads );
155: function getReaderIndex ();
243: function getGroupIndex ( $group );
258: function waitFor ( $file, $pos );
284: function doWait ( $index );
326: function &getConnection ( $i, $fail = true, $groups = array() );
372: function openConnection ( $i, $fail = false );
398: function isOpen ( $index );
415: function reallyOpenConnection ( &$server );
431: function reportConnectionError ( &$conn );
454: function getWriterIndex ();
459: function force ( $i );
464: function haveIndex ( $i );
472: function getServerCount ();
479: function saveMasterPos ();
503: function loadMasterPos ();
512: function closeAll ();
521: function commitAll ();
530: function waitTimeout ( $value = NULL );
534: function getLaggedSlaveMode ();
538: function pingAll ();
554: function getMaxLag ();
573: function getLagTimes ();
LogPage.php - 12 functions/classes, 253 lines, 6825 bytes
33: class LogPage;
43: function LogPage ( $type );
47: function saveContent ();
89: function validTypes ();
98: function validActions ( $type );
114: function isLogType ( $type );
121: function logName ( $type );
139: function logHeader ( $type );
157: function actionText ( $type, $action, $title = NULL, $skin = NULL, $params = array(), $filterWikilinks=false );
216: function addEntry ( $action, &$target, $comment, $params = array() );
235: function makeParamBlob ( $params );
243: function extractParams ( $blob );
MagicWord.php - 22 functions/classes, 343 lines, 8711 bytes
95: class MagicWord;
104: function MagicWord ($id = 0, $syn = '', $cs = false);
119: function &get ( $id );
134: function load ( $id );
144: function initRegex ();
162: function getRegex ();
172: function getRegexStart ();
182: function getBaseRegex ();
193: function match ( $text );
201: function matchStart ( $text );
211: function matchVariableStartToEnd ( $text );
230: function matchAndRemove ( &$text );
237: function matchStartAndRemove ( &$text );
248: function replace ( $replacement, $subject );
259: function substituteCallback ( $text, $callback );
269: function getVariableRegex ();
279: function getVariableStartToEndRegex ();
289: function getSynonym ( $i );
297: function getWasModified ();
308: function replaceMultiple ( $magicarr, $subject, &$result );
325: function addToArray ( &$array, $value );
336: function pregRemoveAndRecord ( $match );
Math.php - 9 functions/classes, 225 lines, 6808 bytes
15: class MathRenderer;
24: function MathRenderer ( $tex );
28: function setOutputMode ( $mode );
32: function render ();
154: function _error ( $msg, $append = '' );
162: function _recall ();
195: function _doRender ();
208: function _linkToMathImage ();
217: function renderMath ( $tex );
memcached-client.php - 28 functions/classes, 994 lines, 24744 bytes
88: class memcached;
237: function memcached ($args);
268: function add ($key, $val, $exp = 0);
285: function decr ($key, $amt=1);
302: function delete ($key, $time = 0);
338: function disconnect_all ();
356: function enable_compress ($enable);
369: function forget_dead_hosts ();
385: function get ($key);
425: function get_multi ($keys);
490: function incr ($key, $amt=1);
508: function replace ($key, $value, $exp=0);
532: function run_command ($sock, $cmd);
566: function set ($key, $value, $exp=0);
581: function set_compress_threshold ($thresh);
598: function set_debug ($dbg);
615: function set_servers ($list);
635: function set_timeout ($seconds, $microseconds);
653: function _close_sock ($sock);
673: function _connect_sock (&$sock, $host, $timeout = 0.25);
706: function _dead_sock ($sock);
726: function get_sock ($key);
777: function _hashfunc ($key);
798: function _incrdecr ($cmd, $key, $amt=1);
830: function _load_items ($sock, &$ret);
896: function _set ($cmd, $key, $val, $exp);
961: function sock_to_host ($host);
983: function _debugprint ($str);
MemcachedSessions.php - 7 functions/classes, 74 lines, 1443 bytes
14: function memsess_key ( $id );
22: function memsess_open ( $save_path, $session_name );
30: function memsess_close ();
38: function memsess_read ( $id );
48: function memsess_write ( $id, $data );
57: function memsess_destroy ( $id );
66: function memsess_gc ( $maxlifetime );
MessageCache.php - 19 functions/classes, 371 lines, 9715 bytes
23: class MessageCache;
31: function initialise ( &$memCached, $useDB, $expiry, $memcPrefix);
65: function load ();
138: function loadFromDB ();
174: function getKeys ();
189: function isCacheable ( $key );
193: function replace ( $title, $text );
207: function lock ();
220: function unlock ();
174: function get ( $key, $useDB, $forcontent=true, $isfullkey = false );
293: function getFromCache ( $title );
326: function transform ( $message );
335: function disable ();
336: function enable ();
337: function disableTransform ();
338: function enableTransform ();
346: function addMessage ( $key, $value );
355: function addMessages ( $messages );
364: function clear ();
Metadata.php - 22 functions/classes, 362 lines, 8214 bytes
28: function wfDublinCoreRdf ($article);
39: function wfCreativeCommonsRdf ($article);
72: function rdfSetup ();
91: function dcPrologue ($url);
108: function dcEpilogue ();
118: function dcBasics ($article);
150: function ccPrologue ();
164: function ccSubPrologue ($type, $url);
172: function ccSubEpilogue ($type);
179: function ccLicense ($terms);
206: function ccTerm ($term, $name);
213: function ccEpilogue ();
220: function dcElement ($name, $value);
228: function dcDate ($timestamp);
237: function dcReallyFullUrl ($title);
244: function dcPageOrString ($name, $page, $str);
244: function dcPage ($name, $title);
264: function dcUrl ($name, $url);
272: function dcPerson ($name, $id, $user_name='', $user_real_name='');
293: function dcRights ($article);
311: function ccGetTerms ($url);
325: function getKnownLicenses ();
mime.info - 2220 bytes
mime.types - 2907 bytes
MimeMagic.php - 12 functions/classes, 679 lines, 20201 bytes
77: class MimeMagic;
102: function MimeMagic ();
230: function getExtensionsForType ($mime);
246: function getTypesForExtension ($ext);
256: function guessTypesForExtension ($ext);
271: function isMatchingExtension ($extension,$mime);
291: function isPHPImageType ( $mime );
317: function isRecognizableExtension ( $extension );
337: function guessMimeType ( $file, $useExt=true );
454: function detectMimeType ( $file, $useExt=true );
586: function getMediaType ($path=NULL,$mime=NULL);
652: function findMediaType ($extMime);
Namespace.php - 7 functions/classes, 130 lines, 3212 bytes
51: class Namespace;
57: function