Page MenuHomePhabricator

alex-mashin (alex-mashin)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Nov 29 2014, 10:11 AM (347 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Alex Mashin [ Global Accounts ]

Recent Activity

Wed, Jul 28

alex-mashin added a comment to T287328: Allow use of prepared SQL statements in {{#get_db_data:}}.

What if the admin put in something like "DELETE * FROM Table" into the prepared statement - would the code check against that? Or is it assumed that an admin would not sabotage his own system?

Yes, this is the assumption. Anyone with access to PHP code and database credentials can send a DROP query, even without *ExternalData* extension.

Wed, Jul 28, 4:40 AM · MediaWiki-extensions-ExternalData
alex-mashin added a comment to T287328: Allow use of prepared SQL statements in {{#get_db_data:}}.

Sorry for the delay. I don't understand the last thing you wrote: "arbitrary SQL queries are effectively disallowed". Would this change remove support for the standard #get_db_data approach?

If LocalSettings.php defines one or more prepared statements for a database connection, then for that connection only those prepared statements can be invoked by {{#get_db_data:}}, and arbitrary queries will not be allowed for them. For such connections, the task of writing SQL queries is transferred to the *MediaWiki* server administrator.

Wed, Jul 28, 3:15 AM · MediaWiki-extensions-ExternalData

Sat, Jul 24

alex-mashin updated the task description for T287328: Allow use of prepared SQL statements in {{#get_db_data:}}.
Sat, Jul 24, 2:46 PM · MediaWiki-extensions-ExternalData
alex-mashin updated the task description for T287328: Allow use of prepared SQL statements in {{#get_db_data:}}.
Sat, Jul 24, 2:44 PM · MediaWiki-extensions-ExternalData
alex-mashin created T287328: Allow use of prepared SQL statements in {{#get_db_data:}}.
Sat, Jul 24, 2:43 PM · MediaWiki-extensions-ExternalData

Wed, Jul 21

alex-mashin updated the task description for T287101: Enable {{#get_db_data:}} to connect to MS SQL Server.
Wed, Jul 21, 4:40 PM · MSSQL, MediaWiki-extensions-ExternalData
alex-mashin created T287101: Enable {{#get_db_data:}} to connect to MS SQL Server.
Wed, Jul 21, 4:39 PM · MSSQL, MediaWiki-extensions-ExternalData

May 16 2021

alex-mashin claimed T282976: get_web_data seems to return empty when called from PageForms and resets existing entries..
May 16 2021, 8:11 PM · MediaWiki-extensions-ExternalData

Apr 16 2021

alex-mashin added a comment to T280250: Clean up duplicate Developer accounts created by Alex Mashin.

No, only the user themselves can do that by logging into Phabricator via their mw.org/SUL account and removing their LDAP account from their Phab account at https://phabricator.wikimedia.org/settings/panel/external/

I have removed the only LDAP external account from my (Alex Mashin) Phabricator account.

Apr 16 2021, 4:13 PM · User-bd808, LDAP, wikitech.wikimedia.org
alex-mashin added a comment to T280250: Clean up duplicate Developer accounts created by Alex Mashin.

Yes please, as Alex Mashin.

Apr 16 2021, 4:21 AM · User-bd808, LDAP, wikitech.wikimedia.org

Apr 15 2021

alex-mashin added a comment to T280250: Clean up duplicate Developer accounts created by Alex Mashin.

I confirm the request and thank @Kizule for the trouble he took.

Apr 15 2021, 2:01 PM · User-bd808, LDAP, wikitech.wikimedia.org

Apr 14 2021

alex-mashin updated subscribers of T279814: ValidGlobalNameSniff assumes that allowed global variable name prefix always consists of two characters.
Apr 14 2021, 2:01 AM · MediaWiki-Codesniffer

Apr 10 2021

alex-mashin claimed T279814: ValidGlobalNameSniff assumes that allowed global variable name prefix always consists of two characters.
Apr 10 2021, 7:36 AM · MediaWiki-Codesniffer
alex-mashin renamed T279814: ValidGlobalNameSniff assumes that allowed global variable name prefix always consists of two characters from ValidGlobalNameSniff assumes that allowed global variable name prefix alway consists of two characters to ValidGlobalNameSniff assumes that allowed global variable name prefix always consists of two characters.
Apr 10 2021, 7:11 AM · MediaWiki-Codesniffer
alex-mashin created T279814: ValidGlobalNameSniff assumes that allowed global variable name prefix always consists of two characters.
Apr 10 2021, 7:11 AM · MediaWiki-Codesniffer

Apr 9 2021

alex-mashin closed T278661: Underlying SimpleXMLElement::xpath fails for docs with default namespace xmlns as Resolved.
Apr 9 2021, 8:30 PM · MediaWiki-extensions-ExternalData
alex-mashin added a comment to T278661: Underlying SimpleXMLElement::xpath fails for docs with default namespace xmlns.

Parameter 'default xmlns prefix' is added to be used as default prefix for xmlns when no prefix is provided in the XML.

Apr 9 2021, 8:29 PM · MediaWiki-extensions-ExternalData
alex-mashin added a comment to T243667: Cannot log in when username contains spaces in PHP 7.4: "wrong username or password".

We are having this problem on https://lokalhistoriewiki.no/ after upgrading from 1.31 to 1.35.1. The PHP version is 7.4.16. Any idea how to fix it?

Try purging the browser cache and cookies.

Apr 9 2021, 5:58 PM · Upstream, PHP 7.4 support, MediaWiki-User-login-and-signup

Mar 29 2021

alex-mashin updated subscribers of T278661: Underlying SimpleXMLElement::xpath fails for docs with default namespace xmlns.
Mar 29 2021, 5:42 AM · MediaWiki-extensions-ExternalData
alex-mashin claimed T278661: Underlying SimpleXMLElement::xpath fails for docs with default namespace xmlns.
Mar 29 2021, 5:40 AM · MediaWiki-extensions-ExternalData

Mar 26 2021

alex-mashin added a comment to T278206: Drastic increase of "The time allocated for running scripts has expired." errors for Lua/Scribunto string functions.

@RolandUnger, I don't understand why the task is resolved. Isn't the mw.text library still broken?

Mar 26 2021, 2:19 PM · Wikimedia-General-or-Unknown, Performance Issue

Dec 19 2020

alex-mashin closed T203743: Error with $edgDirectoryPath as Resolved.
Dec 19 2020, 11:34 AM · MediaWiki-extensions-ExternalData
alex-mashin added a comment to T203743: Error with $edgDirectoryPath.

Closing this task as, most probaly, resolved during the recent refactoring.

Dec 19 2020, 11:34 AM · MediaWiki-extensions-ExternalData
alex-mashin created T270541: Missing dependency in HierarchyBuilder.
Dec 19 2020, 6:44 AM · MediaWiki-extensions-Hierarchy-Builder

Dec 15 2020

alex-mashin closed T270001: SQLite connector throws error for edgDBServer which is actually not required as Resolved.
Dec 15 2020, 5:14 PM · MediaWiki-extensions-ExternalData
alex-mashin added a comment to T270001: SQLite connector throws error for edgDBServer which is actually not required.

@Platinops, you can upgrade and check.

Dec 15 2020, 2:58 AM · MediaWiki-extensions-ExternalData

Dec 14 2020

alex-mashin added a comment to T270001: SQLite connector throws error for edgDBServer which is actually not required.

@Yaron_Koren, please review https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ExternalData/+/648655/.

Dec 14 2020, 2:39 AM · MediaWiki-extensions-ExternalData
alex-mashin updated subscribers of T270001: SQLite connector throws error for edgDBServer which is actually not required.
Dec 14 2020, 2:38 AM · MediaWiki-extensions-ExternalData

Dec 12 2020

alex-mashin claimed T270001: SQLite connector throws error for edgDBServer which is actually not required.
Dec 12 2020, 5:42 PM · MediaWiki-extensions-ExternalData

Dec 11 2020

alex-mashin claimed T269961: EDConnectorSqlite.php: Too few arguments to function EDConnectorRelational::setConnection().
Dec 11 2020, 8:54 PM · MediaWiki-extensions-ExternalData

Dec 7 2020

alex-mashin closed T263129: Memory leak in luasandbox during Lua table to PHP array data conversion as Resolved.
Dec 7 2020, 3:56 PM · LuaSandbox
alex-mashin added a comment to T221545: PHP Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error.

Does the error persist after updating *ExternalData*?

Dec 7 2020, 3:27 AM · MediaWiki-extensions-ExternalData
alex-mashin added a comment to T203743: Error with $edgDirectoryPath.

@Marquerose, after updating *ExternalData*, is there still an error?

Dec 7 2020, 3:26 AM · MediaWiki-extensions-ExternalData

Nov 29 2020

alex-mashin added a comment to T268925: Luasandbox fails to compile with PHP 8.0.

It seems that TSRMLS_C, TSRMLS_DC and TSRMLS_CC are not used under PHP 8.0 and have to be redefined as empty, if the extension is built for PHP 8.0. See https://github.com/Imagick/imagick/pull/334/commits.

Nov 29 2020, 7:37 AM · Patch-For-Review, PHP 8.0 support, User-MacFan4000, LuaSandbox

Nov 25 2020

alex-mashin closed T268339: Preserve letter case of external variables in {{#get_db_data:}} as Resolved.
Nov 25 2020, 4:03 AM · MediaWiki-extensions-ExternalData

Nov 20 2020

alex-mashin updated subscribers of T268339: Preserve letter case of external variables in {{#get_db_data:}}.
Nov 20 2020, 2:16 PM · MediaWiki-extensions-ExternalData
alex-mashin renamed T268339: Preserve letter case of external variables in {{#get_db_data:}} from Preserve letter case of external variables in {{#get_db_data"}} to Preserve letter case of external variables in {{#get_db_data:}}.
Nov 20 2020, 2:03 PM · MediaWiki-extensions-ExternalData
alex-mashin created T268339: Preserve letter case of external variables in {{#get_db_data:}}.
Nov 20 2020, 2:01 PM · MediaWiki-extensions-ExternalData
alex-mashin closed T253118: Connection to a Mongo DB not working - "Class 'MongoClient' not found" as Resolved.
Nov 20 2020, 1:59 PM · MediaWiki-extensions-ExternalData
alex-mashin closed T259326: Handling missing data as Resolved.
Nov 20 2020, 1:58 PM · MediaWiki-extensions-ExternalData

Sep 22 2020

alex-mashin closed T263531: Bad JSONPath throws exceptions that are not caught as Resolved.
Sep 22 2020, 2:33 PM · MediaWiki-extensions-ExternalData
alex-mashin triaged T263531: Bad JSONPath throws exceptions that are not caught as High priority.
Sep 22 2020, 12:28 PM · MediaWiki-extensions-ExternalData
alex-mashin created T263531: Bad JSONPath throws exceptions that are not caught.
Sep 22 2020, 10:44 AM · MediaWiki-extensions-ExternalData

Sep 18 2020

alex-mashin added a comment to T263129: Memory leak in luasandbox during Lua table to PHP array data conversion.

Somebody please review the patchset. It corrects a bug.

Sep 18 2020, 3:42 AM · LuaSandbox

Sep 17 2020

alex-mashin updated the task description for T263129: Memory leak in luasandbox during Lua table to PHP array data conversion.
Sep 17 2020, 3:14 PM · LuaSandbox
alex-mashin created T263129: Memory leak in luasandbox during Lua table to PHP array data conversion.
Sep 17 2020, 1:30 PM · LuaSandbox
alex-mashin added a comment to T49799: Scribunto should allow coroutines in Lua.

If the point is just to enable the coroutine module then the proposed change seems unnecessarily complex. As far as I'm concerned, coroutine can be enabled if it passes a security review.

And the security review isn't likely to happen any time soon?

Sep 17 2020, 3:59 AM · Patch-For-Review, MediaWiki-extensions-Scribunto
alex-mashin added a comment to T49799: Scribunto should allow coroutines in Lua.

Is the extension still maintained?

Sep 17 2020, 2:45 AM · Patch-For-Review, MediaWiki-extensions-Scribunto

Sep 14 2020

alex-mashin added a comment to T49799: Scribunto should allow coroutines in Lua.

Please review the change https://gerrit.wikimedia.org/r/626884.

Sep 14 2020, 7:17 PM · Patch-For-Review, MediaWiki-extensions-Scribunto

Sep 13 2020

alex-mashin added a member for MediaWiki-extensions-Scribunto: alex-mashin.
Sep 13 2020, 7:31 PM

Sep 8 2020

alex-mashin created T262312: Title::getLocalURL() depends on $wgRequest.
Sep 8 2020, 7:30 PM · MediaWiki-General

Aug 31 2020

alex-mashin added a comment to T261640: Url does not pass all query parameters to server.

Cannot reproduce. See https://traditio.wiki/Project:Test/ED/2equals.

Aug 31 2020, 6:56 PM · MediaWiki-extensions-ExternalData

Aug 17 2020

alex-mashin added a comment to T226616: Not compatible with MediaWiki 1.33 (img_description column doesn't exist).

Could anybody review the change https://gerrit.wikimedia.org/r/620525?

Aug 17 2020, 9:46 AM · Patch-For-Review, GraphViz

Aug 13 2020

alex-mashin updated the task description for T259326: Handling missing data.
Aug 13 2020, 3:53 AM · MediaWiki-extensions-ExternalData

Aug 12 2020

alex-mashin removed a project from T257136: Improve code style in ExternalData: Patch-For-Review.
Aug 12 2020, 2:44 AM · Patch-For-Review, Technical-Debt, MediaWiki-extensions-ExternalData
alex-mashin updated subscribers of T259326: Handling missing data.
Aug 12 2020, 2:43 AM · MediaWiki-extensions-ExternalData

Aug 11 2020

alex-mashin removed a project from T253118: Connection to a Mongo DB not working - "Class 'MongoClient' not found": Patch-For-Review.
Aug 11 2020, 2:43 AM · MediaWiki-extensions-ExternalData
alex-mashin added a comment to T253118: Connection to a Mongo DB not working - "Class 'MongoClient' not found".

To enable ModgoDB under PHP 7.4, mongodb extension should be enabled (sudo apt install php-mongodb && sudo phpenmod mongodb; and also mongodb library should be installed with Composer: composer require mongodb/mongodb "^1.6.0" (this will be necessary until bug T259743 is resolved).

Aug 11 2020, 2:41 AM · MediaWiki-extensions-ExternalData

Aug 10 2020

alex-mashin updated subscribers of T259743: Add `ext-mongodb` to the testing environment.
Aug 10 2020, 2:20 PM · MediaWiki-extensions-ExternalData, Continuous-Integration-Config

Aug 6 2020

alex-mashin added a comment to T226585: Add `ext-mysqli` to the composer-test CI container.

Can automated tests read extension.json's requires.platform section and add to the testing environment whatever is missing?

Aug 6 2020, 2:50 AM · Continuous-Integration-Config
alex-mashin updated subscribers of T259743: Add `ext-mongodb` to the testing environment.
Aug 6 2020, 2:46 AM · MediaWiki-extensions-ExternalData, Continuous-Integration-Config

Aug 5 2020

alex-mashin created T259743: Add `ext-mongodb` to the testing environment.
Aug 5 2020, 7:03 PM · MediaWiki-extensions-ExternalData, Continuous-Integration-Config

Jul 31 2020

alex-mashin created T259326: Handling missing data.
Jul 31 2020, 3:31 AM · MediaWiki-extensions-ExternalData

Jul 26 2020

alex-mashin added a comment to T258886: Implement day as ordinal number (for #time).

I'll try to implement S for English ordinals, for the time being, and make it overloadable.

Jul 26 2020, 9:24 AM · Patch-For-Review, MediaWiki-Internationalization, ParserFunctions
alex-mashin added a comment to T258886: Implement day as ordinal number (for #time).

Why not jS (see https://www.php.net/manual/en/function.date.php)?

Jul 26 2020, 8:25 AM · Patch-For-Review, MediaWiki-Internationalization, ParserFunctions

Jul 17 2020

alex-mashin closed T257715: Expose ExternalData functions to Lua as Resolved.
Jul 17 2020, 11:28 AM · MediaWiki-extensions-ExternalData

Jul 16 2020

alex-mashin added a comment to T56902: Deprecate and remove the purge action from MediaWiki.

It seems a strange idea to me. Changes in MediaWiki or extensions codebase (per @gh87), Lua modules, templates and pages with Semantic MediaWiki annotations do not propagate themselves along dependencies in realtime; and neither is even the parser cache invalidation.

Jul 16 2020, 9:08 AM · Goal, MediaWiki-General

Jul 11 2020

alex-mashin updated the task description for T257715: Expose ExternalData functions to Lua.
Jul 11 2020, 7:10 AM · MediaWiki-extensions-ExternalData
alex-mashin updated the task description for T257715: Expose ExternalData functions to Lua.
Jul 11 2020, 5:48 AM · MediaWiki-extensions-ExternalData
alex-mashin updated the task description for T257715: Expose ExternalData functions to Lua.
Jul 11 2020, 5:21 AM · MediaWiki-extensions-ExternalData
alex-mashin updated the task description for T257715: Expose ExternalData functions to Lua.
Jul 11 2020, 5:12 AM · MediaWiki-extensions-ExternalData
alex-mashin updated the task description for T257715: Expose ExternalData functions to Lua.
Jul 11 2020, 5:11 AM · MediaWiki-extensions-ExternalData
alex-mashin updated the task description for T257715: Expose ExternalData functions to Lua.
Jul 11 2020, 5:10 AM · MediaWiki-extensions-ExternalData
alex-mashin updated the task description for T257715: Expose ExternalData functions to Lua.
Jul 11 2020, 5:07 AM · MediaWiki-extensions-ExternalData
alex-mashin updated the task description for T257715: Expose ExternalData functions to Lua.
Jul 11 2020, 5:06 AM · MediaWiki-extensions-ExternalData
alex-mashin updated the task description for T257715: Expose ExternalData functions to Lua.
Jul 11 2020, 5:05 AM · MediaWiki-extensions-ExternalData
alex-mashin created T257715: Expose ExternalData functions to Lua.
Jul 11 2020, 5:04 AM · MediaWiki-extensions-ExternalData

Jul 10 2020

alex-mashin added a member for MediaWiki-extensions-ExternalData: alex-mashin.
Jul 10 2020, 3:24 AM
alex-mashin closed T256936: Improve encoding detection in ExternalData as Resolved.
Jul 10 2020, 3:18 AM · MediaWiki-extensions-ExternalData
alex-mashin added a watcher for LuaSandbox: alex-mashin.
Jul 10 2020, 3:08 AM
alex-mashin updated the task description for T189767: RFC: Future of Scribunto.
Jul 10 2020, 2:53 AM · Proposal, LuaSandbox, MediaWiki-extensions-Scribunto
alex-mashin added a watcher for MediaWiki-extensions-Scribunto: alex-mashin.
Jul 10 2020, 2:39 AM

Jul 9 2020

alex-mashin added a comment to T245457: allow for comments in headers for CSV files.

Will adding |ignore regex parameter to {{#get_web_data:}} help? For comments starting wish hashes, set |ignore regex=/#.*$/m.

Jul 9 2020, 4:55 AM · MediaWiki-extensions-ExternalData

Jul 8 2020

alex-mashin added a comment to T253118: Connection to a Mongo DB not working - "Class 'MongoClient' not found".

Can the bug's author or anybody else share connection settings for LocalSettings.php that allow to connect to a publically accessible MongoDB base?

Jul 8 2020, 4:32 PM · MediaWiki-extensions-ExternalData

Jul 5 2020

Akuckartz awarded T257136: Improve code style in ExternalData a Like token.
Jul 5 2020, 8:19 PM · Patch-For-Review, Technical-Debt, MediaWiki-extensions-ExternalData
alex-mashin created T257136: Improve code style in ExternalData.
Jul 5 2020, 8:09 AM · Patch-For-Review, Technical-Debt, MediaWiki-extensions-ExternalData

Jul 4 2020

alex-mashin added a comment to T254840: Currently there is no way to pass the Authentication values to get the data from Secure Rest API.

Do you want to pass the key in an HTTP header?

Jul 4 2020, 7:05 AM · MediaWiki-extensions-ExternalData
alex-mashin closed T239512: Allow use of stale cache in {{#get_web_data:}} as Resolved.
Jul 4 2020, 6:53 AM · Patch-For-Review, MediaWiki-extensions-ExternalData

Jul 3 2020

alex-mashin added a comment to T214924: Unable to get CVS data from inside my wiki, but am able to get it from outside.

Have you tried to curl Special:GetData/Fruits_data from your webserver's console?

Jul 3 2020, 3:32 AM · MediaWiki-extensions-ExternalData
alex-mashin added a comment to T189315: Add JSONPath support.

Shouldn't this be closed as resolved?

Jul 3 2020, 3:25 AM · MediaWiki-extensions-ExternalData

Jul 2 2020

alex-mashin updated subscribers of T256936: Improve encoding detection in ExternalData.
Jul 2 2020, 5:27 AM · MediaWiki-extensions-ExternalData
alex-mashin created T256936: Improve encoding detection in ExternalData.
Jul 2 2020, 5:26 AM · MediaWiki-extensions-ExternalData

Jun 28 2020

alex-mashin added a watcher for GraphViz: alex-mashin.
Jun 28 2020, 5:19 PM

Jun 27 2020

alex-mashin claimed T239512: Allow use of stale cache in {{#get_web_data:}}.
Jun 27 2020, 5:27 AM · Patch-For-Review, MediaWiki-extensions-ExternalData

Jun 26 2020

alex-mashin added a comment to T239512: Allow use of stale cache in {{#get_web_data:}}.

Examples of __time usage:

Jun 26 2020, 9:26 AM · Patch-For-Review, MediaWiki-extensions-ExternalData

Jun 21 2020

alex-mashin added a comment to T255936: REL1_34 downloads MW 1.35.

Thank you, @Reedy, I have managed, though with great difficulty, to re-synchronise REL1_34 with it origin.

Jun 21 2020, 1:37 PM
alex-mashin created T255936: REL1_34 downloads MW 1.35.
Jun 21 2020, 10:23 AM

Jun 11 2020

alex-mashin closed T254887: Allow HTML parsing with DOMDocument as Resolved.
Jun 11 2020, 10:48 PM · MediaWiki-extensions-ExternalData

Jun 10 2020

alex-mashin closed T254842: Typo: HTTP options are not passed as Resolved.
Jun 10 2020, 6:38 AM · MediaWiki-extensions-ExternalData

Jun 9 2020

alex-mashin added a comment to T254887: Allow HTML parsing with DOMDocument.

That's interesting. What's a use case for parsing HTML with External Data?

Jun 9 2020, 2:56 PM · MediaWiki-extensions-ExternalData