Page MenuHomePhabricator

Physikerwelt (Moritz Schubotz)
User

Projects (8)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Oct 24 2014, 1:27 PM (297 w, 2 d)
Availability
Available
IRC Nick
physikerwelt
LDAP User
Physikerwelt
MediaWiki User
Physikerwelt [ Global Accounts ]

Recent Activity

Yesterday

Ameisenigel awarded T245631: Consider converting texvcjs to a LaTeX sanity checker that does not modify the original input a Barnstar token.
Sun, Jul 5, 11:30 AM · Math, Texvcjs

Thu, Jul 2

Physikerwelt triaged T255154: MathSearch CI jobs fail as Medium priority.
Thu, Jul 2, 9:32 AM · Core Platform Team Workboards (External Code Reviews), User-DannyS712, ci-test-error, MathSearch
Physikerwelt reopened T255154: MathSearch CI jobs fail as "Open".

Test are failing again see https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MathSearch/+/609056

Thu, Jul 2, 9:31 AM · Core Platform Team Workboards (External Code Reviews), User-DannyS712, ci-test-error, MathSearch

Mon, Jun 29

Physikerwelt added a comment to T218217: Make services swagger specs standard compliant.

I do not really understand what needs to be done within mathoid. Mathoid has two dependencies

Mon, Jun 29, 6:04 AM · Math, Core Platform Team, serviceops-radar, Product-Infrastructure-Team-Backlog, Proton, Graphoid, CX-cxserver, Citoid, Mathoid, Recommendation-API, Services (later), Mobile-Content-Service, RESTBase-API, Operations

Fri, Jun 26

Physikerwelt triaged T256468: math-tracking-category-texvc-deprecation not listed on Special:TrackingCategories as Medium priority.

Ok. Seems reasonable. I will wait with a patch until CPT reviewed current patches to avoid edit conflicts.

Fri, Jun 26, 5:06 PM · Math

Wed, Jun 24

Physikerwelt updated subscribers of T252832: wikibase-docker Quickstatements does not actually write data to wikibase.

The new warning is a problem in the magnustool probably introduced in https://bitbucket.org/magnusmanske/magnustools/commits/009e091e42cd7f8bc4779718867e475977b4794e#Lpublic_html/php/wikidata.phpT5 :

require_once ( '/data/project/magnustools/public_html/php/WikidataItem.php' ) ;

might really mean

require_once ( '/data/project/magnustools/classes/WikidataItem.php' ) ;
Wed, Jun 24, 10:57 AM · Wikibase-Containers, Wikidata
Physikerwelt added a comment to T252832: wikibase-docker Quickstatements does not actually write data to wikibase.

Ok. I see these images are updated quite often. Even the elaticsearch image was updated 6 days ago...

Wed, Jun 24, 8:54 AM · Wikibase-Containers, Wikidata
Physikerwelt added a comment to T252832: wikibase-docker Quickstatements does not actually write data to wikibase.

I did rerun the same experiment on linux (ubuntu 18.04LTS) today.

Wed, Jun 24, 8:48 AM · Wikibase-Containers, Wikidata
Physikerwelt awarded T239359: Organize the open tasks for Project Math a Party Time token.
Wed, Jun 24, 6:41 AM · PM, Project-Admins, Math

Tue, Jun 23

Physikerwelt closed T231970: Add information about the new API endpoint and the special page to mw.org's Extension:Math, a subtask of T208758: Display popups for annotated <math> tags, as Invalid.
Tue, Jun 23, 6:10 AM · MW-1.35-notes (1.35.0-wmf.8; 2019-11-26), Math, Core Platform Team Workboards (Clinic Duty Team), Readers-Web-Backlog (Needs Product Owner Decisions), Patch-For-Review, Page-Previews
Physikerwelt closed T231970: Add information about the new API endpoint and the special page to mw.org's Extension:Math as Invalid.
Tue, Jun 23, 6:10 AM · Documentation, Math

Mon, Jun 22

Physikerwelt triaged T255961: 2017 source editor has math equation issue as High priority.
Mon, Jun 22, 6:02 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor, Math
Physikerwelt added a project to T255961: 2017 source editor has math equation issue: VisualEditor.

I can confirm this. The source editor is also known as new wikitext mode.

Mon, Jun 22, 6:01 AM · VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor, Math

Sun, Jun 21

Physikerwelt committed rEMAS48d34e6a3eb4: Style: Add empty row to phan config (authored by Physikerwelt).
Style: Add empty row to phan config
Sun, Jun 21, 6:32 PM
Physikerwelt closed T255154: MathSearch CI jobs fail as Resolved.

Eventually fixed in https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/MathSearch/+/606827/

Sun, Jun 21, 6:07 PM · Core Platform Team Workboards (External Code Reviews), User-DannyS712, ci-test-error, MathSearch
Physikerwelt committed rEMAS46ea563f9159: Remove uses of deprecated Revision methods (authored by DannyS712).
Remove uses of deprecated Revision methods
Sun, Jun 21, 5:30 PM
Physikerwelt committed rEMAS03dc43529fd6: Enable phan (authored by Physikerwelt).
Enable phan
Sun, Jun 21, 5:30 PM
Physikerwelt closed T255937: Enable Phan for MW:MathSearch, a subtask of T255154: MathSearch CI jobs fail, as Resolved.
Sun, Jun 21, 5:03 PM · Core Platform Team Workboards (External Code Reviews), User-DannyS712, ci-test-error, MathSearch
Physikerwelt closed T255937: Enable Phan for MW:MathSearch as Resolved.
Sun, Jun 21, 5:03 PM · Patch-For-Review, MathSearch
Physikerwelt triaged T255946: Fix phan warnings / errors in maintenance scripts as Low priority.
Sun, Jun 21, 4:36 PM · MathSearch
Physikerwelt created T255946: Fix phan warnings / errors in maintenance scripts.
Sun, Jun 21, 4:36 PM · MathSearch
Physikerwelt triaged T255945: Fix phan warnings / errors in source files (includes) as Low priority.
Sun, Jun 21, 4:35 PM · MathSearch
Physikerwelt created T255945: Fix phan warnings / errors in source files (includes).
Sun, Jun 21, 4:34 PM · MathSearch
Physikerwelt added a comment to T255937: Enable Phan for MW:MathSearch.

running this tests locally takes way too long >15min

Sun, Jun 21, 11:37 AM · Patch-For-Review, MathSearch
Physikerwelt added a comment to T255937: Enable Phan for MW:MathSearch.

with math (234 remaining)

  • includes/FormulaInfo.php:24 PhanParamSignatureMismatch Declaration of function execute(\unknown $par) should be compatible with function execute(null|string $subPage) defined in ../../includes/specialpage/SpecialPage.php:621
  • includes/FormulaInfo.php:24 PhanUndeclaredTypeParameter Parameter $par has undeclared type \unknown
  • includes/FormulaInfo.php:28 PhanTypeMismatchArgument Argument 2 ($default) is false of type false but \WebRequest::getVal() takes null|string defined at ../../includes/WebRequest.php:507
  • includes/FormulaInfo.php:37 PhanTypeMismatchArgument Argument 1 ($oldID) is $pid of type string but \FormulaInfo::DisplayInfo() takes int defined at includes/FormulaInfo.php:128
  • includes/FormulaInfo.php:114 PhanTypeArraySuspiciousNullable Suspicious array access to nullable array|bool|float|int|null|string
  • includes/FormulaInfo.php:117 PhanTypeArraySuspiciousNullable Suspicious array access to nullable array|bool|float|int|null|string
  • includes/FormulaInfo.php:150 PhanTypeMismatchArgument Argument 2 ($eid) is $eid of type string but \MathObject::constructformpage() takes int defined at includes/MathObject.php:80
  • includes/FormulaInfo.php:201 PhanTypeMismatchArgumentInternalProbablyReal Argument 2 ($quote_style) is 'status' of type 'status' but \htmlspecialchars() takes int
  • includes/FormulaInfo.php:201 PhanTypeMismatchArgumentInternal Argument 1 ($string) is $mo->getLog() of type \log but \htmlspecialchars() takes string
  • includes/FormulaInfo.php:210 PhanTypeSuspiciousStringExpression Suspicious type \timestamp of a variable or expression used to build a string. (Expected type to be able to cast to a string)
  • includes/FormulaInfo.php:210 PhanTypeSuspiciousStringExpression Suspicious type bool of a variable or expression used to build a string. (Expected type to be able to cast to a string)
  • includes/FormulaInfo.php:277 PhanParamTooMany Call with 1 arg(s) to \MathRenderer::render() which only takes 0 arg(s) defined at ../../extensions/Math/src/MathRenderer.php:201
  • includes/FormulaInfo.php:308 PhanParamTooMany Call with 1 arg(s) to \MathRenderer::render() which only takes 0 arg(s) defined at ../../extensions/Math/src/MathRenderer.php:201
  • includes/GetEquationsByQuery.php:22 PhanParamSignatureMismatch Declaration of function execute(\unknown $par) should be compatible with function execute(null|string $subPage) defined in ../../includes/specialpage/SpecialPage.php:621
  • includes/GetEquationsByQuery.php:22 PhanUndeclaredTypeParameter Parameter $par has undeclared type \unknown
  • includes/GetEquationsByQuery.php:77 SecurityCheck-XSS Calling method \OutputPage::addHTML() in \GetEquationsByQuery::execute that outputs using tainted argument $[arg #1]. (Caused by: Builtin-\OutputPage::addHTML) (Caused by: includes/GetEquationsByQuery.php +74)
  • includes/GetEquationsByQuery.php:80 PhanTypeMismatchArgument Argument 2 ($default) is false of type false but \WebRequest::getVal() takes null|string defined at ../../includes/WebRequest.php:507
  • includes/GetEquationsByQuery.php:84 PhanParamTooMany Call with 1 arg(s) to \MathRenderer::render() which only takes 0 arg(s) defined at ../../extensions/Math/src/MathRenderer.php:201
  • includes/GetEquationsByQuery.php:88 PhanTypeSuspiciousStringExpression Suspicious type bool of a variable or expression used to build a string. (Expected type to be able to cast to a string)
  • includes/ImportCsv.php:17 PhanTypeMismatchProperty Assigning false to property but \ImportCsv->runId is int
  • includes/ImportCsv.php:55 PhanTypeMismatchArgument Argument 1 ($run) is $runId of type int|null but \ImportCsv::validateRunId() takes string defined at includes/ImportCsv.php:70
  • includes/ImportCsv.php:93 PhanTypeMismatchProperty Assigning false to property but \ImportCsv->runId is int
  • includes/ImportCsv.php:98 PhanTypeMismatchProperty Assigning false to property but \ImportCsv->runId is int
  • includes/ImportCsv.php:127 PhanTypeMismatchReturn Returning type string but importFromFile() is declared to return null
  • includes/ImportCsv.php:132 PhanTypeMismatchArgumentInternal Argument 1 ($fp) is $csv_file of type string but \fgetcsv() takes resource
  • includes/ImportCsv.php:138 PhanTypeMismatchArgumentInternal Argument 1 ($fp) is $csv_file of type string but \fgetcsv() takes resource
  • includes/ImportCsv.php:140 PhanTypeMismatchArgumentInternal Argument 1 ($fp) is $csv_file of type string but \fclose() takes resource
  • includes/ImportCsv.php:148 PhanTypeMismatchArgumentNullableInternal Argument 1 ($str1) is $table[0][0] of type ?string but \strncmp() takes string (expected type to be non-nullable)
  • includes/ImportCsv.php:149 PhanTypeMismatchArgumentNullableInternal Argument 1 ($str) is $table[0][0] of type ?string but \substr() takes string (expected type to be non-nullable)
  • includes/ImportCsv.php:216 PhanTypeMismatchReturn Returning type true but importFromArray() is declared to return null|string
  • includes/ImportCsv.php:278 PhanTypeMismatchArgument Argument 1 ($runID) is $this->runId of type false|int but \ImportCsv::deleteRun() takes string defined at includes/ImportCsv.php:292
  • includes/MathHighlighter.php:53 PhanCommentParamOutOfOrder Expected @param annotation for $tagPos to be before the @param annotation for $wikiText
  • includes/MathIdGenerator.php:162 PhanTypeArraySuspiciousNullable Suspicious array access to nullable ?array|?array<string,mixed>|?string
  • includes/MathIdGenerator.php:173 PhanTypeArraySuspiciousNullable Suspicious array access to nullable ?array|?array<string,mixed>|?string
  • includes/MathObject.php:13 PhanUndeclaredTypeProperty Property \MathObject->timestamp has undeclared type \timestamp (Did you mean class \MWTimestamp)
  • includes/MathObject.php:86 PhanTypeMismatchReturn Returning type \self|bool but constructformpage() is declared to return \MathObject
  • includes/MathObject.php:126 PhanUndeclaredTypeReturnType Return type of constructformpagerow() is undeclared type \self
  • includes/MathObject.php:195 PhanUndeclaredTypeReturnType Return type of getTimestamp() is undeclared type \timestamp (Did you mean class \MWTimestamp)
  • includes/MathObject.php:203 PhanUndeclaredTypeParameter Parameter $timestamp has undeclared type \timestamp (Did you mean class \MWTimestamp)
  • includes/MathObject.php:211 PhanUndeclaredTypeReturnType Return type of getLog() is undeclared type \log
  • includes/MathObject.php:212 PhanTypeMismatchReturn Returning type string but getLog() is declared to return \log
  • includes/MathObject.php:319 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathObject.php:328 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathObject.php:423 PhanTypeMissingReturn Method \MathObject::render is declared to return bool in phpdoc but has no return value
  • includes/MathObject.php:489 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathObject.php:520 PhanTypeMismatchReturn Returning type false but getTexInfo() is declared to return \MathoidDriver
  • includes/MathObject.php:561 PhanTypeInvalidLeftOperandOfNumericOp Invalid operator: left operand of * is string (expected number)
  • includes/MathObject.php:563 PhanTypeInvalidLeftOperandOfNumericOp Invalid operator: left operand of * is string (expected number)
  • includes/MathObject.php:602 PhanUndeclaredTypeParameter Parameter $renderingTime has undeclared type \long
  • includes/MathQueryObject.php:8 PhanTypeMismatchProperty Assigning false to property but \MathQueryObject->queryID is int
  • includes/MathQueryObject.php:117 PhanUndeclaredTypeReturnType Return type of newQueryFromEquationRow() is undeclared type \self
  • includes/MathQueryObject.php:156 PhanTypeMismatchReturn Returning type false but getCQuery() is declared to return string
  • includes/MathQueryObject.php:168 PhanTypeMismatchReturn Returning type false but getPQuery() is declared to return string
  • includes/MathQueryObject.php:235 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:95 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:98 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:106 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:136 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:205 PhanPossiblyUndeclaredVariable Variable $eid is possibly undeclared
  • includes/MathSearchHooks.php:207 PhanPossiblyUndeclaredVariable Variable $eid is possibly undeclared
  • includes/MathSearchHooks.php:235 PhanTypeMismatchArgumentInternal Argument 2 ($subject) is $Result of type null but \preg_match() takes string
  • includes/MathSearchHooks.php:237 PhanTypeMismatchArgumentInternal Argument 3 ($subject) is $Result of type null but \str_replace() takes array|string
  • includes/MathSearchHooks.php:256 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:276 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:291 PhanTypeMismatchReturn Returning type '' but mQueryTagHook() is declared to return array
  • includes/MathSearchHooks.php:293 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:313 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:315 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:343 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:364 PhanTypeMismatchArgument Argument 1 ($id) is $id of type null but \MathSearchHooks::setMathId() takes int defined at includes/MathSearchHooks.php:126
  • includes/MathSearchHooks.php:380 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchHooks.php:384 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathSearchTerm.php:97 PhanTypeSuspiciousNonTraversableForeach Class \Status was passed to foreach, but it does not extend Traversable. This may be intentional, because some of that class's declared properties are accessible from this context. (This check excludes dynamic properties)
  • includes/MathoidDriver.php:118 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathoidDriver.php:157 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathosphereDriver.php:124 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MathosphereDriver.php:163 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/MlpEvalForm.php:116 SecurityCheck-XSS HTMLForm option label needs escaping (Maybe false positive as could not determine if it was key or value that is unescaped) (Caused by: includes/MlpEvalForm.php +111; includes/MlpEvalForm.php +109)
  • includes/MlpEvalForm.php:144 SecurityCheck-XSS HTMLForm option label needs escaping (Maybe false positive as could not determine if it was key or value that is unescaped) (Caused by: includes/MlpEvalForm.php +139; includes/MlpEvalForm.php +138)
  • includes/MlpEvalForm.php:199 PhanTypeMismatchArgument Argument 1 ($data) is 'pgRst' of type 'pgRst' but \MlpEvalForm::addButton() takes array{name:string,value:string,label-message?:\MessageSpecifier|string|string[],label?:string,label-raw?:string,id?:string,attribs?:array,flags?:string|string[],framed?:bool} defined at ../../includes/htmlform/HTMLForm.php:995
  • includes/MlpEvalForm.php:201 PhanTypeMismatchArgument Argument 1 ($data) is 'fRst' of type 'fRst' but \MlpEvalForm::addButton() takes array{name:string,value:string,label-message?:\MessageSpecifier|string|string[],label?:string,label-raw?:string,id?:string,attribs?:array,flags?:string|string[],framed?:bool} defined at ../../includes/htmlform/HTMLForm.php:995
  • includes/WikidataDriver.php:28 PhanUndeclaredMethod Call to undeclared method \MediaWiki\Http\HttpRequestFactory::createMultiClient
  • includes/WikidataDriver.php:53 PhanTypeExpectedObjectPropAccess Expected an object instance when accessing an instance property, but saw an expression $this->data with type non-empty-array<mixed,mixed>|non-empty-list<mixed>|true
  • includes/content/ContentMathFormatter.php:47 PhanUndeclaredClassConstant Reference to constant FORMAT_PLAIN from undeclared class \Wikibase\Lib\Formatters\SnakFormatter
  • includes/content/ContentMathFormatter.php:49 PhanUndeclaredClassConstant Reference to constant FORMAT_WIKI from undeclared class \Wikibase\Lib\Formatters\SnakFormatter
  • includes/content/ContentMathFormatter.php:61 PhanUndeclaredClassConstant Reference to constant FORMAT_HTML_DIFF from undeclared class \Wikibase\Lib\Formatters\SnakFormatter
  • includes/content/ContentMathMLRdfBuilder.php:7 PhanUndeclaredInterface Class implements undeclared interface \Wikibase\Repo\Rdf\ValueSnakRdfBuilder
  • includes/content/ContentMathValidator.php:41 PhanTypeMismatchArgument Argument 1 ($text) is null of type null but \ValueValidators\Error::newError() takes string defined at ../../vendor/data-values/interfaces/src/ValueValidators/Error.php:33
  • includes/content/ContentMathWikidataHook.php:29 PhanUndeclaredClassMethod Call to method getDefaultValidatorBuilders from undeclared class \Wikibase\Repo\WikibaseRepo
  • includes/content/ContentMathWikidataHook.php:39 PhanUndeclaredClassMethod Call to method getDefaultInstance from undeclared class \Wikibase\Repo\WikibaseRepo
  • includes/content/ContentMathWikidataHook.php:40 PhanUndeclaredClassMethod Call to method __construct from undeclared class \Wikibase\Repo\Parsers\WikibaseStringValueNormalizer
  • includes/content/ContentMathWikidataHook.php:41 PhanTypeMismatchArgument Argument 1 ($normalizer) is $normalizer of type \Wikibase\Repo\Parsers\WikibaseStringValueNormalizer but \ValueParsers\StringParser::__construct() takes ?\ValueParsers\Normalizers\StringNormalizer defined at ../../vendor/data-values/common/src/ValueParsers/StringParser.php:28
  • includes/content/ContentMathWikidataHook.php:51 PhanUndeclaredTypeParameter Parameter $vocab has undeclared type \Wikibase\Repo\Rdf\RdfVocabulary
  • includes/content/ContentMathWikidataHook.php:53 PhanUndeclaredTypeParameter Parameter $tracker has undeclared type \Wikibase\Repo\Rdf\EntityMentionListener
  • includes/content/ContentMathWikidataHook.php:54 PhanUndeclaredTypeParameter Parameter $dedupe has undeclared type \Wikibase\Repo\Rdf\DedupeBag
  • includes/engines/MathEngineBaseX.php:66 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/engines/MathEngineBaseX.php:93 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/engines/MathEngineMws.php:37 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/engines/MathEngineRest.php:39 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/engines/MathEngineRest.php:139 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/engines/MathEngineRest.php:156 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/engines/MathEngineRest.php:161 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/engines/MathEngineRest.php:173 PhanUndeclaredProperty Reference to undeclared property \MathEngineRest->postData
  • includes/engines/MathEngineRest.php:176 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/engines/MathEngineRest.php:178 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/specials/SpecialDisplayTopics.php:77 SecurityCheck-SQLInjection Calling method \SpecialDisplayTopics::displayOverview() in \SpecialDisplayTopics::displayTopic that outputs using tainted argument $[arg #1]. (Caused by: includes/specials/SpecialDisplayTopics.php +48) (Caused by: includes/specials/SpecialDisplayTopics.php +72)
  • includes/specials/SpecialDisplayTopics.php:78 SecurityCheck-SQLInjection Calling method \SpecialDisplayTopics::printMostFrequentRuns() in \SpecialDisplayTopics::displayTopic that outputs using tainted argument $qId. (Caused by: includes/specials/SpecialDisplayTopics.php +131) (Caused by: includes/specials/SpecialDisplayTopics.php +72)
  • includes/specials/SpecialLaTeXTranslator.php:41 PhanTypeMissingReturn Method \SpecialLaTeXTranslator::processInput is declared to return bool in phpdoc but has no return value
  • includes/specials/SpecialMathDebug.php:23 PhanTypeMismatchArgument Argument 2 ($default) is 0 of type 0 but \WebRequest::getVal() takes null|string defined at ../../includes/WebRequest.php:507
  • includes/specials/SpecialMathDebug.php:24 PhanTypeMismatchArgument Argument 2 ($default) is 10 of type 10 but \WebRequest::getVal() takes null|string defined at ../../includes/WebRequest.php:507
  • includes/specials/SpecialMathDebug.php:33 SecurityCheck-XSS Calling method \SpecialMathDebug::displayButtons() in \SpecialMathDebug::execute that outputs using tainted argument $action. (Caused by: includes/specials/SpecialMathDebug.php +56) (Caused by: includes/specials/SpecialMathDebug.php +26)
  • includes/specials/SpecialMathDebug.php:33 SecurityCheck-XSS Calling method \SpecialMathDebug::displayButtons() in \SpecialMathDebug::execute that outputs using tainted argument $length. (Caused by: includes/specials/SpecialMathDebug.php +56) (Caused by: includes/specials/SpecialMathDebug.php +24)
  • includes/specials/SpecialMathDebug.php:33 SecurityCheck-XSS Calling method \SpecialMathDebug::displayButtons() in \SpecialMathDebug::execute that outputs using tainted argument $offset. (Caused by: includes/specials/SpecialMathDebug.php +56) (Caused by: includes/specials/SpecialMathDebug.php +23)
  • includes/specials/SpecialMathDebug.php:33 SecurityCheck-XSS Calling method \SpecialMathDebug::displayButtons() in \SpecialMathDebug::execute that outputs using tainted argument $page. (Caused by: includes/specials/SpecialMathDebug.php +56) (Caused by: includes/specials/SpecialMathDebug.php +25)
  • includes/specials/SpecialMathDebug.php:33 SecurityCheck-XSS Calling method \SpecialMathDebug::displayButtons() in \SpecialMathDebug::execute that outputs using tainted argument $purge. (Caused by: includes/specials/SpecialMathDebug.php +56) (Caused by: includes/specials/SpecialMathDebug.php +27)
  • includes/specials/SpecialMathDebug.php:43 PhanTypeMismatchArgument Argument 1 ($offset) is $offset of type null|string but \SpecialMathDebug::generateParserTests() takes int defined at includes/specials/SpecialMathDebug.php:155
  • includes/specials/SpecialMathDebug.php:43 PhanTypeMismatchArgument Argument 2 ($length) is $length of type null|string but \SpecialMathDebug::generateParserTests() takes int defined at includes/specials/SpecialMathDebug.php:155
  • includes/specials/SpecialMathDebug.php:99 PhanTypeMismatchArgument Argument 1 ($from_lines) is [$stringA] of type array{0:bool} but \Diff::__construct() takes string[] defined at ../../includes/diff/Diff.php:53
  • includes/specials/SpecialMathDebug.php:99 PhanTypeMismatchArgument Argument 2 ($to_lines) is [$stringB] of type array{0:bool} but \Diff::__construct() takes string[] defined at ../../includes/diff/Diff.php:53
  • includes/specials/SpecialMathDebug.php:104 PhanUndeclaredMethod Call to undeclared method \MathLaTeXML::getPostValue
  • includes/specials/SpecialMathDebug.php:106 PhanUndeclaredMethod Call to undeclared method \MathLaTeXML::getPostValue
  • includes/specials/SpecialMathDebug.php:111 PhanTypeMismatchArgumentInternal Argument 2 ($str) is $stringA of type bool but \explode() takes string
  • includes/specials/SpecialMathDebug.php:112 PhanTypeMismatchArgumentInternal Argument 2 ($str) is $stringB of type bool but \explode() takes string
  • includes/specials/SpecialMathDebug.php:206 PhanTypeMismatchArgument Argument 3 ($mode) is $modeInt of type int but \MathRenderer::getRenderer() takes string defined at ../../extensions/Math/src/MathRenderer.php:152
  • includes/specials/SpecialMathDebug.php:211 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/specials/SpecialMathDownloadResult.php:47 PhanTypeSuspiciousStringExpression Suspicious type bool|false of a variable or expression used to build a string. (Expected type to be able to cast to a string)
  • includes/specials/SpecialMathDownloadResult.php:48 SecurityCheck-XSS Echoing expression that was not html escaped (Caused by: includes/specials/SpecialMathDownloadResult.php +26; includes/specials/SpecialMathDownloadResult.php +23; includes/specials/SpecialMathDownloadResult.php +22; includes/specials/SpecialMathDownloadResult.php +21; includes/specials/SpecialMathDownloa)
  • includes/specials/SpecialMathIndex.php:77 PhanUndeclaredClassMethod Call to method __construct from undeclared class \CreateMathIndex
  • includes/specials/SpecialMathIndex.php:78 PhanUndeclaredClassMethod Call to method loadParamsAndArgs from undeclared class \CreateMathIndex
  • includes/specials/SpecialMathIndex.php:81 PhanUndeclaredClassMethod Call to method execute from undeclared class \CreateMathIndex
  • includes/specials/SpecialMathSearch.php:231 PhanTypeMismatchArgumentInternal Argument 2 ($mode) is true of type true but \count() takes int
  • includes/specials/SpecialMathSearch.php:250 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/specials/SpecialMathSearch.php:258 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/specials/SpecialMathSearch.php:278 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/specials/SpecialMathSearch.php:313 PhanTypeMismatchReturnNullable Returning type ?\DOMNode but getElementById() is declared to return \DOMElement (expected returned value to be non-nullable)
  • includes/specials/SpecialMathSearch.php:356 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/specials/SpecialMathSearch.php:383 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/specials/SpecialMathSearch.php:408 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/specials/SpecialMlpEval.php:189 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/specials/SpecialMlpEval.php:195 PhanImpossibleTypeComparison Impossible attempt to check if $title of type \Title is identical to null of type null
  • includes/specials/SpecialMlpEval.php:241 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/specials/SpecialMlpEval.php:406 PhanTypeMismatchArgument Argument 3 ($formula) is $this->getSvgRenderingAsHtmlFragment() of type string but \SpecialMlpEval::printMathObjectInContext() takes bool|false defined at includes/specials/SpecialMlpEval.php:602
  • includes/specials/SpecialMlpEval.php:410 PhanTypeMismatchArgument Argument 4 ($filter) is 'SpecialMlpEval::removeSVGs' of type 'SpecialMlpEval::removeSVGs' but \SpecialMlpEval::printMathObjectInContext() takes bool|false defined at includes/specials/SpecialMlpEval.php:602
  • includes/specials/SpecialMlpEval.php:411 PhanTypeMismatchArgument Argument 3 ($formula) is $this->getMathMLRenderingAsHtmlFragment() of type string but \SpecialMlpEval::printMathObjectInContext() takes bool|false defined at includes/specials/SpecialMlpEval.php:602
  • includes/specials/SpecialMlpEval.php:539 PhanTypeMismatchArgument Argument 1 ($tex) is $tex of type false but \SpecialMlpEval::getMathMlRenderer() takes string defined at includes/specials/SpecialMlpEval.php:656
  • includes/specials/SpecialMlpEval.php:546 PhanTypeMismatchArgument Argument 1 ($tex) is $tex of type false but \SpecialMlpEval::getMathMlRenderer() takes string defined at includes/specials/SpecialMlpEval.php:656
  • includes/specials/SpecialMlpEval.php:616 PhanTypeMismatchArgument Argument 1 ($text) is $formula of type true but \OutputPage::addHTML() takes string defined at ../../includes/OutputPage.php:1597
  • includes/specials/SpecialMlpEval.php:627 PhanTypeMismatchArgumentInternal Argument 1 ($function) is $filter of type true but \call_user_func_array() takes callable
  • includes/specials/SpecialUploadResult.php:185 SecurityCheck-XSS Calling method \SpecialUploadResult::printResultRow() in \SpecialUploadResult::processInput that outputs using tainted argument $result. (Caused by: includes/specials/SpecialUploadResult.php +210) (Caused by: includes/specials/SpecialUploadResult.php +184)
  • includes/specials/SpecialUploadResult.php:255 SecurityCheck-XSS Calling method \OutputPage::addHTML() in \SpecialUploadResult::displayFeedback that outputs using tainted argument $[arg #1]. (Caused by: Builtin-\OutputPage::addHTML) (Caused by: includes/specials/SpecialUploadResult.php +254; includes/specials/SpecialUploadResult.php +252; includes/specials/SpecialUploadResult.php +253; includes/specials/SpecialUploadResult.php +252)
  • includes/specials/SpecialUploadResult.php:306 SecurityCheck-XSS Calling method \OutputPage::addHTML() in \SpecialUploadResult::displayFormulaFeedback that outputs using tainted argument $[arg #1]. (Caused by: Builtin-\OutputPage::addHTML) (Caused by: includes/specials/SpecialUploadResult.php +305; includes/specials/SpecialUploadResult.php +252; includes/specials/SpecialUploadResult.php +303; includes/specials/SpecialUploadResult.php +304; includes/specials/SpecialUploadResult.php +252; includes/specials/SpecialUploadResult.php +303)
  • includes/stackexchange/DumpReader.php:43 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/stackexchange/DumpReader.php:65 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/stackexchange/Field.php:139 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/stackexchange/Field.php:144 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/stackexchange/Field.php:147 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/stackexchange/Field.php:169 PhanUndeclaredClassMethod Call to method getDefaultInstance from undeclared class \Wikibase\Repo\WikibaseRepo
  • includes/stackexchange/Field.php:200 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/stackexchange/Field.php:206 PhanTypeVoidAssignment Cannot assign void return value
  • includes/stackexchange/Field.php:207 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/stackexchange/Field.php:208 PhanTypeSuspiciousStringExpression Suspicious type void of a variable or expression used to build a string. (Expected type to be able to cast to a string)
  • includes/stackexchange/Field.php:213 PhanTypeMismatchReturn Returning type array{}|non-empty-list<mixed> but getSnaks() is declared to return \Wikibase\DataModel\Snak\PropertyValueSnak
  • includes/stackexchange/Field.php:245 PhanTypePossiblyInvalidDimOffset Possibly invalid offset 'externalIdType' of array type array{propertyId?:'P10'|'P14'|'P16'|'P17'|'P18'|'P19'|'P20'|'P21'|'P22'|'P23'|'P24'|'P25'|'P26'|'P27'|'P28'|'P5'|'P6'|'P7'|'P9',externalIdType?:1|2,map?:array{1:'887',2:'888'},references?:'posts.Id'|'users.Id',excludeFromWb?:true,separator?:'/\x28&\x5blg\x5dt;\x7c\x3c\x7c\x3e\x7c\x2c\x29/'}
  • includes/stackexchange/Field.php:279 PhanTypeMismatchReturn Returning type array<int,string>|int|string|true but getExternalIdType() is declared to return null
  • includes/stackexchange/Formula.php:41 PhanUndeclaredClassMethod Call to method getDefaultInstance from undeclared class \Wikibase\Repo\WikibaseRepo
  • includes/stackexchange/IdMap.php:24 PhanUndeclaredClassMethod Call to method getDefaultInstance from undeclared class \Wikibase\Repo\WikibaseRepo
  • includes/stackexchange/LineReaderJob.php:29 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • includes/stackexchange/Row.php:32 PhanTypeMismatchArgumentInternal Argument 1 ($error_handler) is (unknown) of type Closure(mixed,mixed,mixed,mixed):void but \set_error_handler() takes callable(int,string):bool|callable(int,string,string):bool|callable(int,string,string,int):bool|callable(int,string,string,int,array):bool|null
  • includes/stackexchange/Row.php:67 PhanUndeclaredClassMethod Call to method getDefaultInstance from undeclared class \Wikibase\Repo\WikibaseRepo
  • includes/stackexchange/Row.php:94 PhanTypeMismatchArgument Argument 2 ($extIdType) is $id->getExternalIdType() of type null but \MathSearch\StackExchange\IdMap::addQid() takes int defined at includes/stackexchange/IdMap.php:48
  • includes/stackexchange/Row.php:110 PhanTypeNoAccessiblePropertiesForeach Class \Wikibase\DataModel\Snak\PropertyValueSnak was passed to foreach, but it does not extend Traversable and none of its declared properties are accessible from this context. (This check excludes dynamic properties)
  • includes/stackexchange/Row.php:133 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • maintenance/BatchImport.php:67 PhanTypeMismatchArgument Argument 1 ($csvFile) is fopen($file, 'r') of type false|resource but \ImportCsv::execute() takes string defined at includes/ImportCsv.php:53
  • maintenance/BatchImport.php:67 PhanTypeMismatchArgument Argument 2 ($runId) is $matches['runName'] of type string but \ImportCsv::execute() takes int|null defined at includes/ImportCsv.php:53
  • maintenance/CalculateDistances.php:65 SecurityCheck-SQLInjection Calling method \Wikimedia\Rdbms\DBConnRef::select() in \CalculateDistances::execute that outputs using tainted argument $[arg #3]. (Caused by: Builtin-\Wikimedia\Rdbms\DBConnRef::select) (Caused by: maintenance/CalculateDistances.php +60; maintenance/CalculateDistances.php +58; maintenance/CalculateDistances.php +62; maintenance/CalculateDistances.php +59)
  • maintenance/CalculateDistances.php:66 SecurityCheck-SQLInjection Calling method \Wikimedia\Rdbms\DBConnRef::select() in \CalculateDistances::execute that outputs using tainted argument $[arg #3]. (Caused by: Builtin-\Wikimedia\Rdbms\DBConnRef::select) (Caused by: maintenance/CalculateDistances.php +60; maintenance/CalculateDistances.php +58; maintenance/CalculateDistances.php +62; maintenance/CalculateDistances.php +59)
  • maintenance/CalculateDistances.php:70 SecurityCheck-SQLInjection Calling method \Wikimedia\Rdbms\DBConnRef::select() in \CalculateDistances::execute that outputs using tainted argument $conds. (Caused by: Builtin-\Wikimedia\Rdbms\DBConnRef::select) (Caused by: maintenance/CalculateDistances.php +60; maintenance/CalculateDistances.php +58; maintenance/CalculateDistances.php +62; maintenance/CalculateDistances.php +59)
  • maintenance/CalculateDistances.php:71 SecurityCheck-SQLInjection Calling method \Wikimedia\Rdbms\DBConnRef::select() in \CalculateDistances::execute that outputs using tainted argument $conds. (Caused by: Builtin-\Wikimedia\Rdbms\DBConnRef::select) (Caused by: maintenance/CalculateDistances.php +60; maintenance/CalculateDistances.php +58; maintenance/CalculateDistances.php +62; maintenance/CalculateDistances.php +59)
  • maintenance/CreateBaseXMathTable.php:35 PhanUndeclaredTypeProperty Property \CreateBaseXMathTable->session has undeclared type \BaseXSession
  • maintenance/CreateBaseXMathTable.php:91 PhanUndeclaredClassMethod Call to method execute from undeclared class \BaseXSession
  • maintenance/CreateBaseXMathTable.php:107 PhanUndeclaredClassMethod Call to method __construct from undeclared class \BaseXSession
  • maintenance/CreateBaseXMathTable.php:109 PhanUndeclaredClassMethod Call to method execute from undeclared class \BaseXSession
  • maintenance/CreateBaseXMathTable.php:111 PhanUndeclaredClassMethod Call to method execute from undeclared class \BaseXSession
  • maintenance/CreateBaseXMathTable.php:117 PhanUndeclaredClassMethod Call to method close from undeclared class \BaseXSession
  • maintenance/CreateDB2MathTable.php:49 PhanUndeclaredMethod Call to undeclared method \CreateDB2MathTable::getMd5 (Did you mean expr->getDB())
  • maintenance/CreateDB2MathTable.php:50 PhanUndeclaredMethod Call to undeclared method \CreateDB2MathTable::getTex
  • maintenance/CreateDB2MathTable.php:53 PhanUndeclaredMethod Call to undeclared method \CreateDB2MathTable::getMathml
  • maintenance/CreateDB2MathTable.php:56 PhanUndeclaredMethod Call to undeclared method \CreateDB2MathTable::getMd5 (Did you mean expr->getDB())
  • maintenance/CreateDB2MathTable.php:57 PhanUndeclaredMethod Call to undeclared method \CreateDB2MathTable::getTex
  • maintenance/CreateDB2MathTable.php:60 PhanUndeclaredMethod Call to undeclared method \CreateDB2MathTable::getMathml
  • maintenance/ExportCache.php:98 SecurityCheck-SQLInjection Calling method \ExportMathCache::getMathTagsFromDatabase() in \ExportMathCache::execute that outputs using tainted argument $table. (Caused by: maintenance/ExportCache.php +70) (Caused by: maintenance/ExportCache.php +91)
  • maintenance/ExtractFeatures.php:69 PhanTypeSuspiciousStringExpression Suspicious type false of a variable or expression used to build a string. (Expected type to be able to cast to a string)
  • maintenance/ExtractFeatures.php:91 PhanTypeInvalidRightOperandOfAdd Invalid operator: right operand of += is \number (expected array or number)
  • maintenance/ExtractFeatures.php:91 PhanTypeMismatchArgument Argument 2 ($pText) is $revtext of type \MediaWiki\Revision\RevisionRecord|\MediaWiki\Storage\RevisionRecord but \ExtractFeatures::doUpdate() takes string defined at maintenance/ExtractFeatures.php:140
  • maintenance/ExtractFeatures.php:140 PhanParamReqAfterOpt Required argument follows optional
  • maintenance/ExtractFeatures.php:140 PhanUndeclaredTypeReturnType Return type of doUpdate() is undeclared type \number
  • maintenance/ExtractFeatures.php:153 PhanTypeMismatchReturn Returning type non-zero-int but doUpdate() is declared to return \number
  • maintenance/ExtractFeatures.php:155 PhanTypeMismatchReturn Returning type 0 but doUpdate() is declared to return \number
  • maintenance/GenerateFeatureTable.php:81 PhanTypeInvalidRightOperandOfAdd Invalid operator: right operand of += is \number (expected array or number)
  • maintenance/GenerateFeatureTable.php:98 PhanUndeclaredTypeReturnType Return type of doUpdate() is undeclared type \number
  • maintenance/GenerateFeatureTable.php:119 PhanTypeMismatchReturn Returning type 0 but doUpdate() is declared to return \number
  • maintenance/GenerateWorkload.php:59 PhanUndeclaredMethod Call to undeclared method \GenerateWorkload::saveToDatabase
  • maintenance/GenerateWorkload.php:60 PhanUndeclaredMethod Call to undeclared method \GenerateWorkload::exportTexDocument
  • maintenance/GenerateWorkload.php:81 PhanTypeMismatchArgument Argument 3 ($conds) is true of type true but \Wikimedia\Rdbms\DBConnRef::select() takes array|string defined at ../../includes/libs/rdbms/database/DBConnRef.php:309
  • maintenance/ImportStackExchangeDump.php:69 PhanTypeMismatchArgument Argument 1 ($file) is $file of type \DirectoryIterator|\FilesystemIterator|\Iterator|\SeekableIterator|\SplFileInfo|\Traversable|iterable|string but \MathSearch\StackExchange\DumpReader::__construct() takes \SplFileObject defined at includes/stackexchange/DumpReader.php:30
  • maintenance/IndexBase.php:98 SecurityCheck-SQLInjection Calling method \Wikimedia\Rdbms\DBConnRef::select() in \IndexBase::execute that outputs using tainted argument $[arg #3]. (Caused by: Builtin-\Wikimedia\Rdbms\DBConnRef::select)
  • maintenance/IndexBase.php:99 SecurityCheck-SQLInjection Calling method \Wikimedia\Rdbms\DBConnRef::select() in \IndexBase::execute that outputs using tainted argument $[arg #3]. (Caused by: Builtin-\Wikimedia\Rdbms\DBConnRef::select)
  • maintenance/IndexBase.php:116 PhanTypeMismatchArgumentInternalProbablyReal Argument 2 ($mode) is '0755' of type '0755' but \mkdir() takes int
  • maintenance/MathPerformance.php:83 SecurityCheck-SQLInjection Calling method \MathPerformance::getFormulae() in \MathPerformance::actionExport that outputs using tainted argument $hash. (Caused by: maintenance/MathPerformance.php +118) (Caused by: maintenance/MathPerformance.php +82)
  • maintenance/MathPerformance.php:83 SecurityCheck-SQLInjection Calling method \MathPerformance::getFormulae() in \MathPerformance::actionExport that outputs using tainted argument $tex. (Caused by: maintenance/MathPerformance.php +118) (Caused by: maintenance/MathPerformance.php +81)
  • maintenance/MathPerformance.php:111 SecurityCheck-SQLInjection Calling method \Wikimedia\Rdbms\IDatabase::selectField() in \MathPerformance::getFormulae that outputs using tainted argument $table. (Caused by: Builtin-\Wikimedia\Rdbms\IDatabase::selectField) (Caused by: maintenance/MathPerformance.php +106)
  • maintenance/MathPerformance.php:118 SecurityCheck-SQLInjection Calling method \Wikimedia\Rdbms\IDatabase::select() in \MathPerformance::getFormulae that outputs using tainted argument $table. (Caused by: Builtin-\Wikimedia\Rdbms\IDatabase::select) (Caused by: maintenance/MathPerformance.php +106)
  • maintenance/MathPerformance.php:131 SecurityCheck-SQLInjection Calling method \MathPerformance::getFormulae() in \MathPerformance::actionBenchmark that outputs using tainted argument $hash. (Caused by: maintenance/MathPerformance.php +118) (Caused by: maintenance/MathPerformance.php +130)
  • maintenance/MathPerformance.php:131 SecurityCheck-SQLInjection Calling method \MathPerformance::getFormulae() in \MathPerformance::actionBenchmark that outputs using tainted argument $tex. (Caused by: maintenance/MathPerformance.php +118) (Caused by: maintenance/MathPerformance.php +129)
  • maintenance/MathPerformance.php:134 PhanTypeMismatchArgument Argument 2 ($type) is false of type false but \MathRestbaseInterface::__construct() takes string defined at ../../extensions/Math/src/MathRestbaseInterface.php:33
  • maintenance/MathPerformance.php:206 SecurityCheck-SQLInjection Calling method \MathPerformance::getFormulae() in \MathPerformance::actionPng that outputs using tainted argument $hash. (Caused by: maintenance/MathPerformance.php +118) (Caused by: maintenance/MathPerformance.php +204)
  • maintenance/MathPerformance.php:206 SecurityCheck-SQLInjection Calling method \MathPerformance::getFormulae() in \MathPerformance::actionPng that outputs using tainted argument $tex. (Caused by: maintenance/MathPerformance.php +118) (Caused by: maintenance/MathPerformance.php +203)
  • maintenance/MathPerformance.php:222 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • maintenance/MathPerformance.php:229 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • maintenance/MathPerformance.php:245 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • maintenance/MathPerformance.php:260 PhanRedefinedClassReference Saw reference to \Psr\Log\LoggerInterface declared at ../../vendor/psr/log/Psr/Log/LoggerInterface.php:20 which is also declared at ../../extensions/Math/vendor/psr/log/Psr/Log/LoggerInterface.php:20. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file.
  • maintenance/MathPerformance.php:282 PhanTypeMismatchArgumentInternalProbablyReal Argument 2 ($mode) is '0755' of type '0755' but \mkdir() takes int
  • maintenance/QueryEval.php:37 PhanTypeMismatchArgument Argument 1 ($db) is $db of type \IDatabase|\Wikimedia\Rdbms\IDatabase|string but \MySqlFunctionDropper::__construct() takes \Wikimedia\Rdbms\IMaintainableDatabase defined at ../../includes/installer/DatabaseUpdater.php:112
  • maintenance/QueryEval.php:49 PhanTypeMissingReturn Method \MySqlFunctionDropper::dropFunction is declared to return bool in phpdoc but has no return value
  • maintenance/QueryEval.php:73 PhanTypeMismatchArgument Argument 1 ($db) is $dbw of type \DBConnRef|\IDatabase|\Wikimedia\Rdbms\DBConnRef|\Wikimedia\Rdbms\IDatabase|string but \DatabaseUpdater::newForDB() takes \Wikimedia\Rdbms\IMaintainableDatabase defined at ../../includes/installer/DatabaseUpdater.php:186
  • maintenance/UpdateMath.php:136 PhanTypeInvalidRightOperandOfAdd Invalid operator: right operand of += is \number (expected array or number)
  • maintenance/UpdateMath.php:136 PhanTypeMismatchArgument Argument 2 ($pText) is $revText of type \MediaWiki\Revision\RevisionRecord|\MediaWiki\Storage\RevisionRecord but \UpdateMath::doUpdate() takes string defined at maintenance/UpdateMath.php:157
  • maintenance/UpdateMath.php:157 PhanUndeclaredTypeReturnType Return type of doUpdate() is undeclared type \number
  • maintenance/UpdateMath.php:180 PhanParamTooMany Call with 1 arg(s) to \MathRenderer::render() which only takes 0 arg(s) defined at ../../extensions/Math/src/MathRenderer.php:201
  • maintenance/UpdateMath.php:202 PhanParamTooMany Call with 1 arg(s) to \MathRenderer::writeCache() which only takes 0 arg(s) defined at ../../extensions/Math/src/MathRenderer.php:446
  • maintenance/UpdateMath.php:209 PhanTypeMismatchArgument Argument 1 ($id) is $eId of type null but \MathSearchHooks::setMathId() takes int defined at includes/MathSearchHooks.php:126
  • maintenance/UpdateMath.php:215 PhanPossiblyUndeclaredVariable Variable $eId is possibly undeclared
  • maintenance/UpdateMath.php:224 PhanTypeMismatchReturn Returning type non-zero-int but doUpdate() is declared to return \number
  • maintenance/UpdateMath.php:226 PhanTypeMismatchReturn Returning type 0 but doUpdate() is declared to return \number
Sun, Jun 21, 11:01 AM · Patch-For-Review, MathSearch
Physikerwelt added a comment to T255937: Enable Phan for MW:MathSearch.

One of the issues is that phan doesn't know about the Math extension and that it is supposed to be loaded - that should take care of most of the failures

Sun, Jun 21, 10:55 AM · Patch-For-Review, MathSearch
Physikerwelt added a comment to T255937: Enable Phan for MW:MathSearch.

Just for the reference. This requires php ast https://github.com/physikerwelt/mediawiki-docker/commit/40f9f40f4bf1adf5397d0da48d8eb72e7fbaf540

Sun, Jun 21, 10:44 AM · Patch-For-Review, MathSearch
Physikerwelt added a comment to T255937: Enable Phan for MW:MathSearch.

@DannyS712 is there something like a phan-fix? Fixing 345 issues manually seems quite a bit of effort.

Sun, Jun 21, 10:36 AM · Patch-For-Review, MathSearch
Physikerwelt added a comment to T255937: Enable Phan for MW:MathSearch.

There are quite a few issues:

Sun, Jun 21, 10:34 AM · Patch-For-Review, MathSearch
Physikerwelt moved T255937: Enable Phan for MW:MathSearch from Backlog to Doing on the MathSearch board.
Sun, Jun 21, 10:30 AM · Patch-For-Review, MathSearch
Physikerwelt triaged T255937: Enable Phan for MW:MathSearch as Medium priority.
Sun, Jun 21, 10:30 AM · Patch-For-Review, MathSearch
Physikerwelt created T255937: Enable Phan for MW:MathSearch.
Sun, Jun 21, 10:29 AM · Patch-For-Review, MathSearch
Physikerwelt added a comment to T255154: MathSearch CI jobs fail.

It is broken since https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/MathSearch/+/603791/ was forcefully merged. I don't know why?

Sun, Jun 21, 8:24 AM · Core Platform Team Workboards (External Code Reviews), User-DannyS712, ci-test-error, MathSearch

Fri, Jun 19

Physikerwelt added a comment to T239359: Organize the open tasks for Project Math.

In addition, it would be good to create or reuse a tag for non-wmf installations, such as T253680 T249881 T242919 T233641 T231101 T200493.

Fri, Jun 19, 8:29 PM · PM, Project-Admins, Math
Physikerwelt added a comment to T239359: Organize the open tasks for Project Math.

@Aklapper thank you very much. I like Option 2

Fri, Jun 19, 8:17 PM · PM, Project-Admins, Math
Physikerwelt moved T252753: Single '\%' math tag generates false positive in the deprecated syntax detection from Incoming to Next-up on the Math board.
Fri, Jun 19, 7:50 PM · Math
Physikerwelt added a comment to T231970: Add information about the new API endpoint and the special page to mw.org's Extension:Math.

@Andreg-p What is missing here exactly?

Fri, Jun 19, 7:50 PM · Documentation, Math
Physikerwelt moved T208758: Display popups for annotated <math> tags from Incoming to Blocked: needs help on the Math board.
Fri, Jun 19, 7:49 PM · MW-1.35-notes (1.35.0-wmf.8; 2019-11-26), Math, Core Platform Team Workboards (Clinic Duty Team), Readers-Web-Backlog (Needs Product Owner Decisions), Patch-For-Review, Page-Previews
Physikerwelt moved T252389: Prepare Math extension for MathJax from Incoming to Next-up on the Math board.
Fri, Jun 19, 7:48 PM · Math
Physikerwelt moved T254031: Enable mediawiki-quibble-apitests-vendor-docker for extension Math from Incoming to Blocked: needs help on the Math board.
Fri, Jun 19, 7:48 PM · Core Platform Team, Math, Continuous-Integration-Config
Physikerwelt moved T255807: Implement formula endpoint using the MW:Rest-API from Incoming to Blocked: needs help on the Math board.
Fri, Jun 19, 7:48 PM · Core Platform Team Workboards (External Code Reviews), Patch-For-Review, Math
Physikerwelt moved T255808: Implement render endpoint using the MW:Rest-API from Incoming to Blocked: needs help on the Math board.
Fri, Jun 19, 7:48 PM · Core Platform Team Workboards (External Code Reviews), Patch-For-Review, User-Physikerwelt, Math
Physikerwelt moved T207535: Rendering of \oinit very dense from Doing to Blocked: needs help on the Math board.
Fri, Jun 19, 7:47 PM · Core Platform Team Workboards (External Code Reviews), User-Physikerwelt, Patch-For-Review, Math
Physikerwelt placed T207535: Rendering of \oinit very dense up for grabs.
Fri, Jun 19, 7:47 PM · Core Platform Team Workboards (External Code Reviews), User-Physikerwelt, Patch-For-Review, Math
Physikerwelt added a comment to T208758: Display popups for annotated <math> tags.

@Andreg-p @alexhollender I am not sure if this process fruitful. Can you imagine some other way to bypass the regular popups extension and just use some well established JS library to create a custom popup? I think for example https://atomiks.github.io/tippyjs/ could be copied to the math extensions lib folder. See the visual editor repo for an example https://github.com/wikimedia/VisualEditor/blob/master/lib/jquery/jquery.js (here the jquery library). I think with this approach we could generate even more specific popups.

Fri, Jun 19, 5:15 PM · MW-1.35-notes (1.35.0-wmf.8; 2019-11-26), Math, Core Platform Team Workboards (Clinic Duty Team), Readers-Web-Backlog (Needs Product Owner Decisions), Patch-For-Review, Page-Previews
Physikerwelt claimed T207535: Rendering of \oinit very dense.
Fri, Jun 19, 4:40 PM · Core Platform Team Workboards (External Code Reviews), User-Physikerwelt, Patch-For-Review, Math

Thu, Jun 18

Physikerwelt added a project to T255808: Implement render endpoint using the MW:Rest-API: Core Platform Team.
Thu, Jun 18, 6:33 PM · Core Platform Team Workboards (External Code Reviews), Patch-For-Review, User-Physikerwelt, Math
Physikerwelt placed T255807: Implement formula endpoint using the MW:Rest-API up for grabs.
Thu, Jun 18, 6:32 PM · Core Platform Team Workboards (External Code Reviews), Patch-For-Review, Math
Physikerwelt closed T255782: Technical Advice: How to output binary (image) data using the MediaWiki\Rest API?, a subtask of T255808: Implement render endpoint using the MW:Rest-API, as Resolved.
Thu, Jun 18, 6:28 PM · Core Platform Team Workboards (External Code Reviews), Patch-For-Review, User-Physikerwelt, Math
Physikerwelt closed T255782: Technical Advice: How to output binary (image) data using the MediaWiki\Rest API? as Resolved.
Thu, Jun 18, 6:28 PM · Math
Physikerwelt added a subtask for T255808: Implement render endpoint using the MW:Rest-API: T255782: Technical Advice: How to output binary (image) data using the MediaWiki\Rest API?.
Thu, Jun 18, 6:27 PM · Core Platform Team Workboards (External Code Reviews), Patch-For-Review, User-Physikerwelt, Math
Physikerwelt added a parent task for T255782: Technical Advice: How to output binary (image) data using the MediaWiki\Rest API?: T255808: Implement render endpoint using the MW:Rest-API.
Thu, Jun 18, 6:27 PM · Math
Physikerwelt renamed T255808: Implement render endpoint using the MW:Rest-API from Implement renderendpoint using the MW:Rest-API to Implement render endpoint using the MW:Rest-API.
Thu, Jun 18, 6:07 PM · Core Platform Team Workboards (External Code Reviews), Patch-For-Review, User-Physikerwelt, Math
Physikerwelt created T255808: Implement render endpoint using the MW:Rest-API.
Thu, Jun 18, 6:06 PM · Core Platform Team Workboards (External Code Reviews), Patch-For-Review, User-Physikerwelt, Math
Physikerwelt created T255807: Implement formula endpoint using the MW:Rest-API.
Thu, Jun 18, 6:04 PM · Core Platform Team Workboards (External Code Reviews), Patch-For-Review, Math
Physikerwelt added a comment to T239359: Organize the open tasks for Project Math.

I guess "labels" = "project tags"? That means to create #Math-Chemistry and Math-Macro-Proposals or something like that? In any case, we will need project descriptions for these. Or where to find more info. :)

Thu, Jun 18, 6:00 PM · PM, Project-Admins, Math
Physikerwelt reassigned T255782: Technical Advice: How to output binary (image) data using the MediaWiki\Rest API? from Physikerwelt to Tgr.

Solved by @Tgr on irc. My iterm solution looks like this

				$response->setHeader( 'Content-Type', self::PNG_TYPE );
				$stream = fopen( 'php://memory', 'w' );
				$stream_obj = new Stream( $stream );
				$response->setBody( $stream_obj );
				foreach ( $payload->body->data as $byte ) {
					$stream_obj->write(chr($byte));
				}

So one needs to keep the stream open until the response has been sent.

Thu, Jun 18, 5:06 PM · Math
Physikerwelt added a comment to T255782: Technical Advice: How to output binary (image) data using the MediaWiki\Rest API?.

In T221177 it is said:

Thu, Jun 18, 4:47 PM · Math
Physikerwelt created T255782: Technical Advice: How to output binary (image) data using the MediaWiki\Rest API?.
Thu, Jun 18, 3:35 PM · Math

Jun 4 2020

Physikerwelt committed rEMASa36507128caf: ArqMATH: Add endpoint to get the postId from a formulaId (authored by Physikerwelt).
ArqMATH: Add endpoint to get the postId from a formulaId
Jun 4 2020, 4:19 PM
Physikerwelt updated subscribers of T245170: Revisit timeouts, concurrency limits in remote HTTP calls from MediaWiki.

What do you think about implementing a bot that checks that depends-on-changes also increase the respective version number in extension.json?
For instance, extension math currently requires "MediaWiki": ">= 1.32.0".
In https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Math/+/597679/, which was merged 3h after it was published (which gives extension maintainer little time to look at the change) the effective dependency was changed to 1.35...
I discovered that by chance since it caused problems with my server. All non-cached pages did display Internal error.
While it is not a big issue to me, it might be to people that do not know what to do if they see internal errors.
@Mglaser is this a concern for MediaWiki Stakeholders or am I seeing a problem here, that does not exist?

Jun 4 2020, 6:54 AM · MW-1.35-notes (1.35.0-wmf.37; 2020-06-16), Patch-For-Review, Core Platform Team Workboards (Clinic Duty Team), Sustainability (Incident Prevention), MediaWiki-General, Operations, serviceops
Physikerwelt awarded T245170: Revisit timeouts, concurrency limits in remote HTTP calls from MediaWiki a The World Burns token.
Jun 4 2020, 6:38 AM · MW-1.35-notes (1.35.0-wmf.37; 2020-06-16), Patch-For-Review, Core Platform Team Workboards (Clinic Duty Team), Sustainability (Incident Prevention), MediaWiki-General, Operations, serviceops
Physikerwelt added a comment to T163155: MathRestbaseInterface.php: TeX input is invalid..

This also happens in Wikimedia production today. Should this raise an exception on bad user input (if I'm reading this right)?

Jun 4 2020, 6:33 AM · Wikimedia-production-error, Math

Jun 3 2020

Physikerwelt added a comment to T239359: Organize the open tasks for Project Math.

@Aklapper sorry for the long silence. Could you please remove the columns you mentioned? I could not find a button for that. Looking at all the columns I think labels are sufficient. Let's try to keep things as simple as possible. Maybe we can create a label for

  • Chemistry
  • New Macro Proposals

For experiments, we can use research ideas and for SVG we could use Wikimedia SVG rendering. Does that make sense?

Jun 3 2020, 6:20 AM · PM, Project-Admins, Math
Physikerwelt added a project to T119300: Make json_decode type save: Research ideas.
Jun 3 2020, 6:18 AM · Research ideas, MathSearch, Math
Physikerwelt closed T250783: Import about 10M values to personal wikibase instance as Resolved.

This is now part of MathSearch.

Jun 3 2020, 6:05 AM · Patch-For-Review, User-Physikerwelt
Physikerwelt closed T252390: Implement check endpoint using the MW:Rest-API, a subtask of T252389: Prepare Math extension for MathJax, as Resolved.
Jun 3 2020, 6:04 AM · Math
Physikerwelt closed T252390: Implement check endpoint using the MW:Rest-API as Resolved.
Jun 3 2020, 6:04 AM · MW-1.35-notes (1.35.0-wmf.35; 2020-06-02), Core Platform Team Workboards (External Code Reviews), Wikimedia-Hackathon-2020, CPT Initiatives (Core REST API in PHP), Math
Physikerwelt placed T254031: Enable mediawiki-quibble-apitests-vendor-docker for extension Math up for grabs.

We think this is big enough that it should be its own small project.

Jun 3 2020, 5:50 AM · Core Platform Team, Math, Continuous-Integration-Config

May 30 2020

Physikerwelt created T254056: Make LaTeX error message exceptions localizable.
May 30 2020, 7:27 AM · Math, Texvcjs

May 29 2020

Physikerwelt created T254031: Enable mediawiki-quibble-apitests-vendor-docker for extension Math.
May 29 2020, 6:45 PM · Core Platform Team, Math, Continuous-Integration-Config

May 26 2020

Physikerwelt triaged T252832: wikibase-docker Quickstatements does not actually write data to wikibase as High priority.
May 26 2020, 9:54 AM · Wikibase-Containers, Wikidata
Physikerwelt added a project to T253613: Improve FactoryArgTestTrait: Core Platform Team.

Done. I also added the CPT tag so that the task is triaged.

May 26 2020, 9:11 AM · Core Platform Team Workboards (Clinic Duty Team), User-DannyS712
Physikerwelt added a project to T253613: Improve FactoryArgTestTrait: User-DannyS712.
May 26 2020, 8:18 AM · Core Platform Team Workboards (Clinic Duty Team), User-DannyS712
Physikerwelt removed projects from T253613: Improve FactoryArgTestTrait: User-DannyS712, MW-1.35-notes (1.35.0-wmf.34; 2020-05-26), CPT Initiatives (Core REST API in PHP).

@DannyS712 can you check it this ticket is the ticket you were asking for during code review of https://gerrit.wikimedia.org/r/#/q/Ifa7d943875f05088ef697a5a18ad292342a9b4ad ?

May 26 2020, 8:18 AM · Core Platform Team Workboards (Clinic Duty Team), User-DannyS712
Physikerwelt reassigned T253613: Improve FactoryArgTestTrait from Physikerwelt to DannyS712.
May 26 2020, 8:16 AM · Core Platform Team Workboards (Clinic Duty Team), User-DannyS712
Physikerwelt created T253613: Improve FactoryArgTestTrait.
May 26 2020, 8:13 AM · Core Platform Team Workboards (Clinic Duty Team), User-DannyS712

May 22 2020

Physikerwelt committed rEMAS8f093d42d1df: Performance: Reduce DB writes (authored by Physikerwelt).
Performance: Reduce DB writes
May 22 2020, 11:38 PM
Physikerwelt committed rEMAS9c8d576619c4: Fix row serialization issues (authored by Physikerwelt).
Fix row serialization issues
May 22 2020, 9:51 PM

May 15 2020

Physikerwelt updated subscribers of T252832: wikibase-docker Quickstatements does not actually write data to wikibase.
May 15 2020, 12:37 PM · Wikibase-Containers, Wikidata

May 14 2020

Physikerwelt created T252832: wikibase-docker Quickstatements does not actually write data to wikibase.
May 14 2020, 9:39 PM · Wikibase-Containers, Wikidata
Physikerwelt updated the task description for T252753: Single '\%' math tag generates false positive in the deprecated syntax detection.
May 14 2020, 8:59 AM · Math
Physikerwelt created T252753: Single '\%' math tag generates false positive in the deprecated syntax detection.
May 14 2020, 8:57 AM · Math

May 13 2020

Physikerwelt committed rEMAS452d7b28ecf4: Use a real XML parser to parse XML content (authored by Physikerwelt).
Use a real XML parser to parse XML content
May 13 2020, 4:51 PM
Physikerwelt committed rEMAS9531cee9aee8: Use real xml reader for posts (authored by Physikerwelt).
Use real xml reader for posts
May 13 2020, 6:47 AM

May 12 2020

Physikerwelt triaged T252590: How to give feedback regarding DI? as Lowest priority.
May 12 2020, 7:52 PM · Dependency injection, Documentation
Physikerwelt created T252590: How to give feedback regarding DI?.
May 12 2020, 7:52 PM · Dependency injection, Documentation
Physikerwelt triaged T252587: Improve developer guidelines and documentation for MW REST API framework as Low priority.
May 12 2020, 7:44 PM · Documentation
Physikerwelt created T252587: Improve developer guidelines and documentation for MW REST API framework.
May 12 2020, 7:44 PM · Documentation

May 11 2020

Physikerwelt added a project to T252390: Implement check endpoint using the MW:Rest-API: Core Platform Team.

(@WDoranWMF|Core Platform Team) this is the work I did during the Hackathon. I spend most of the time reading the documentation of the new features built into MediaWiki. Thus it will require a bit more work to review and revise the design.

May 11 2020, 3:54 PM · MW-1.35-notes (1.35.0-wmf.35; 2020-06-02), Core Platform Team Workboards (External Code Reviews), Wikimedia-Hackathon-2020, CPT Initiatives (Core REST API in PHP), Math
Physikerwelt set the point value for T252390: Implement check endpoint using the MW:Rest-API to 10.
May 11 2020, 10:08 AM · MW-1.35-notes (1.35.0-wmf.35; 2020-06-02), Core Platform Team Workboards (External Code Reviews), Wikimedia-Hackathon-2020, CPT Initiatives (Core REST API in PHP), Math
Physikerwelt moved T252390: Implement check endpoint using the MW:Rest-API from Incoming to Doing on the Math board.
May 11 2020, 10:08 AM · MW-1.35-notes (1.35.0-wmf.35; 2020-06-02), Core Platform Team Workboards (External Code Reviews), Wikimedia-Hackathon-2020, CPT Initiatives (Core REST API in PHP), Math
Physikerwelt removed a project from T237516: Update to MathJax 3: Wikimedia-Hackathon-2020.
May 11 2020, 10:07 AM · Math, Core Platform Team (Icebox), RESTBase-API, Mathoid
Physikerwelt added a project to T252390: Implement check endpoint using the MW:Rest-API: Wikimedia-Hackathon-2020.
May 11 2020, 10:07 AM · MW-1.35-notes (1.35.0-wmf.35; 2020-06-02), Core Platform Team Workboards (External Code Reviews), Wikimedia-Hackathon-2020, CPT Initiatives (Core REST API in PHP), Math
Physikerwelt created T252390: Implement check endpoint using the MW:Rest-API.
May 11 2020, 10:06 AM · MW-1.35-notes (1.35.0-wmf.35; 2020-06-02), Core Platform Team Workboards (External Code Reviews), Wikimedia-Hackathon-2020, CPT Initiatives (Core REST API in PHP), Math
Physikerwelt created T252389: Prepare Math extension for MathJax.
May 11 2020, 9:55 AM · Math

May 10 2020

Physikerwelt committed rEMAS2f88b4aaa29c: Make SimpleXML throw exceptions (authored by Physikerwelt).
Make SimpleXML throw exceptions
May 10 2020, 6:55 AM

May 9 2020

Physikerwelt committed rEMASf45d9da3d730: Performance: Do not submit all jobs at the same time (authored by Physikerwelt).
Performance: Do not submit all jobs at the same time
May 9 2020, 7:28 PM
Physikerwelt committed rEMASe12cd7a9d47a: Importer for StackExchange posts (step 1) (authored by Physikerwelt).
Importer for StackExchange posts (step 1)
May 9 2020, 11:57 AM
Physikerwelt added a project to T237516: Update to MathJax 3: Wikimedia-Hackathon-2020.
May 9 2020, 10:05 AM · Math, Core Platform Team (Icebox), RESTBase-API, Mathoid