* Localisation updates from http://translatewiki.net.
* mwdocgen.php: Implement --version option.
* Remove svnstat stuff used in Doxygen generation
-* (bug 43594) Correctly supress warnings that were missed after the upstream
+* (bug 43594) Correctly suppress warnings that were missed after the upstream
* PHP change to E_STRICT being included in E_ALL.
== MediaWiki 1.20.4 ==
* (bug 11082) Fix check for fully-specced table names in Database::tableName
* (bug 11067) Fix regression in upload conflict thumbnail display
* (bug 10985) Resolved cached entries on Special:DoubleRedirects were being
- supressed, breaking paging - now strikes out "fixed" results
+ suppressed, breaking paging - now strikes out "fixed" results
* (bug 8393) <sup> and <sub> need to be preserved (without attributes) for
entries in the table of contents
* (bug 11114) Fix regression in read-only mode error display during editing
* (bug 1241) Don't show 'cont.' for first entry of the category list
* (bug 1240) Special:Preferences was broken in Slovenian locale when
$wgUseDynamicDates is enabled
-* Added magic word MAG_NOCONTENTCONVERT to supress the conversion of the
+* Added magic word MAG_NOCONTENTCONVERT to suppress the conversion of the
content of an article. Useful in zh:
* write-lock for updating the zh conversion tables in memcache
* recursively parse subpages of MediaWiki:Zhconversiontable
$this->performRequest();
// GUI-ify and stash the page output in MediaWiki::doPreOutputCommit() while
- // ChronologyProtector synchronizes DB positions or replicas accross all datacenters.
+ // ChronologyProtector synchronizes DB positions or replicas across all datacenters.
$buffer = null;
$outputWork = function () use ( $output, &$buffer ) {
if ( $buffer === null ) {
* recentchanges table as a reliable stream to make certain keys reach consistency
* as soon as the underlying replica database catches up. These means that critical
* keys will not escape getting purged simply due to brief hiccups in the network,
- * which are more prone to happen accross datacenters.
+ * which are more prone to happen across datacenters.
*
* ----
* "I was trying to cheat death. I was only trying to surmount for a little while the
*/
public function __clone() {
$this->connLogger->warning(
- "Cloning " . static::class . " is not recomended; forking connection:\n" .
+ "Cloning " . static::class . " is not recommended; forking connection:\n" .
( new RuntimeException() )->getTraceAsString()
);
/**
* Append ?cpPosIndex parameter to a URL for ChronologyProtector purposes if needed
*
- * Note that unlike cookies, this works accross domains
+ * Note that unlike cookies, this works across domains
*
* @param string $url
* @param int $index Write counter index
*/
function getMetadataArray() {
// this seems a bit ugly... This is all so its merged in right order
- // based on the MWG recomendation.
+ // based on the MWG recommendation.
$temp = [];
krsort( $this->metaPriority );
foreach ( $this->metaPriority as $pri ) {
if ( $ok ) {
$idsForLog[] = $item->getId();
- // If any item field was suppressed or unsupressed
+ // If any item field was suppressed or unsuppressed
if ( ( $oldBits | $newBits ) & $this->getSuppressBit() ) {
$logType = 'suppress';
}
$counter = null; // post-increment persistent counter value
// Use APC/etc if requested, available, and not in CLI mode;
- // Counter values would not survive accross script instances in CLI mode.
+ // Counter values would not survive across script instances in CLI mode.
$cache = null;
if ( ( $flags & self::QUICK_VOLATILE ) && !wfIsCLI() ) {
$cache = MediaWikiServices::getInstance()->getLocalServerObjectCache();
# Generic (non script dependant) options:
$this->addOption( 'help', 'Display this help message', false, false, 'h' );
- $this->addOption( 'quiet', 'Whether to supress non-error output', false, false, 'q' );
+ $this->addOption( 'quiet', 'Whether to suppress non-error output', false, false, 'q' );
$this->addOption( 'conf', 'Location of LocalSettings.php, if not default', false, true );
$this->addOption( 'wiki', 'For specifying the wiki ID', false, true );
$this->addOption( 'globals', 'Output globals at the end of processing for debugging' );
$( this ).find( '[tabindex]' ).each( function () {
var tabIndex = parseInt( $( this ).prop( 'tabindex' ), 10 );
// In IE6/IE7 the above jQuery selector returns all elements,
- // becuase it has a default value for tabIndex in IE6/IE7 of 0
+ // because it has a default value for tabIndex in IE6/IE7 of 0
// (rather than null/undefined). Therefore check "> 0" as well.
// Under IE7 under Windows NT 5.2 is also capable of returning NaN.
if ( tabIndex > 0 && !isNaN( tabIndex ) ) {
* @ignore
* @param {string} name the name of a tab without the prefix ("mw-prefsection-")
* @param {string} [mode] A hash will be set according to the current
- * open section. Set mode 'noHash' to supress this.
+ * open section. Set mode 'noHash' to suppress this.
*/
function switchPrefTab( name, mode ) {
if ( mode === 'noHash' ) {
$this->assertTrue( $user2->isBlocked() );
// Non-strict type-check.
$this->assertEquals( true, $user2->getBlock()->isAutoblocking(), 'Autoblock does not work' );
- // Can't directly compare the objects becuase of member type differences.
+ // Can't directly compare the objects because of member type differences.
// One day this will work: $this->assertEquals( $block, $user2->getBlock() );
$this->assertEquals( $block->getId(), $user2->getBlock()->getId() );
$this->assertEquals( $block->getExpiry(), $user2->getBlock()->getExpiry() );