* Configuration of the profiler output can be done in LocalSettings.php
*/
-?>
+
// Log what the user did, for book-keeping purposes.
wfProfileOut('api.php');
wfLogProfilingData();
-?>
+
return '<u#>'.wfMsgExt( 'removedwatchtext', array( 'parse' ), $title->getPrefixedText() );
}
}
-?>
+
} # END OF CLASS "Categoryfinder"
-?>
+
return $skin->makeKnownLink($article->mTitle->getPrefixedText(), wfMsg('others'), 'action=credits');
}
-?>
+
} // end DatabaseOracle class
-?>
+
} // end DatabasePostgres class
-?>
+
$wgSlaveLagWarning = 10;
$wgSlaveLagCritical = 30;
-?>
+
}
-?>
\ No newline at end of file
}
-?>
\ No newline at end of file
define( 'MW_EXIF_SLONG', Exif::SLONG );
define( 'MW_EXIF_SRATIONAL', Exif::SRATIONAL );
-?>
+
return "DB://$cluster/$id";
}
}
-?>
+
* whatever, for initial ext storage
*/
}
-?>
+
function trackbackRDF() { $this->error(); }
}
-?>
+
*/
class FSException extends MWException { }
-?>
+
}
}
-?>
\ No newline at end of file
$this->text = strrev( $text );
}
}
-?>
+
$this->mBadLinks = array();
}
}
-?>
+
return $math->render();
}
}
-?>
+
session_set_save_handler( 'memsess_open', 'memsess_close', 'memsess_read', 'memsess_write', 'memsess_destroy', 'memsess_gc' );
-?>
+
# Still others will respond to neither, they are EVIL. We sometimes need to know!
}
}
-?>
+
return $knownLicenses;
}
-?>
+
*/
abstract function getFieldNames();
}
-?>
+
}
-?>
\ No newline at end of file
socket_sendto($sock,$packet,$plength,0x100,$wgUDPProfilerHost,$wgUDPProfilerPort);
}
}
-?>
+
function wfProfileClose() {}
$wgProfiling = false;
-?>
+
}
}
-?>
\ No newline at end of file
define( 'MW_REV_DELETED_RESTRICTED', Revision::DELETED_RESTRICTED );
-?>
+
function searchtitle() {}
function searchtext() {}
}
-?>
+
return " MATCH($field) AGAINST('$searchon' IN BOOLEAN MODE) ";
}
}
-?>
+
# Inherits everything
}
-?>
+
wfProfileOut( $fname.'-extensions' );
wfProfileOut( $fname );
-?>
+
return ($msg != '-') && ($msg != ''); # ????
}
}
-?>
+
$app->doQuery( $offset, $limit );
}
-?>
+
$wgOut->addWikiText( $success );
}
-?>
+
return $sbr->doQuery( $offset, $limit );
}
-?>
+
return $depp->doQuery( $offset, $limit );
}
-?>
+
return $sd->doQuery( $offset, $limit );
}
-?>
\ No newline at end of file
return $sdr->doQuery( $offset, $limit );
}
-?>
+
$wgOut->returnToMain( false, $user->getUserPage() );
}
}
-?>
+
$wgOut->addHtml( $form );
}
-?>
+
$frp->doQuery( $offset, $limit );
}
-?>
+
$lrp->doQuery( $offset, $limit );
}
-?>
+
$wgOut->addHTML( $s );
}
-?>
+
return $lpp->doQuery( $offset, $limit );
}
-?>
+
$lpp->doQuery( $offset, $limit );
}
-?>
+
return in_array( $type, $types );
}
-?>
+
$wpp->doQuery( $offset, $limit );
}
-?>
+
$wpp->doQuery( $offset, $limit );
}
-?>
+
$wpp->doQuery( $offset, $limit );
}
-?>
+
$wpp->doQuery( $offset, $limit );
}
-?>
+
$mlt->doQuery( $offset, $limit );
}
-?>
\ No newline at end of file
$wpp->doQuery( $offset, $limit );
}
-?>
+
$npp->doQuery( $offset, $limit, $shownavigation );
}
-?>
+
return $ppp->doQuery( $offset, $limit );
}
-?>
+
$ppForm->showList();
}
-?>
+
$wgOut->redirect( $title->getFullUrl( 'redirect=no' ) );
}
-?>
+
$wgOut->addHTML( $s );
}
-?>
+
return $spp->doQuery( $offset, $limit );
}
-?>
+
$wgOut->addHTML( "</ul>\n" );
}
-?>
+
return $lpp->doQuery( $offset, $limit );
}
-?>
+
return $uip->doQuery( $offset, $limit );
}
-?>
+
return $lpp->doQuery( $offset, $limit );
}
-?>
+
$utp->doQuery( $offset, $limit );
}
-?>
+
$uc = new UnusedCategoriesPage();
return $uc->doQuery( $offset, $limit );
}
-?>
+
return $uip->doQuery( $offset, $limit );
}
-?>
+
$utp->doQuery( $offset, $limit );
}
-?>
+
$wpp->doQuery( $offset, $limit );
}
-?>
+
return $pageText;
}
}
-?>
+
return $skin->makeKnownLinkObj( $self, htmlspecialchars( $text ), implode( '&', $attr ) );
}
}
-?>
+
return $groups;
}
} // end class UserrightsForm
-?>
+
$wpp->doQuery( $offset, $limit );
}
-?>
+
$wpp->doQuery( $offset, $limit, !$inc );
}
-?>
+
return( false );
}
}
-?>
+
$wip->doQuery( $offset, $limit );
}
-?>
+
}
} # end of class EmailNotification
-?>
+
"\xf0\x90\x90\xa5" => "\xf0\x90\x91\x8d"
);
-?>
+
if ( !defined( 'MW_NO_SETUP' ) ) {
require_once( './includes/Setup.php' );
}
-?>
+
}; /* End of class MediaWiki */
-?>
+
fclose($this->mFP);
}
}
-?>
\ No newline at end of file
"房价" => "屋价",
"泡麵" => "快速面",
);
-?>
\ No newline at end of file
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
header("Content-Type: $mime; charset=utf-8");
if ($isHtml) {
-?>
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
if (!$isError) {
-?>
+
<br/>
<small>
You are looking at the HTML representation of the <?=$this->mFormat?> format.<br/>
}
-?>
+
<pre>
<?php
*/
public function closePrinter() {
if ($this->getIsHtml()) {
-?>
+
</pre>
</body>
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return "{$this->getCodeString()}: {$this->getMessage()}";
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
*/
public abstract function executeGenerator($resultPageSet);
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return __CLASS__ . ': $Id$';
}
}
-?>
+
return new CBTValue( htmlspecialchars( $val->getText() ), $val->getDeps() );
}
}
-?>
+
return File::getDescriptionText();
}
}
-?>
+
define( 'MW_IMG_DELETED_USER', File::DELETED_USER );
define( 'MW_IMG_DELETED_RESTRICTED', File::DELETED_RESTRICTED );
-?>
+
return array( 'png', 'image/png' );
}
}
-?>
+
// vim: sts=3 sw=3 et
// }}}
-?>
+
exit( -1 );
}
exit( 0 );
-?>
+
return $matches[1];
}
-?>
+
#`echo $output >> /home/tstarling/open/proxy.log`;
-?>
+
$mediaWiki->doUpdates( $wgPostCommitUpdateList );
$mediaWiki->restInPeace( $wgLoadBalancer );
-?>
+
'zh-yue' => '粵語', # Cantonese -- (see bug 8217)
'zu' => 'isiZulu' # Zulu
);
-?>
+
}
-?>
\ No newline at end of file
return $count <= '1' ? $w1 : $w2;
}
}
-?>
+
require_once( dirname(__FILE__).'/../LanguageConverter.php' );
require_once( dirname(__FILE__).'/LanguageKk_kz.php' );
-?>
+
require_once( dirname(__FILE__).'/../LanguageConverter.php' );
require_once( dirname(__FILE__).'/LanguageKu_ku.php' );
-?>
+
return empty($wordform3)?$wordform2:$wordform3;
}
}
-?>
+
return $count <= '1' ? $w1 : $w2;
}
}
-?>
+
require_once( dirname(__FILE__).'/LanguageSr_ec.php' );
require_once( dirname(__FILE__).'/../LanguageConverter.php' );
-?>
+
$wgHooks['ArticleSaveComplete'][] = $this->mConverter;
}
}
-?>
+
// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
require_once( dirname(__FILE__).'/LanguageSr_ec.php' );
-?>
+
require_once( dirname(__FILE__).'/LanguageZh_cn.php' );
require_once( dirname(__FILE__).'/../LanguageConverter.php' );
-?>
+
NS_CATEGORY_TALK => 'Descusión_categoría',
);
-?>
+
'quickbar' => 2,
);
-?>
+
'8' => '৮', # ৮
'9' => '৯', # ৯
);
-?>
+
NS_CATEGORY_TALK => 'Categoría_discusión',
);
-?>
+
*/
$fallback = 'ru';
-?>
\ No newline at end of file
*/
$fallback = 'es';
-?>
+
*/
$fallback = 'lt';
-?>
+
'9' => '९', # ९
);
-?>
+
*/
$fallback = 'fr';
-?>
+
'8' => '༨', # ༨
'9' => '༩', # ༩
);
-?>
+
*/
$fallback = 'ru';
-?>
+
'9' => '༩', # ༩
);
-?>
+
'lag-warn-high' => 'En raison d’une forte charge des bases de données, les modifications datant de moins {{PLURAL:$1|d’une seconde|de $1 secondes}} peuvent ne pas apparaître dans cette liste.',
);
-?>
+
*/
$fallback = 'es';
-?>
+
'8' => '૮', # ૮
'9' => '૯', # ૯
);
-?>
+
*/
$fallback = 'zh-cn';
-?>
+
$linkTrail = '/^([a-zʻ`]+)(.*)$/sDu';
-?>
+
$linkTrail = '/^([a-zäçéğıïñöşüýа-яёәғіқңөұүһʺʹ“»]+)(.*)$/sDu';
-?>
+
'9' => '៩', # ៩
);
-?>
+
'9' => '९', # ९
);
-?>
+
$fallback = 'ku-latn';
-?>
+
$fallback = 'ku-latn';
-?>
+
*/
$fallback = 'ru';
-?>
+
# Same as the French (bug 8485)
$separatorTransformTable = array( ',' => "\xc2\xa0", '.' => ',' );
-?>
+
'9' => '໙', # ໙
);
-?>
+
NS_HELP_TALK => 'സഹായത്തിന്റെ_സംവാദം',
);
-?>
+
'ymd both' => 'H:i, Y M j',
);
-?>
+
'9' => '९', # ९
);
-?>
+
'9' => '९', # ९
);
-?>
+
*/
$fallback = 'is';
-?>
+
'dec' => 'Ntsx',
);
-?>
+
'9' => '୯', # ୯
);
-?>
+
'9' => '९', # ९
);
-?>
+
'underline' => 0,
);
-?>
+
*/
$fallback = 'es';
-?>
+
'december' => 'मार्गशीर्षपौषे',
);
-?>
+
$fallback = 'sr-ec';
$linkTrail = '/^([abvgdđežzijklljmnnjoprstćufhcčdžšабвгдђежзијклљмнњопрстћуфхцчџш]+)(.*)$/usD';
-?>
+
# Inherit everything for now
$fallback = 'sr-ec';
-?>
+
# Inherit everything for now
$fallback = 'sr-ec';
-?>
+
$linkTrail = '/^([a-zабвгдеёжзийклмнопрстуфхчшъэюяғӣқўҳҷцщыь]+)(.*)$/sDu';
-?>
+
*/
$fallback = 'fr';
-?>
+
'preferences' => 'настройкаос',
);
-?>
+
NS_CATEGORY_TALK => 'Discuusje_categorie',
);
-?>
+
*/
$fallback = 'fr';
-?>
+
*/
$fallback = 'zh-cn';
-?>
+
NS_CATEGORY_TALK => 'Overleg_categorie',
);
-?>
+
$fallback = 'zh-cn';
-?>
+
# Inherit everything for now
$fallback = 'zh-tw';
-?>
+
# Inherit everything for now
$fallback = 'zh-cn';
-?>
+
print "Script ended. You now want to run sync-common-all to publish *dblist files (check them for duplicates first)\n";
}
-?>
+
ADD INDEX wl_page (wl_page)";
#wfQuery( $sql, DB_MASTER );
-?>
+
echo "This was a dry run; rerun with --fix to update page_latest.\n";
}
-?>
+
fclose( $sqlfile );
fclose( $logfile );
-?>
+
print "$trial\n";
}
}
-?>
\ No newline at end of file
$cun = new checkUsernames();
$cun->main();
-?>
+
$caps = new CapsCleanup( isset( $options['dry-run'] ), $ns );
$caps->cleanup();
-?>
+
$caps = new ImageCleanup( !isset( $options['fix'] ) );
$caps->cleanup();
-?>
+
$caps = new TitleCleanup( !isset( $options['fix'] ) );
$caps->cleanup();
-?>
+
$caps = new WatchlistCleanup( !isset( $options['fix'] ) );
$caps->cleanup();
-?>
+
}*/
$wgMemc->delete($key);
}
-?>
+
function print_c($last, $current) {
echo str_repeat( chr(8), strlen( $last ) ) . $current;
}
-?>
+
echo( " help : Show this usage information\n" );
}
-?>
\ No newline at end of file
echo( " help : Show this usage information\n" );
}
-?>
\ No newline at end of file
$dbw->commit();
}
}
-?>
+
$dic = new DeleteImageCache( $until, $sleep, $report );
$dic->main();
-?>
+
echo( " help : Show this usage information\n" );
}
-?>
\ No newline at end of file
echo( " --report : Prints out a count of affected revisions but doesn't delete them\n\n" );
}
-?>
\ No newline at end of file
require_once( 'purgeOldText.inc' );
PurgeRedundantText( true );
-?>
\ No newline at end of file
}
print "Deleted $affected revisions\n";
-?>
+
echo $wgProfiler->getOutput();
}
-?>
+
}
getRebuildInterwikiDump();
-?>
+
if( isset( $lastPage ) )
print "\n";
-?>
+
$dbr->freeResult( $result );
-?>
+
$dumper = new UploadDumper( $options );
$dumper->run();
-?>
\ No newline at end of file
print "failed\n";
exit( 1 );
}
-?>
+
printArray('undocumented', $todo );
printArray('not found', $deprecated );
-?>
+
$dbw->query( $sql, $fname );
echo "Done\n";
-?>
+
$gs = new GenerateSitemap( @$options['fspath'], @$options['compress'] !== 'no' );
$gs->main();
-?>
+
}
}
-?>
\ No newline at end of file
echo "the recentchanges page.\n";
}
-?>
+
return array( $fname, $ext );
}
-?>
+
$importer->importText( $text );
}
-?>
+
echo( "\n" );
}
-?>
\ No newline at end of file
return placeholder();
}
-?>
+
echo( "--noviews : Don't update the page view counter\n\n" );
}
-?>
\ No newline at end of file
if ( $ok ) $ok = $installer->printNotices();
if ( $ok ) $installer->note( "$name extension installed." );
-?>
+
echo "\n----\n".$msg;
echo "$referenceLanguage language is complete at ".number_format((100 - $i/count($wgAllMessagesEn) * 100),2)."%\n";
echo "$i unlocalised messages of the ".count($wgAllMessagesEn)." messages available.\n";
-?>
+
print "MediaWiki $wgVersion language file\n";
print serialize( $messages );
-?>
+
print "$numRemoved will be removed out of $total\n";
-?>
+
applyPot($langcode);
}
}
-?>
+
$memend = memory_get_usage();
echo ' Total Usage: '.($memend - $memstart)."\n";
-?>
+
rebuildLanguage( $wgCode, $wgWriteToFile, $wgListUnknownMessages );
}
-?>
+
include(dirname(__FILE__).'/../commandLine.inc');
-?>
+
# Footer
$wgOut->footer();
-?>
+
unset( $vars['filename'] );
return $vars;
}
-?>
+
}
} while ( !$quit );
-?>
+
print "INSERT INTO ns_name(ns_db, ns_num, ns_name) VALUES('$dbname', $i, '$nsname');\n";
}
-?>
+
echo $pendingDBs[mt_rand(0, count( $pendingDBs ) - 1)];
}
-?>
+
}
-?>
\ No newline at end of file
echo( " <title> : Page title; spaces escaped with underscores\n\n" );
}
-?>
\ No newline at end of file
}
}
-?>
\ No newline at end of file
$ok = $tester->runTestsFromFiles( $files );
exit ($ok ? 0 : -1);
-?>
+
return "<pre>\n$ret</pre>";
}
-?>
+
"argv: " . var_export( $argv, true ) . "\n"
);
}
-?>
+
echo( " help : Show this usage information\n" );
}
-?>
\ No newline at end of file
return $user;
}
-?>
\ No newline at end of file
echo( " --report : Print out details of what would be changed, but don't update it\n\n" );
}
-?>
\ No newline at end of file
$builder->build();
}
-?>
+
print "Done.\n";
exit();
-?>
+
print "Done.\n";
exit();
-?>
+
print "Done.\n";
exit();
-?>
+
array( 'ss_images' => $count ),
array( 'ss_row_id' => 1 ) );
-?>
+
print_r( $GLOBALS );
}
-?>
+
echo "done.\n";
-?>
\ No newline at end of file
$render = new DumpRenderer( $dir );
$render->run();
-?>
+
$count = $dbw->selectField( 'job', 'count(*)', '', 'runJobs.php' );
print $count."\n";
-?>
+
foreach( $fields as $field => $desc ) {
printf( "%-{$max_length_desc}s: %{$max_length_value}d\n", $desc, $stats->$field );
}
-?>
+
printf( "misses: %-10d %6.2f%%\n", $misses, $misses/$total*100 );
printf( "uncacheable: %-10d %6.2f%%\n", $uncacheable, $uncacheable/$total*100 );
-?>
+
$this->errors['fixed'][$id] = true;
}
}
-?>
+
var_dump( $obj );
}
-?>
\ No newline at end of file
$archive->undelete( array(), $reason );
echo "done\n";
-?>
+
}
echo( "\n" );
-?>
\ No newline at end of file
fwrite( $file, $end );
fclose( $file );
-?>
+
$step = isset( $options['step'] ) ? $options['step'] : null;
$upgrade->upgrade( $step );
-?>
+
$uo->run();
print "Done.\n";
-?>
+
wfWaitForSlaves(10);
}
-?>
+
$url = str_replace( "$1", urlencode( $page ), $wgArticlePath );
header( "Location: {$url}" );
-?>
+
fwrite( $out, serialize( $localisation ) );
-?>
+
require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php');
require_once( dirname(__FILE__) . '/MonoBook.php' );
-?>
+
die( 1 );
require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php');
-?>
+
require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php');
require_once( dirname(__FILE__) . '/MonoBook.php' );
-?>
+
require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php');
require_once( dirname(__FILE__) . '/MonoBook.php' );
-?>
+
return $this->mTalkPage;
}
}
-?>
+
/* TODO: many more! */
}
-?>
+
}
}
-?>
\ No newline at end of file
/* TODO: many more! */
}
-?>
+
ini_set( 'include_path', get_include_path() . PATH_SEPARATOR . /*$_SERVER['PHP_PEAR_INSTALL_DIR']*/ 'C:\php\pear' );
require( 'PHPUnit/TextUI/Command.php' );
-?>
+