Fix typo: 'the the' -> 'the'

Change-Id: Ia57fb787b43c8e49da4f33a65c265cbc37ee1f77
This commit is contained in:
Ed Sanders 2020-05-02 18:40:26 +01:00
parent 26b8956cb4
commit 387f3c2a20
8 changed files with 24 additions and 24 deletions

View file

@ -536,7 +536,7 @@ $wgImgAuthUrlPathMap = [];
*
* Default: 2.
* - deletedHashLevels
* Optional 'hashLevels' override for the the 'deleted' zone.
* Optional 'hashLevels' override for the 'deleted' zone.
* - thumbScriptUrl The URL for thumb.php (optional, not recommended)
* - transformVia404 Whether to skip media file transformation on parse and rely on a 404
* handler instead.
@ -3933,7 +3933,7 @@ $wgResourceModules = [];
/**
* Add extra skin-specific styles to a resource module.
*
* These are automatically added by ResourceLoader to the the 'skinStyles' list of
* These are automatically added by ResourceLoader to the 'skinStyles' list of
* the existing module. The 'styles' list cannot be modified or disabled.
*
* For example, below a module "bar" is defined and skin Foo provides additional

View file

@ -32,7 +32,7 @@ use Wikimedia\Rdbms\IDatabase;
/**
* The running version of MediaWiki.
*
* This replaces the the $wgVersion global found in earlier versions.
* This replaces the $wgVersion global found in earlier versions.
*
* @since 1.35
*/

View file

@ -48,7 +48,7 @@ class RequestData extends RequestBase {
* - uploadedFiles: An array of objects implementing UploadedFileInterface
* - postParams: Equivalent to $_POST
* - pathParams: The path template parameters
* - headers: An array with the the key being the header name
* - headers: An array with the key being the header name
* - cookiePrefix: A prefix to add to cookie names in getCookie()
*/
public function __construct( $params = [] ) {

View file

@ -225,7 +225,7 @@ class WikiMap {
global $wgCanonicalServer;
if ( strpos( $url, "$wgCanonicalServer/" ) === 0 ) {
// Optimisation: Handle the the common case.
// Optimisation: Handle the common case.
// (Duplicates self::getCanonicalServerInfoForAllWikis)
return self::getCurrentWikiId();
}

View file

@ -175,7 +175,7 @@ class HTMLFileCache extends FileCacheBase {
*
* Normally this is only registed as a handler if $wgUseFileCache is on.
* If can be explicitly called by rebuildFileCache.php when it takes over
* handling file caching itself, disabling any automatic handling the the
* handling file caching itself, disabling any automatic handling the
* process.
*
* @param string $text

View file

@ -62,7 +62,7 @@ use Wikimedia\LightweightObjectStore\StorageAwareness;
* be stale, one should consider using TTL only using the value's age as
* method of validation.
*
* The purge strategy refers to the the approach whereby your application knows that
* The purge strategy refers to the approach whereby your application knows that
* source data has changed and can react by purging the relevant cache keys.
* As purges are expensive, this strategy should be avoided if possible.
* The simplest purge method is delete().

View file

@ -981,7 +981,7 @@ Title.prototype = {
},
/**
* Check the the title can have an associated talk page
* Check the title can have an associated talk page
*
* @return {boolean} The title can have an associated talk page
*/

View file

@ -24941,10 +24941,10 @@ showtitle
wgAllowDisplayTitle=true
wgRestrictDisplayTitle=false
!! wikitext
this is not the the title
this is not the title
!! html/php
Parser test
<p>this is not the the title
<p>this is not the title
</p>
!! end
@ -24957,11 +24957,11 @@ title=[[Screen]]
wgAllowDisplayTitle=true
wgRestrictDisplayTitle=false
!! wikitext
this is not the the title
this is not the title
{{DISPLAYTITLE:whatever}}
!! html/php
whatever
<p>this is not the the title
<p>this is not the title
</p>
!! end
@ -24974,11 +24974,11 @@ title=[[Screen]]
wgAllowDisplayTitle=true
wgRestrictDisplayTitle=true
!! wikitext
this is not the the title
this is not the title
{{DISPLAYTITLE:whatever}}
!! html/php
Screen
<p>this is not the the title
<p>this is not the title
</p>
!! end
@ -24991,11 +24991,11 @@ title=[[Screen]]
wgAllowDisplayTitle=true
wgRestrictDisplayTitle=true
!! wikitext
this is not the the title
this is not the title
{{DISPLAYTITLE:screen}}
!! html/php
screen
<p>this is not the the title
<p>this is not the title
</p>
!! end
@ -25007,11 +25007,11 @@ title=[[Screen]]
!! config
wgAllowDisplayTitle=false
!! wikitext
this is not the the title
this is not the title
{{DISPLAYTITLE:screen}}
!! html/php
Screen
<p>this is not the the title
<p>this is not the title
<a href="/index.php?title=Template:DISPLAYTITLE:screen&amp;action=edit&amp;redlink=1" class="new" title="Template:DISPLAYTITLE:screen (page does not exist)">Template:DISPLAYTITLE:screen</a>
</p>
!! end
@ -25024,10 +25024,10 @@ title=[[Screen]]
!! config
wgAllowDisplayTitle=false
!! wikitext
this is not the the title
this is not the title
!! html/php
Screen
<p>this is not the the title
<p>this is not the title
</p>
!! end
@ -25040,11 +25040,11 @@ title=[[Screen]]
wgAllowDisplayTitle=true
wgRestrictDisplayTitle=true
!! wikitext
this is not the the title
this is not the title
{{DISPLAYTITLE:<span style="display: none;">s</span>creen}}
!! html/php
<span style="/* attempt to bypass $wgRestrictDisplayTitle */">s</span>creen
<p>this is not the the title
<p>this is not the title
</p>
!! end
@ -25057,11 +25057,11 @@ title=[[Screen]]
wgAllowDisplayTitle=true
wgRestrictDisplayTitle=true
!! wikitext
this is not the the title
this is not the title
{{DISPLAYTITLE:<span style="color: red;">s</span>creen}}
!! html/php
<span style="color: red;">s</span>creen
<p>this is not the the title
<p>this is not the title
</p>
!! end