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 | |
/** | |
* 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
/* | |
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
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
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
--- 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; |
OlderNewer