22use InvalidArgumentException;
40 const TRIGGER_IDLE = 1;
42 const TRIGGER_COMMIT = 2;
44 const TRIGGER_ROLLBACK = 3;
46 const TRIGGER_CANCEL = 4;
49 const TRANSACTION_EXPLICIT =
'';
51 const TRANSACTION_INTERNAL =
'implicit';
54 const ATOMIC_NOT_CANCELABLE =
'';
56 const ATOMIC_CANCELABLE =
'cancelable';
59 const FLUSHING_ONE =
'';
61 const FLUSHING_ALL_PEERS =
'flush';
63 const FLUSHING_INTERNAL =
'flush-internal';
66 const REMEMBER_NOTHING =
'';
68 const REMEMBER_PRIOR =
'remember';
70 const RESTORE_PRIOR =
'prior';
72 const RESTORE_INITIAL =
'initial';
75 const ESTIMATE_TOTAL =
'total';
77 const ESTIMATE_DB_APPLY =
'apply';
112 const QUERY_SILENCE_ERRORS = 1;
117 const QUERY_PSEUDO_PERMANENT = 2;
119 const QUERY_REPLICA_ROLE = 4;
122 const UNION_ALL =
true;
124 const UNION_DISTINCT =
false;
342 public function setFlag( $flag, $remember = self::REMEMBER_NOTHING );
356 public function clearFlag( $flag, $remember = self::REMEMBER_NOTHING );
584 $table, $var, $cond =
'',
$fname = __METHOD__,
$options = [], $join_conds = []
608 $table, $var, $cond =
'',
$fname = __METHOD__,
$options = [], $join_conds = []
840 $table, $var =
'*', $conds =
'',
$fname = __METHOD__,
$options = [], $join_conds = []
877 $table, $conds =
'',
$fname = __METHOD__,
$options = [], $join_conds = []
997 public function makeList( $a, $mode = self::LIST_COMMA );
1033 public function bitAnd( $fieldLeft, $fieldRight );
1040 public function bitOr( $fieldLeft, $fieldRight );
1067 $delim, $table, $field, $conds =
'', $join_conds = []
1327 public function deleteJoin( $delTable, $joinTable, $delVar, $joinVar, $conds,
1382 $insertOptions = [], $selectOptions = [], $selectJoinConds = []
1429 $table,
$vars,
array $permute_conds, $extra_conds =
'',
$fname = __METHOD__,
1871 $fname, callable $callback, $cancelable = self::ATOMIC_NOT_CANCELABLE
1894 public function begin(
$fname = __METHOD__, $mode = self::TRANSACTION_EXPLICIT );
1988 public function ping( &$rtt =
null );
2088 public function lock( $lockName, $method, $timeout = 5 );
2104 public function unlock( $lockName, $method );
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
if(defined( 'MW_SETUP_CALLBACK')) $fname
Customization point after all loading (constants, functions, classes, DefaultSettings,...
static configuration should be added through ResourceLoaderGetConfigVars instead & $vars
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction $rows
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped & $options
this hook is for auditing only RecentChangesLinked and Watchlist Do not use this to implement individual filters if they are compatible with the ChangesListFilter and ChangesListFilterGroup structure use sub classes of those in conjunction with the ChangesListSpecialPageStructuredFilters hook This hook can be used to implement filters that do not implement that or custom behavior that is not an individual filter e g Watchlist & $tables
$data
Utility to generate mapping file used in mw.Title (phpCharToUpper.json)
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))
if(is_array($mode)) switch( $mode) $input