Anomie (Brad Jorsch)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 7 2014, 1:25 PM (163 w, 3 d)
Availability
Available
LDAP User
Anomie
MediaWiki User
Anomie

Recent Activity

Yesterday

Anomie added a comment to T180817: Review patches that block TemplateStyles deployment.

The new patches needing review are:

Fri, Nov 24, 9:43 PM · Patch-For-Review, TemplateStyles
Anomie committed rETST536e3fb9b44c: Deduplicate embedded style rules (authored by Anomie).
Deduplicate embedded style rules
Fri, Nov 24, 7:47 PM
Anomie committed rESCC5570bb550cb8: Use ParserOutput stateless transforms (authored by Anomie).
Use ParserOutput stateless transforms
Fri, Nov 24, 5:27 PM

Wed, Nov 22

Anomie added a comment to T181070: Re-evaluate 24-hour Password Reset email throttle.

If people are using it to abuse others, is it really that useful?

Wed, Nov 22, 8:47 PM · MediaWiki-User-login-and-signup, MediaWiki-Authentication-and-authorization
Anomie added a comment to T181070: Re-evaluate 24-hour Password Reset email throttle.

If you already have to know someone's email to use it

Wed, Nov 22, 5:42 PM · MediaWiki-User-login-and-signup, MediaWiki-Authentication-and-authorization
Anomie added a comment to T176785: Add action api counts to graphite-restbase job.

I'm a bit confused here. Is this task about adding a count for the action API, turning an existing restbase-only count into a restbase+action API count, or adding a restbase+action API count in addition to an existing restbase-only count?

Wed, Nov 22, 5:24 PM · Patch-For-Review, Services (watching), Analytics-Kanban
Anomie added a comment to T181070: Re-evaluate 24-hour Password Reset email throttle.

Some notable sites do not even have passwords — all login is done via email or OAuth.

Wed, Nov 22, 3:59 PM · MediaWiki-User-login-and-signup, MediaWiki-Authentication-and-authorization

Tue, Nov 21

Anomie added a comment to T181070: Re-evaluate 24-hour Password Reset email throttle.

What kind of abuse is this preventing?

Tue, Nov 21, 6:52 PM · MediaWiki-User-login-and-signup, MediaWiki-Authentication-and-authorization
Anomie added a comment to T173799: Implement a PSR-4 autoloader in MediaWiki core.

Yes, splitting to the final destination would be minimal churn in git, versus splitting to one filename and then renaming to a different name shortly after.

Tue, Nov 21, 3:45 PM · Patch-For-Review, MediaWiki-General-or-Unknown, MediaWiki-Platform-Team

Mon, Nov 20

Anomie added a comment to T172560: "Loss of session data" on Beta Cluster.

One thing to try would be to restart redis and nutcracker on the relevant Beta Cluster hosts and see if the problem goes away. I don't know if there's a less manual way to do it than sshing everywhere.

Mon, Nov 20, 6:01 PM · MediaWiki-extensions-CentralAuth, MW-1.30-release-notes (WMF-deploy-2017-08-08_(1.30.0-wmf.13)), Beta-Cluster-Infrastructure, MediaWiki-Authentication-and-authorization
Anomie added a comment to T167656: Automatic edit summaries should be filtered as tags.

Further separation of redirect tags to un-redirecting, new redirect, changed redirect target, self redirect, redirect to non-existent page, etc. (Probably an overkill)

Mon, Nov 20, 5:40 PM · MediaWiki-Change-tagging, Patch-For-Review, Collaboration-Team-Triage (Collab-Team-This-Quarter), User-notice-collaboration, Edit-Review-Improvements-Integrated-Filters
Anomie added a comment to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues.

I'll let someone else make the final decision, but I'm pretty sure the answer is going to be that your skin there needs to be fixed somehow to not have web-loaded resources in the vendor directory.

Mon, Nov 20, 5:20 PM · MediaWiki-Maintenance-scripts, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release, Security
Anomie added a comment to T71596: Provide JavaScript login widget.

Nvm, mediawiki.api.login (the JS module) has already added (in 8387be94f8e2ae).

Mon, Nov 20, 4:28 PM · JavaScript, MediaWiki-Interface
Anomie moved T180858: CentralAuth API list=globalallusers should capitalize the first letter from Unsorted to Needs details or plan on the MediaWiki-API board.
Mon, Nov 20, 4:05 PM · Patch-For-Review, Anti-Harassment, MediaWiki-API, MediaWiki-extensions-CentralAuth
Anomie added a comment to T180858: CentralAuth API list=globalallusers should capitalize the first letter.

If this is done, it should be done everywhere relevant and not just in globalallusers. The only place in core that I know of is ApiQueryAllUsers.

Mon, Nov 20, 4:03 PM · Patch-For-Review, Anti-Harassment, MediaWiki-API, MediaWiki-extensions-CentralAuth

Sun, Nov 19

Anomie added a project to T180922: Unit tests are broken when $wgCommentTableSchemaMigrationStage is not MIGRATION_OLD: MediaWiki-Core-Tests.
Sun, Nov 19, 11:12 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, MediaWiki-Core-Tests, User-Addshore
Anomie created T180922: Unit tests are broken when $wgCommentTableSchemaMigrationStage is not MIGRATION_OLD.
Sun, Nov 19, 11:12 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, MediaWiki-Core-Tests, User-Addshore

Fri, Nov 17

Anomie added a comment to T172560: "Loss of session data" on Beta Cluster.

All I'm seeing in P6346 is the "clicked login, auto logged in" step. But, in the middle of that step, it looks like you might have hit the bug again. I don't see anything wrong with the cookies your browser is sending there. Unfortunately there's not too much logging (e.g. the session channel seems to be completely missing), but what I do see is consistent with redis being screwy as shown in T173646.

Fri, Nov 17, 9:44 PM · MediaWiki-extensions-CentralAuth, MW-1.30-release-notes (WMF-deploy-2017-08-08_(1.30.0-wmf.13)), Beta-Cluster-Infrastructure, MediaWiki-Authentication-and-authorization
Anomie added a comment to T172560: "Loss of session data" on Beta Cluster.

If you can reproduce it, please capture the relevant HTTP requests as mentioned at https://www.mediawiki.org/wiki/Manual:How_to_debug/Login_problems.

Fri, Nov 17, 6:49 PM · MediaWiki-extensions-CentralAuth, MW-1.30-release-notes (WMF-deploy-2017-08-08_(1.30.0-wmf.13)), Beta-Cluster-Infrastructure, MediaWiki-Authentication-and-authorization
Anomie removed a project from T166733: Deploy refactored comment storage: Patch-For-Review.
Fri, Nov 17, 6:36 PM · MediaWiki-Platform-Team (MWPT-Q2-Oct-Dec-2017), Epic, Release-Engineering-Team (Watching / External)
Anomie added a comment to T180817: Review patches that block TemplateStyles deployment.

These patches only block TemplateStyles deployment if the decision in T155813 to not block TemplateStyles deployment on deduplication is being reversed.

Fri, Nov 17, 6:06 PM · Patch-For-Review, TemplateStyles
Anomie added a comment to T13106: Enable customizing of CSS values filter.

Note that an alternative fix for this issue may come in the form of the TemplateStyles extension.

Fri, Nov 17, 3:38 PM · CSS, MediaWiki-Parser
Anomie edited projects for T180735: CSS code causes messes generated HTML markup, added: MediaWiki-Parser; removed css-sanitizer.

This has nothing to do with the css-sanitizer library, nor with TemplateStyles.

Fri, Nov 17, 3:35 PM · MediaWiki-Parser
Anomie merged task T180735: CSS code causes messes generated HTML markup into T13106: Enable customizing of CSS values filter.
Fri, Nov 17, 3:35 PM · MediaWiki-Parser
Anomie merged T180735: CSS code causes messes generated HTML markup into T13106: Enable customizing of CSS values filter.
Fri, Nov 17, 3:35 PM · CSS, MediaWiki-Parser

Thu, Nov 16

Anomie removed a project from T180691: Same content + same filename uploads should be considered duplicated when from foreign repo: MediaWiki-API.
Thu, Nov 16, 4:05 PM · Multimedia-Team-Working-Board, MediaWiki-Uploading, Multimedia

Wed, Nov 15

Anomie created T180630: Jenkins isn't showing mediawiki-core-php70-phan-docker failure output.
Wed, Nov 15, 7:51 PM · Continuous-Integration-Config
Anomie closed T180537: wrapOldPasswords.php needs updating for AuthManager as Resolved.
Wed, Nov 15, 2:15 PM · MW-1.30-release-notes, MW-1.29-release-notes, MW-1.27-release-notes, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, MediaWiki-Maintenance-scripts, MediaWiki-Authentication-and-authorization

Tue, Nov 14

Anomie created T180508: Update.php fails with postgres due to repeated application of patch-site_stats-pk.sql.
Tue, Nov 14, 5:52 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.30-release-notes, MW-1.30-release, Patch-For-Review, MediaWiki-Maintenance-scripts, MediaWiki-Installer, PostgreSQL
Anomie created T180497: OO.ui.TextInputWidget's maxLength option limits by UTF-16 code units, not characters as documented.
Tue, Nov 14, 4:58 PM · OOjs-UI
Anomie added projects to T180488: api.log still contains passwords in plaintext due to a rebase error in 4d38a489: MediaWiki-API, Patch-For-Review.

Tue, Nov 14, 4:23 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MediaWiki-API, Security
Anomie created T180488: api.log still contains passwords in plaintext due to a rebase error in 4d38a489.
Tue, Nov 14, 4:23 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MediaWiki-API, Security
Anomie closed T180162: Remove duplicate comment_temp indexes as Declined.

Thanks. That's what we're already doing, so I'm going to decline this request to change it.

Tue, Nov 14, 3:25 PM · DBA
Anomie added a comment to T110353: Get rid of cookies.

Except a cookie can't actually implement a global preference on Wikimedia sites since the sites are spread across multiple second-level domains. Look how much trouble CentralAuth has to go through to make login work.

Tue, Nov 14, 3:19 PM · Goal, Sysadmin-notice, Performance-Team, Wikimedia-General-or-Unknown

Mon, Nov 13

Anomie added a comment to T179609: Obtain CVE's for 1.27.4/1.29.2 security releases.

More specifically, 32 characters from a base-32 character set, generated by PasswordFactory::generateRandomPasswordString(), so ideally 160 bits of randomness.

Mon, Nov 13, 9:11 PM · Security
Anomie added a comment to T180162: Remove duplicate comment_temp indexes.

You lost me in there, @jcrespo ;) I'll tell you what's being run and hopefully you can tell us what the indexes should look like.

Mon, Nov 13, 9:04 PM · DBA
Anomie added a comment to T179609: Obtain CVE's for 1.27.4/1.29.2 security releases.

I'm not really sure about "T165846: BotPasswords doesn't throttle login attempts", could use some background: Was the lack of throttling an oversight (or did we even document that throttling applied everywhere e.g.?) Otherwise this is borderline to a security enhancement and those don't get CVE IDs assigned usually.

Mon, Nov 13, 8:09 PM · Security
Anomie added a comment to T110353: Get rid of cookies.

forceHTTPS isn't stored for each subdomain separately, at least not when you're logged in with an SUL account which everyone should be by now. If we want to get rid of the cookie entirely on HTTPS-only wikis, the check for "is this an HTTPS-only wiki?" should probably be added to MediaWiki\Session\CookieSessionProvider::setForceHTTPSCookie() and CentralAuthSessionProvider::setForceHTTPSCookie(), and either just return or set $set to false. For the CentralAuth case, ideally the test would be "are all wikis in this SUL-grouping HTTPS-only?", but that might be hard to determine unless we just add a flag specifically specifying that.

Mon, Nov 13, 7:58 PM · Goal, Sysadmin-notice, Performance-Team, Wikimedia-General-or-Unknown
Reedy awarded T180394: MediaWiki entry points should not be in the base repo directory a Mountain of Wealth token.
Mon, Nov 13, 7:02 PM · MediaWiki-General-or-Unknown
Anomie created T180394: MediaWiki entry points should not be in the base repo directory.
Mon, Nov 13, 7:02 PM · MediaWiki-General-or-Unknown
Anomie added a comment to T180294: Specific API WhatLinksHere query mismatches WhatLinksHere Special page output?.

If you want transclusions, you need to use list=embeddedin or (better) prop=transcludedin

Mon, Nov 13, 6:17 PM · MediaWiki-API
Anomie closed T180294: Specific API WhatLinksHere query mismatches WhatLinksHere Special page output? as Invalid.

You should compare the API's results to the equivalent Special:WhatLinksHere invocation that lists only links, not links plus transclusions plus redirects.

Mon, Nov 13, 6:12 PM · MediaWiki-API
Anomie edited projects for T180253: ApiSandbox shows <ooui-item-remove> tooltip, added: OOjs-UI; removed MediaWiki-API, MediaWiki-Special-pages.

This is nothing specific to ApiSandbox, oojs-ui (or MediaWiki's integration of it) should load whatever messages it needs internally when the 'oojs-ui' module is required.

Mon, Nov 13, 6:06 PM · OOjs-UI

Fri, Nov 10

Anomie added a comment to T180162: Remove duplicate comment_temp indexes.

While MediaWiki shouldn't ever insert rows that violate the "one comment_id per revision" constraint, it's helpful to check it at the database level too.

Fri, Nov 10, 1:16 PM · DBA

Thu, Nov 9

Anomie edited projects for T180162: Remove duplicate comment_temp indexes, added: DBA; removed MediaWiki-General-or-Unknown.

You guess correctly. Technically we could probably just make those unique indexes be the primary keys, but according to T153333#3283613 the PK should cover both columns for associative tables like these (presumably to be able to "Using index").

Thu, Nov 9, 10:03 PM · DBA
Anomie added a comment to T180153: API:Usercontribs should allow clients to order by timestamp.

Status "Blocked" because it's probably far too complex to try to do this on top of the complexity in https://gerrit.wikimedia.org/r/#/c/380669/ for the actor table schema migration.

Thu, Nov 9, 7:45 PM · MediaWiki-API
Anomie updated the task description for T180153: API:Usercontribs should allow clients to order by timestamp.
Thu, Nov 9, 7:44 PM · MediaWiki-API
Anomie updated the task description for T180153: API:Usercontribs should allow clients to order by timestamp.
Thu, Nov 9, 7:43 PM · MediaWiki-API
Anomie moved T180153: API:Usercontribs should allow clients to order by timestamp from Unsorted to Blocked on the MediaWiki-API board.
Thu, Nov 9, 7:43 PM · MediaWiki-API
Anomie added a comment to T180080: MediaWiki API does not support parallel pagination.

If you need to know if User A edited a page at some point in time, try https://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=PAGE&rvuser=Kaldari&rvlimit=1. That should be reasonably efficient for logged-in users since it should use the page_user_timestamp index.

As I mentioned before:

These are anonymous cross-domain requests directly from the web browser.

Thu, Nov 9, 5:53 PM · MediaWiki-API
Anomie added a comment to T180076: API:Usercontribs has inconsistent ordering.

It looks like T37349 was closed by the proposer after their patch ran into problems. As I mentioned, it's doable (although we might have to reduce the maximum uclimit and/or maximum number of ucusers when it's being done) for the non-prefix case, but the necessary logic to actually do it is complex. It'd probably be best to start fresh in a new task if we want to pursue it.

Thu, Nov 9, 5:43 PM · MediaWiki-API
Anomie closed T180076: API:Usercontribs has inconsistent ordering as Invalid.

TL;DR: The ordering is entirely consistent, it's just not as you expected. In this case, the results are first ordered by user ID then by timestamp. Thus, I'm closing this as Invalid. See below for a different task you might file if you want to propose changing the ordering to match what you expected.

Thu, Nov 9, 4:48 PM · MediaWiki-API
Anomie closed T180080: MediaWiki API does not support parallel pagination as Declined.

we would need to know that User A edited the page (at some point in time), even though we are only requesting revisions in 2017.

The request for getting this information is something like this:
https://en.wikipedia.org/w/api.php?action=query&generator=allrevisions&garvuser=Kaldari&garvlimit=500

Thu, Nov 9, 3:59 PM · MediaWiki-API
Anomie added a comment to T180050: [Russian] [Chinese] PHP Warning: Recursion detected in RequestContext::getLanguage MW v1.31.0-wmf.6.

The proximate cause here seems to be rMW1cc3a57296ff: Send a cookie with autoblocks to prevent vandalism., which added attempted checking of the blocked status into User::loadFromSession().

Thu, Nov 9, 3:41 PM · Russian-Sites, Community-Tech, Technical-Debt, Chinese-Sites, Discovery, MW-1.31-release, Wikimedia-log-errors, MediaWiki-General-or-Unknown
Anomie closed T180096: MediaWiki Action API is a unique API specification as Declined.

No, we're not going to rewrite the entire API in some other random framework just so you don't have to read documentation.

Thu, Nov 9, 3:32 PM · MediaWiki-API

Tue, Nov 7

Anomie added a comment to T179519: Implementing OAuth in Wikimedia Commons Android app.

E006 means that they key you supplied isn't found in the database. It's possible it's the redirect as described in T74186#750517. Assuming things haven't changed since then, apparently you might need to use /wiki/Special:OAuth/authorize while using /w/index.php?title=Special:OAuth for any signed request.

Tue, Nov 7, 4:42 PM · Commons-App-Android, Commons, MediaWiki-extensions-OAuth
Anomie added a comment to T179901: Create a tmp directory just for MediaWiki.

What happens then if the attacker manages to create /tmp/mediawiki ahead of time?

Tue, Nov 7, 3:43 PM · Security-Core, MediaWiki-General-or-Unknown, MediaWiki-Platform-Team (MWPT-Q2-Oct-Dec-2017)
Anomie added a comment to T179910: Remove redundant username from edit summary for moves.

I note that edit summaries are going to be able to be significantly longer soon, 1000 Unicode characters rather than 255 bytes. See T6714: Epic: Increasing the length of the edit summary for the overarching task and T166733: Deploy refactored comment storage to watch the progress.

Tue, Nov 7, 1:00 PM · MediaWiki-History-or-Diffs

Mon, Nov 6

Anomie added a comment to T174298: Figure out a way for WDQS example parsing not rely on parsoid.

@Anomie - is there an easy api way to get resolved template parameters on a wiki page via a GET request?

Mon, Nov 6, 3:37 PM · Patch-For-Review, Discovery, Wikidata-Query-Service, Wikidata
Anomie added a project to T179795: Expose $wgCategoryCollation in SiteInfo: Easy.

It should be easy enough for someone to add to ApiQuerySiteinfo::appendGeneralInfo() following the example of the other stuff there.

Mon, Nov 6, 2:49 PM · Patch-For-Review, Easy, MediaWiki-API
Anomie moved T179795: Expose $wgCategoryCollation in SiteInfo from Unsorted to Needs Code on the MediaWiki-API board.
Mon, Nov 6, 2:47 PM · Patch-For-Review, Easy, MediaWiki-API

Sun, Nov 5

Anomie added a comment to T179752: Clear site data on MediaWiki log out.

Note that we specifically want certain things to remain present after logout, including the user name cookie used to prefill the field on a subsequent login, the cookie for the "cookie block" feature I've heard some talk about, and the new anonymous session cookie (if any). There's also T142542 that wants to return to setting a LoggedOut cookie.

Sun, Nov 5, 3:25 PM · Analytics, MediaWiki-Platform-Team, MediaWiki-Authentication-and-authorization

Fri, Nov 3

Anomie closed T179637: mw.uri.new() produces a run-time error if port is out of range as Declined.
Fri, Nov 3, 3:19 PM · MediaWiki-extensions-Scribunto
Anomie closed T179636: Non-expensive mw.title.new().exists media existence check is needed as Declined.
Fri, Nov 3, 3:11 PM · MediaWiki-extensions-Scribunto
Anomie added a comment to T142585: Add a hash or CRC module to Scribunto.

This task is not the place to ask such questions. Your best bet would be to contact hoo on a wiki, on IRC, or via email. Even better would be to take advantage of a public mailing list, wiki help page, or Technical Advice IRC Meeting to ask your questions.

Fri, Nov 3, 1:46 PM · MW-1.28-release (WMF-deploy-2016-08-23_(1.28.0-wmf.16)), ArticlePlaceholder, Wikidata, MediaWiki-extensions-Scribunto
Anomie closed T179637: mw.uri.new() produces a run-time error if port is out of range as Declined.

Use pcall() or xpcall() if you need to catch errors.

Fri, Nov 3, 1:33 PM · MediaWiki-extensions-Scribunto
Anomie closed T179636: Non-expensive mw.title.new().exists media existence check is needed as Declined.

You should probably look into why you're having to check the existence of hundreds of images on a single page. That seems excessive.

Fri, Nov 3, 1:31 PM · MediaWiki-extensions-Scribunto

Thu, Nov 2

Anomie merged T179199: Add an index on rc_this_oldid into T139012: Use index on rc_this_oldid.
Thu, Nov 2, 2:12 PM · TechCom-RfC (ArchCom-Approved), MediaWiki-Database, Schema-change
Anomie merged task T179199: Add an index on rc_this_oldid into T139012: Use index on rc_this_oldid.
Thu, Nov 2, 2:12 PM · DBA
Anomie added a comment to T179199: Add an index on rc_this_oldid.

I wonder how I missed that when searching for an existing bug.

Thu, Nov 2, 2:12 PM · DBA
Anomie added a comment to T178538: Bump PHP requirement to 5.6 in 1.31.
  • Verify the hypothesis. Ensure MediaWiki works and tests pass under the proposed HHVM version and configuration.
Thu, Nov 2, 3:46 AM · TechCom-RfC, Operations, MediaWiki-General-or-Unknown

Wed, Nov 1

Anomie closed T164900: Deprecate Database::nextSequenceValue() as Resolved.

Well, it's deprecated now, so let's mark this as Resolved.

Wed, Nov 1, 5:42 PM · MW-1.30-release-notes (WMF-deploy-2017-09-05 (1.30.0-wmf.17)), Patch-For-Review, Technical-Debt, MediaWiki-Platform-Team
Anomie closed T179467: Notice: Undefined property: stdClass::$page_is_new in ContribsPager.php as Resolved.
Wed, Nov 1, 5:31 PM · MW-1.31-release-notes (WMF-deploy-2017-11-07 (1.31.0-wmf.7)), Patch-For-Review, Regression, MediaWiki-Recent-changes
Anomie closed T179467: Notice: Undefined property: stdClass::$page_is_new in ContribsPager.php, a subtask of T41480: Bugs affecting translatewiki.net (errors from MediaWiki master) (tracking), as Resolved.
Wed, Nov 1, 5:31 PM · Tracking, MediaWiki-General-or-Unknown
Anomie added a comment to T164927: TemplateStyles style guidance outreach.

There are currently two related tasks that need to be addressed.

Wed, Nov 1, 2:42 PM · Community-Liaisons (Oct-Dec 2017), Readers-Community-Engagement, Reading-Infrastructure-Team-Backlog, TemplateStyles, Reading-Admin, User-Johan

Tue, Oct 31

Anomie added a comment to T91456: Document justification for ApiZeroConfigPrinter and mark modules using it as internal.

Those look like decent explanations.

Tue, Oct 31, 8:47 PM · MW-1.31-release-notes (WMF-deploy-2017-10-24 (1.31.0-wmf.5)), Patch-For-Review, Readers-Web-Backlog (Tracking), Documentation, Zero, Easy, ZeroPortal, ZeroBanner, MediaWiki-API
Anomie added a comment to T167246: Refactor "user" & "user_text" fields into "actor" reference table.

Nothing obvious, no. To be properly indexable at the database level, such a scheme would require denormalization along the lines of what's being done in the temporary table at https://gerrit.wikimedia.org/r/#/c/380669/6/maintenance/tables.sql@459. And then pretty much every consumer of the database would need to be updated to handle the possibility of having more than one row per revision, both on the back end and in UI, which would likely be a project as large as the current Multi-Content Revisions project.

Tue, Oct 31, 3:14 PM · MediaWiki-Platform-Team (MWPT-Q2-Oct-Dec-2017), Epic, MW-1.30-release-notes (WMF-deploy-2017-07-11_(1.30.0-wmf.9)), Patch-For-Review, MediaWiki-Database

Mon, Oct 30

Anomie closed T178731: Special:APIFeatureUsage is a 404 error on urwiki as Resolved.

Due to T179156, 1.31.0-wmf.5 wasn't deployed to group 2 wikis (including urwiki) as scheduled. The problem does seem to be resolved in that version, as you can see by visiting https://ur.wiktionary.org/wiki/Special:ApiFeatureUsage.

Mon, Oct 30, 2:42 PM · MW-1.31-release-notes (WMF-deploy-2017-10-24 (1.31.0-wmf.5)), ApiFeatureUsage
Anomie added a comment to T178538: Bump PHP requirement to 5.6 in 1.31.

See T172165#3699606 for some relevant criticism of this decision.

Mon, Oct 30, 1:50 PM · TechCom-RfC, Operations, MediaWiki-General-or-Unknown

Sat, Oct 28

Liuxinyu970226 awarded T164106: Deprecate parsing and diff options in ApiQueryRevisionsBase a Like token.
Sat, Oct 28, 11:51 AM · MW-1.30-release-notes, Technical-Debt, Patch-For-Review, MediaWiki-API

Fri, Oct 27

Anomie created T179199: Add an index on rc_this_oldid.
Fri, Oct 27, 6:32 PM · DBA

Oct 25 2017

Anomie added a comment to T178968: no drop down box in search field of Special:RandomInCategory.

What are the next steps? Do you want to close this ticket? From @Anomie's second bullet it looks like there could be a few improvements to the core code, or am I wrong?

Oct 25 2017, 5:44 PM · MediaWiki-Search, Discovery
Anomie edited projects for T178968: no drop down box in search field of Special:RandomInCategory, added: MediaWiki-Search; removed MediaWiki-General-or-Unknown, MediaWiki-API, MediaWiki-Categories.

There doesn't seem to be any problem in the API here, or in category handling. You're getting no popup because the API response has only nonsense titles in namespace 0 which the widget is ignoring because it's expecting namespace 14, and those are being returned by the API because that's what the underlying search engine code is giving it.

Oct 25 2017, 2:36 PM · MediaWiki-Search, Discovery

Oct 24 2017

Anomie added a comment to T114432: [RFC] Heredoc arguments for templates (aka "hygienic" or "long" arguments).

and the whole point of this syntax is that you should be able to surround literally anything with no additional escaping needed

Oct 24 2017, 9:21 PM · RfC, Parsing-Team, Wikimedia-Developer-Summit-2016, TechCom-RfC
Anomie added a comment to T91456: Document justification for ApiZeroConfigPrinter and mark modules using it as internal.

Thanks, @Anomie ! Do https://gerrit.wikimedia.org/r/#/c/386014/ and https://gerrit.wikimedia.org/r/#/c/386012/ capture the sort of detail you had in mind?

Oct 24 2017, 4:39 PM · MW-1.31-release-notes (WMF-deploy-2017-10-24 (1.31.0-wmf.5)), Patch-For-Review, Readers-Web-Backlog (Tracking), Documentation, Zero, Easy, ZeroPortal, ZeroBanner, MediaWiki-API
Anomie added a comment to T169266: Clarify recommendations around using FauxRequest.
  • Client side and server side code should use the same APIs.
Oct 24 2017, 3:45 PM · TechCom-RfC

Oct 23 2017

Anomie added a comment to T169266: Clarify recommendations around using FauxRequest.

Ok, I've added it to my schedule.

Oct 23 2017, 2:08 PM · TechCom-RfC
Anomie closed T177575: Opening multiple Special:Emailuser forms triggers rate limits as Resolved.

The fix should be deployed to WMF wikis with 1.31.0-wmf.5, see https://www.mediawiki.org/wiki/MediaWiki_1.31/Roadmap for the schedule.

Oct 23 2017, 1:59 PM · MW-1.31-release-notes (WMF-deploy-2017-10-24 (1.31.0-wmf.5)), MediaWiki-Platform-Team (MWPT-Q2-Oct-Dec-2017), MediaWiki-Email, MediaWiki-Special-pages, Patch-For-Review
Anomie added a comment to T91456: Document justification for ApiZeroConfigPrinter and mark modules using it as internal.

@Anomie I noticed in ApiBase.php's documentation for isInternal() that "Internal API modules are not (yet) intended for 3rd party use and may be unstable." It's true that, at least to our knowledge, nobody's tried to re-use this code in a third party hosting context, and likely won't do so. Given this, does it make sense to add the isInternal() method to ApiRawJsonPrinter (ApiBase is an ancestor class) as you suggest given this, or was this more about server-to-server calls in fact?

Oct 23 2017, 1:56 PM · MW-1.31-release-notes (WMF-deploy-2017-10-24 (1.31.0-wmf.5)), Patch-For-Review, Readers-Web-Backlog (Tracking), Documentation, Zero, Easy, ZeroPortal, ZeroBanner, MediaWiki-API
Anomie moved T178734: Make examples, apisandbox and api.php help module use formatversion=2 by default from Unsorted to Needs details or plan on the MediaWiki-API board.
Oct 23 2017, 1:10 PM · MediaWiki-API
Anomie added a comment to T178734: Make examples, apisandbox and api.php help module use formatversion=2 by default.

Related: T103015 and T122871.

Oct 23 2017, 1:10 PM · MediaWiki-API

Oct 22 2017

Anomie closed T178698: Luasandbox is incompatible with PHP7.1: "undefined symbol: zval_used_for_init" as Invalid.

Works fine when I try it. You probably did something wrong when compiling and/or installing the luasandbox extension.

Oct 22 2017, 2:25 AM · NewPHP, MediaWiki-extensions-Scribunto

Oct 20 2017

Anomie added a comment to T114432: [RFC] Heredoc arguments for templates (aka "hygienic" or "long" arguments).

Edge cases that come to mind:

Oct 20 2017, 2:38 PM · RfC, Parsing-Team, Wikimedia-Developer-Summit-2016, TechCom-RfC
Anomie added a comment to T174569: Schema change for refactored comment storage.

The ones setting the default to blank, are done instantly:

Oct 20 2017, 1:41 PM · Patch-For-Review, MediaWiki-Platform-Team (MWPT-Q2-Oct-Dec-2017), Dumps-Generation, Data-Services, Blocked-on-schema-change, DBA
Anomie added a comment to T172165: Require either PHP 7.0+ or HHVM in MW 1.31.
  • the situation is what follows: if we drop php 5.6, we also drop hhvm; and we can't migrate off of hhvm easily or quickly (DanielK_WMDE_, 21:41:13)
Oct 20 2017, 1:34 PM · RfC, TechCom-RfC, MediaWiki-General-or-Unknown
Anomie moved T178446: Expose display titles for a page in all available language variants through the action API from Needs details or plan to Needs Review on the MediaWiki-API board.
Oct 20 2017, 12:36 PM · Patch-For-Review, MediaWiki-Language-converter, MediaWiki-API, Reading-Infrastructure-Team-Backlog (Kanban), Services (watching)

Oct 19 2017

Anomie added a comment to T178603: MediaWiki Xtools - "Top edits per namespace" creates fake attributions.

On import, if the user name attached to the revision exists then rev_user is set to that user's user_id, whether it's really the "same" user or not. If the user name attached to the revision doesn't exist, the revision is created with the name but with rev_user set to 0. It's probably something of a toss-up whether other things consider it the same user or not (depending on whether those things look at rev_user or rev_user_text).

Oct 19 2017, 8:08 PM · MediaWiki-Export-or-Import, XTools
Anomie added a comment to T178603: MediaWiki Xtools - "Top edits per namespace" creates fake attributions.

Since T59346: Incorrectly attributed edits (from 2006) to me and T15798: Imported edits can be incorrectly attributed to whoever creates that account were closed as duplicates of T9240, let's follow suit here.

Oct 19 2017, 7:46 PM · MediaWiki-Export-or-Import, XTools
Anomie merged T178603: MediaWiki Xtools - "Top edits per namespace" creates fake attributions into T9240: Usernames in history of imported pages should refer to original wiki.
Oct 19 2017, 7:45 PM · Patch-For-Review, MediaWiki-Export-or-Import
Anomie merged task T178603: MediaWiki Xtools - "Top edits per namespace" creates fake attributions into T9240: Usernames in history of imported pages should refer to original wiki.
Oct 19 2017, 7:45 PM · MediaWiki-Export-or-Import, XTools