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
--- SimpleCaptcha/SimpleCaptcha.php 2024-03-31 11:06:25.800541068 +0200 | |
+++ SimpleCaptcha/SimpleCaptcha.php 2024-06-01 16:01:21.220020956 +0200 | |
@@ -1096,13 +1096,13 @@ | |
$info = $this->retrieveCaptcha( $index ); | |
if ( $info ) { | |
if ( $this->keyMatch( $word, $info ) ) { | |
- $this->log( "passed" ); | |
+ $this->log( "Captcha $index passed with word $word ({$info['question']})" ); | |
$this->clearCaptcha( $index ); | |
$this->captchaSolved = 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
diff --git a/includes/WebVideoTranscode/WebVideoTranscodeJob.php b/includes/WebVideoTranscode/WebVideoTranscodeJob.php | |
index df24861a..6849a0e9 100644 | |
--- a/includes/WebVideoTranscode/WebVideoTranscodeJob.php | |
+++ b/includes/WebVideoTranscode/WebVideoTranscodeJob.php | |
@@ -14,6 +14,7 @@ use FSFile; | |
use Job; | |
use MediaWiki\Logger\LoggerFactory; | |
use MediaWiki\MediaWikiServices; | |
+use MediaWiki\TimedMediaHandler\Handlers\WebMHandler\WebMHandler; | |
use MediaWiki\TimedMediaHandler\TimedMediaHandler; |
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/extension.json b/extension.json | |
index dc9cc247..d878a1ee 100644 | |
--- a/extension.json | |
+++ b/extension.json | |
@@ -102,10 +102,12 @@ | |
"CanonicalNamespaces": "main", | |
"FileDeleteComplete": "main", | |
"FileUpload": "main", | |
+ "GetPreferences": "main", | |
"ImageOpenShowImageInlineBefore": "main", |
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
/* | |
Execute in the browser's console | |
Extracts all videos from youtube in a json. The object is printed in the console, where you can "copy as object". | |
You may need to modify the category title | |
*/ | |
(function() { | |
var _videoCollection = {}, | |
_init = function() { |
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 | |
/** | |
* Cleanup tables that have valid usernames with no user ID | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 2 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, |
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
--- extensions/MobileFrontend/includes/MobileFrontendHooks.php 2022-02-24 11:13:19.276555994 +0000 | |
+++ extensions/MobileFrontend/includes/MobileFrontendHooks.php 2022-02-24 11:14:40.725259992 +0000 | |
@@ -1123,7 +1123,8 @@ | |
$context = $services->getService( 'MobileFrontend.Context' ); | |
if ( $context->shouldDisplayMobileView() ) { | |
$outreach = $services->getService( 'MobileFrontend.AMC.Outreach' ); | |
- unset( $vars['wgCategories'] ); | |
+ // Remove this to allow gadgets to work | |
+ //unset( $vars['wgCategories'] ); | |
$vars['wgMFMode'] = $context->isBetaGroupMember() ? 'beta' : 'stable'; |
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 |
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
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(); |
NewerOlder