This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Database settings | |
$wgDBtype = "mysql"; | |
$wgDBserver = "localhost:/mnt/tmpgrab/mysql/mysql.sock"; | |
$wgDBname = "grabber"; | |
$wgDBuser = "grabber"; | |
$wgDBpassword = "grabber"; | |
# MySQL table options to use during installation or update | |
$wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/resources/src/mediawiki.searchSuggest/searchSuggest.js b/resources/src/mediawiki.searchSuggest/searchSuggest.js | |
index c5357305d5..42ad14a744 100644 | |
--- a/resources/src/mediawiki.searchSuggest/searchSuggest.js | |
+++ b/resources/src/mediawiki.searchSuggest/searchSuggest.js | |
@@ -318,7 +318,8 @@ | |
after: onAfterUpdate | |
}, | |
cache: true, | |
- highlightInput: true | |
+ highlightInput: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c695c9e6374e64321d96d150e6ab8a93a55b1360 Mon Sep 17 00:00:00 2001 | |
From: Ammar Abdulhamid | |
Date: Wed, 15 Jul 2020 20:56:45 +0100 | |
Subject: [PATCH] Allow description text for uploaded files line in Special:Statistics | |
Also make Statistics summary text to really work. The message | |
exists for a long time but it is not being used in the special page. | |
Bug: T258095 | |
Change-Id: Ic228fdb7b13ef824ef0611d9cb2d5b79504cd929 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/includes/MovePage.php b/includes/MovePage.php | |
index a5d0af4..7c4c3d4 100644 | |
--- a/includes/MovePage.php | |
+++ b/includes/MovePage.php | |
@@ -216,7 +216,9 @@ | |
if ( $this->oldTitle->equals( $this->newTitle ) ) { | |
$status->fatal( 'selfmove' ); | |
- } elseif ( $this->newTitle->getArticleID() && !$this->isValidMoveTarget() ) { | |
+ } elseif ( $this->newTitle->getArticleID( Title::READ_LATEST /* T272386 */ ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/SyntaxHighlight.lexers.php b/SyntaxHighlight.lexers.php | |
index f64672e..968dd72 100644 | |
--- a/SyntaxHighlight.lexers.php | |
+++ b/SyntaxHighlight.lexers.php | |
@@ -11,7 +11,8 @@ | |
'ada' => true, | |
'ada2005' => true, | |
'ada95' => true, | |
- 'adl' => true, | |
+ // Disabled because of CVE-2021-27291 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/includes/specials/SpecialNewFiles.php b/includes/specials/SpecialNewFiles.php | |
index 2c49e5f..d32313b 100644 | |
--- a/includes/specials/SpecialNewFiles.php | |
+++ b/includes/specials/SpecialNewFiles.php | |
@@ -118,7 +118,7 @@ | |
// mediastatistics-header-office, mediastatistics-header-text, | |
// mediastatistics-header-executable, mediastatistics-header-archive, | |
// mediastatistics-header-3d, | |
- return $this->msg( 'mediastatistics-header-' . strtolower( $type ) )->text(); | |
+ return $this->msg( 'mediastatistics-header-' . strtolower( $type ) )->escaped(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/resources/src/mediawiki.rcfilters/ui/TagItemWidget.js b/resources/src/mediawiki.rcfilters/ui/TagItemWidget.js | |
index 5d45d18..ba7b920 100644 | |
--- a/resources/src/mediawiki.rcfilters/ui/TagItemWidget.js | |
+++ b/resources/src/mediawiki.rcfilters/ui/TagItemWidget.js | |
@@ -94,7 +94,7 @@ | |
).contents() ); | |
} else { | |
this.setLabel( | |
- $( '<bdi>' ).append( | |
+ $( '<bdi>' ).text( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('THOUSAND_SEPARATOR',true); | |
if (!extension_loaded('Zend OPcache')) { | |
echo '<div style="background-color: #F2DEDE; color: #B94A48; padding: 1em;">You do not have the Zend OPcache extension loaded, sample data is being shown instead.</div>'; | |
require 'data-sample.php'; | |
} | |
class OpCacheDataModel |
OlderNewer