This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php | |
index 82a5b62950e..72239b9c1ba 100644 | |
--- a/includes/installer/MysqlUpdater.php | |
+++ b/includes/installer/MysqlUpdater.php | |
@@ -142,13 +142,13 @@ class MysqlUpdater extends DatabaseUpdater { | |
// 1.41 | |
[ 'addField', 'user', 'user_is_temp', 'patch-user-user_is_temp.sql' ], | |
- [ 'runMaintenance', MigrateRevisionCommentTemp::class ], | |
- [ 'dropTable', 'revision_comment_temp' ], |
This file contains hidden or 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 162be036..466f502b 100644 | |
--- a/includes/WebVideoTranscode/WebVideoTranscodeJob.php | |
+++ b/includes/WebVideoTranscode/WebVideoTranscodeJob.php | |
@@ -19,6 +19,7 @@ use MediaWiki\Logger\LoggerFactory; | |
use MediaWiki\MainConfigNames; | |
use MediaWiki\Shell\CommandFactory; | |
use MediaWiki\Shell\Shell; | |
+use MediaWiki\TimedMediaHandler\Handlers\WebMHandler\WebMHandler; | |
use MediaWiki\TimedMediaHandler\HLS\Segmenter; |
This file contains hidden or 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 e5780d22..2d72f6b3 100644 | |
--- a/extension.json | |
+++ b/extension.json | |
@@ -127,10 +127,12 @@ | |
"FileDeleteComplete": "main", | |
"FileUndeleteComplete": "main", | |
"FileUpload": "main", | |
+ "GetPreferences": "main", | |
"ImageOpenShowImageInlineBefore": "main", |
This file contains hidden or 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/SimpleCaptcha/SimpleCaptcha.php b/SimpleCaptcha/SimpleCaptcha.php | |
index 10d42088..610a6bac 100644 | |
--- a/SimpleCaptcha/SimpleCaptcha.php | |
+++ b/SimpleCaptcha/SimpleCaptcha.php | |
@@ -1072,13 +1072,13 @@ class SimpleCaptcha { | |
$info = $this->retrieveCaptcha( $index ); | |
if ( $info ) { | |
if ( $this->keyMatch( $word, $info ) ) { | |
- $this->log( "passed" ); | |
+ $this->log( "Captcha $index passed with word $word ({$info['question']})" ); |