Page MenuHomePhabricator

PeterBowman (Peter Bowman)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 13 2014, 5:26 PM (379 w, 4 d)
Availability
Available
IRC Nick
PeterBowman
LDAP User
Peter Bowman
MediaWiki User
Peter Bowman [ Global Accounts ]

Recent Activity

Wed, Jan 12

PeterBowman added a comment to T204201: Extend MediaWiki:Gadgets-definition capabilities.

I guess it will work, but I stated no official support for cross-wiki usage of gadgets via URL yet.

Wed, Jan 12, 3:22 PM · Patch-For-Review, MediaWiki-extensions-Gadgets

Dec 13 2021

PeterBowman added a comment to T284917: Remove "stub threshold" preference.

I have written a script which restores this feature using API calls: w:pl:Wikipedysta:Peter Bowman/highlight-stubs.js. The page length threshold is configurable via global variable.

Dec 13 2021, 8:37 PM · MW-1.38-notes (1.38.0-wmf.2; 2021-09-28), User-notice, MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), Performance-Team (Radar), MediaWiki-User-preferences, MediaWiki-Parser, Platform Engineering

Dec 5 2021

PeterBowman added a comment to T290459: Corrupt large multistream bzip2 dumps due to stream index overflow.

@ArielGlenn this should be solved now (5,324,215,919 > 4,294,967,295):

Dec 5 2021, 1:03 PM · Dumps-Generation

Nov 1 2021

PeterBowman added a comment to T188679: Nuke should batch the deletions.

The patch for it got deployed. Is it fixed now?

Nov 1 2021, 2:30 PM · User-Ladsgroup, MediaWiki-extensions-Nuke

Oct 29 2021

PeterBowman added a comment to T42618: jquery.tablesorter: Add support for a "fixed" column of row numbers..

Can you create a user sandbox page on that wiki with some simple example tables?

Oct 29 2021, 11:19 AM · MediaWiki-Interface (Tables), JavaScript

Oct 28 2021

PeterBowman updated the task description for T294546: Markup inside <references> tag is not highlighted in CodeMirror.
Oct 28 2021, 1:05 PM · Patch-For-Review, Cite
PeterBowman closed T282810: Unparsed unordered-list wikitext marker in first element of multi-error notice on page save as Resolved.
Oct 28 2021, 12:37 PM · MW-1.37-notes (1.37.0-wmf.9; 2021-06-07), Regression
PeterBowman created T294546: Markup inside <references> tag is not highlighted in CodeMirror.
Oct 28 2021, 12:00 PM · Patch-For-Review, Cite

Oct 27 2021

PeterBowman added a comment to T42618: jquery.tablesorter: Add support for a "fixed" column of row numbers..

Expanding on T42618#434018, wikt:pl:MediaWiki:Gadget-autonumber.css works with both regular and sorted (class="sortable") tables, either HTML or wiki-syntax ({| |}), all basic skins (including mobile Minerva). No extra column needed, just add class autonumber. Example: wikt:pl:WS:STAT.

Oct 27 2021, 2:25 PM · MediaWiki-Interface (Tables), JavaScript

Oct 23 2021

PeterBowman added a comment to T290459: Corrupt large multistream bzip2 dumps due to stream index overflow.

@ArielGlenn is this already deployed? I can still see an overflow in wikidatawiki-20211020-pages-articles-multistream-index19.txt-p37553268p39053267.bz2, at element 38762216:Q37386589.

Oct 23 2021, 4:16 PM · Dumps-Generation

Sep 8 2021

PeterBowman added a comment to T290459: Corrupt large multistream bzip2 dumps due to stream index overflow.

I have only tracked the specific instructions that generate this stuff, but the cause is yet unknown for me. After compiling recompressxml and running the following command, the index file reaches offset 120,501,329,952 without overflowing:

Sep 8 2021, 12:35 PM · Dumps-Generation

Sep 7 2021

PeterBowman updated subscribers of T290459: Corrupt large multistream bzip2 dumps due to stream index overflow.
Sep 7 2021, 12:25 PM · Dumps-Generation
PeterBowman added a comment to T290459: Corrupt large multistream bzip2 dumps due to stream index overflow.

So, index files are populated in the format offset:pageid:title through this instruction in recompressxml.c, where offset is formatted as a 64-bit integer with %PRId64. The value of *fileOffset is obtained via outputhandler_get_offset in iohandlers.c:

Sep 7 2021, 12:19 PM · Dumps-Generation
PeterBowman added a comment to T290459: Corrupt large multistream bzip2 dumps due to stream index overflow.

Interestingly, this is not an issue for recombined multistream dumps. The file https://dumps.wikimedia.org/wikidatawiki/20210901/wikidatawiki-20210901-pages-articles-multistream-index.txt.bz2 reaches index value 127,758,927,237 without overflowing.

Sep 7 2021, 9:30 AM · Dumps-Generation

Sep 6 2021

PeterBowman created T290459: Corrupt large multistream bzip2 dumps due to stream index overflow.
Sep 6 2021, 10:12 PM · Dumps-Generation

Jul 25 2021

PeterBowman added a comment to T245377: Video.js player doesn’t work with Score.

Also happening on plwikisource. Here we have two built-in players: one originating from a simple [[File:audio.mp3]] transclusion (contained in the infobox), another one introduced by the musical score. Apparently they interfere with each other if present on the same page, but having either of them alone is fine. Remarks (tested on Firefox/Win10):

  • I can successfully reproduce the File-based player, this action opens a pop-up window. If I click then on the score-based player, I'm redirected to File:Undefined.
  • Conversely, if I attempt to play the score-based track first, nothing happens and I get the "TypeError: title is undefined" on console. The File-based player is unresponsive from that point on.
Jul 25 2021, 10:41 AM · Regression, TimedMediaHandler, MediaWiki-extensions-Score

Jul 6 2021

PeterBowman added a comment to T256296: Fatal exception from FlaggedRevs: "Flagged revision with ID … exists with unexpected fr_page_id".

Same issue on plwiki (ref, 1.37.0-wmf.12): Flagged revision with ID 63918438 exists with unexpected fr_page_id.

Jul 6 2021, 1:26 PM · Platform Team Workboards (Clinic Duty Team), User-brennen, MediaWiki-extensions-FlaggedRevs, Wikimedia-production-error

Jul 1 2021

PeterBowman created T285959: Captcha interface is not shown to unregistered users, page save is not possible.
Jul 1 2021, 3:46 PM · MW-1.37-notes (1.37.0-wmf.14; 2021-07-12), ConfirmEdit (CAPTCHA extension)

Jun 4 2021

PeterBowman claimed T282810: Unparsed unordered-list wikitext marker in first element of multi-error notice on page save.
Jun 4 2021, 2:40 PM · MW-1.37-notes (1.37.0-wmf.9; 2021-06-07), Regression
PeterBowman removed a project from T282810: Unparsed unordered-list wikitext marker in first element of multi-error notice on page save: TemplateStyles.
Jun 4 2021, 11:33 AM · MW-1.37-notes (1.37.0-wmf.9; 2021-06-07), Regression

May 22 2021

PeterBowman added a comment to T141396: Provide a migration path for tools running tomcat.

Tool pbbot has been moved to k8s. I'm a bit surprised that it stays well within default memory limits (512 Mi), while this would not be possible in sge (needs 5-6 Gi).

May 22 2021, 7:39 PM · Toolforge, Kubernetes

May 17 2021

PeterBowman added a comment to T282810: Unparsed unordered-list wikitext marker in first element of multi-error notice on page save.

And here is the rationale for said newline (9b530b2b5a5008765ab0a226df8b5ec5f7182bd2):

May 17 2021, 7:24 PM · MW-1.37-notes (1.37.0-wmf.9; 2021-06-07), Regression
PeterBowman added a project to T282810: Unparsed unordered-list wikitext marker in first element of multi-error notice on page save: Regression.
May 17 2021, 7:12 PM · MW-1.37-notes (1.37.0-wmf.9; 2021-06-07), Regression
PeterBowman added a comment to T282810: Unparsed unordered-list wikitext marker in first element of multi-error notice on page save.

I've tracked down the Status::getWikiText call, it is invoked from inside the default clause in EditPage::handleStatus. Turns out this is a regression introduced in T280766 by c87462097c89dd0711fa05c3bcec275ad6176f44, i.e. switching back from Html::errorBox to a plain <div class="error"> fixes the formatting of list elements.

May 17 2021, 7:11 PM · MW-1.37-notes (1.37.0-wmf.9; 2021-06-07), Regression
PeterBowman added a comment to T282810: Unparsed unordered-list wikitext marker in first element of multi-error notice on page save.

The code generating those warnings should be TemplateStylesContent::getParserOutput and the ParserOutput is processed in EditPage::getPreviewText() and neither invoke it.

May 17 2021, 3:39 PM · MW-1.37-notes (1.37.0-wmf.9; 2021-06-07), Regression
PeterBowman renamed T282810: Unparsed unordered-list wikitext marker in first element of multi-error notice on page save from Unparsed unordered-list wikitext marker in first element of multi-error notice to Unparsed unordered-list wikitext marker in first element of multi-error notice on page save.
May 17 2021, 3:19 PM · MW-1.37-notes (1.37.0-wmf.9; 2021-06-07), Regression

May 16 2021

PeterBowman added a comment to T141396: Provide a migration path for tools running tomcat.

There are four tomcat-xxx jobs currently running (sge-status), mine included.

May 16 2021, 6:35 PM · Toolforge, Kubernetes

May 13 2021

PeterBowman added a comment to T282810: Unparsed unordered-list wikitext marker in first element of multi-error notice on page save.
$errors = $this->getErrorMessageArray( $rawErrors, $lang );
foreach ( $errors as &$error ) {
	$error = $error->plain();
}
$s = '* ' . implode( "\n* ", $errors ) . "\n";
if ( $longContext ) {
	$s = $this->msgInLang( $longContext, $lang, $s )->plain();
} elseif ( $shortContext ) {
	$s = $this->msgInLang( $shortContext, $lang, "\n$s\n" )->plain();
}
May 13 2021, 6:48 PM · MW-1.37-notes (1.37.0-wmf.9; 2021-06-07), Regression
PeterBowman created T282810: Unparsed unordered-list wikitext marker in first element of multi-error notice on page save.
May 13 2021, 6:37 PM · MW-1.37-notes (1.37.0-wmf.9; 2021-06-07), Regression

Apr 25 2021

PeterBowman added a comment to T275370: Unable to move pages despite being autoconfirmed on wikis with FlaggedRevs.

I can confirm this is an issue in plwiki and plwiktionary. Regarding the latter, I observed that bot accounts are able to move reviewed articles, whereas users with the editor right can't (both have in common the autoconfirmed flag). See wikt:pl:Special:ListGroupRights.

Apr 25 2021, 9:10 AM · Regression, MediaWiki-Page-rename, MediaWiki-extensions-FlaggedRevs

Apr 10 2021

PeterBowman created T279840: Special:ListRedirects crashes on invalid title: PageIdentity does not represent a proper page.
Apr 10 2021, 10:10 PM · MW-1.38-notes (1.38.0-wmf.2; 2021-09-28), Unstewarded-production-error, Wikimedia-production-error, MediaWiki-Special-pages

Apr 9 2021

PeterBowman added a comment to T279750: [accepted revision] is white in FlaggedRevs diffs.

This issue also affects ?action=history and user contribs, where <li> elements used to have a prominent blue background (on plwiki and plwiktionary).

Apr 9 2021, 10:32 AM · MW-1.36-notes (1.36.0-wmf.38; 2021-04-06), MW-1.37-notes (1.37.0-wmf.1; 2021-04-13), User-Ladsgroup, Regression, MediaWiki-extensions-FlaggedRevs

Feb 25 2021

PeterBowman updated the task description for T275651: Autoblock on registered user persists even if block parameters have changed or the IP block period has expired.
Feb 25 2021, 2:27 PM · MediaWiki-Blocks

Feb 24 2021

PeterBowman created T275651: Autoblock on registered user persists even if block parameters have changed or the IP block period has expired.
Feb 24 2021, 5:04 PM · MediaWiki-Blocks

Jan 24 2021

PeterBowman added a comment to T72470: Remove legacy javascript globals.

One word of caution, esp. re: automation:

Jan 24 2021, 12:11 PM · User-Ladsgroup, MW-1.37-notes (1.37.0-wmf.3; 2021-04-27), MW-1.36-notes, MW-1.35-notes, Patch-For-Review, MW-1.35-release, User-notice, Technical-Debt (Deprecation process), Performance-Team-publish, Performance-Team, MediaWiki-ResourceLoader, JavaScript

Jan 23 2021

PeterBowman added a comment to T72470: Remove legacy javascript globals.

In 2015, this information was moved from global variables named wg* to mw.config.

Jan 23 2021, 12:30 PM · User-Ladsgroup, MW-1.37-notes (1.37.0-wmf.3; 2021-04-27), MW-1.36-notes, MW-1.35-notes, Patch-For-Review, MW-1.35-release, User-notice, Technical-Debt (Deprecation process), Performance-Team-publish, Performance-Team, MediaWiki-ResourceLoader, JavaScript

Jan 19 2021

PeterBowman added a comment to T248761: [modern Vector only] Move indicators underneath firstHeading.

Is there any way to tell the difference between old and new Vector skins in CSS? I mean, both variants seem to use the same skin-vector class in the <body> element, but there might arise a need to address specific tweaks to either one. I'm thinking of the From Wikipedia, the free encyclopedia text (a.k.a. sitesub?) which is not present in certain projects, e.g. plwiki. A prominent blank space is created beneath the first heading after this change, as you can see in T248761#6757107, so restoring it (only on the new Vector skin) could actually help.

Jan 19 2021, 11:41 PM · MW-1.36-notes (1.36.0-wmf.30; 2021-02-09), Patch-For-Review, Readers-Web-Backlog (Kanbanana-FY-2020-21), User-Demian, RW-Feature-DI-Opt-out-Toggle, MW-1.35-notes (1.35.0-wmf.27; 2020-04-07), Vector, Accessibility, Desktop Improvements

Jul 19 2020

PeterBowman added a comment to T257625: Interwiki sorting broken.

(...) since anonymous readers would have compact interwiki list anyway.

Jul 19 2020, 10:15 AM · MW-1.36-notes (1.36.0-wmf.1; 2020-07-21), Platform Team Workboards (External Code Reviews), User-notice, Tech-Ambassadors, MediaWiki-Interface, MW-1.35-release, User-Urbanecm, Patch-For-Review, Chinese-Sites, MediaWiki-extensions-InterwikiSorting, Regression

Jul 18 2020

PeterBowman added a comment to T257625: Interwiki sorting broken.

Temp hack deployed on plwiki (diff):

Jul 18 2020, 9:47 AM · MW-1.36-notes (1.36.0-wmf.1; 2020-07-21), Platform Team Workboards (External Code Reviews), User-notice, Tech-Ambassadors, MediaWiki-Interface, MW-1.35-release, User-Urbanecm, Patch-For-Review, Chinese-Sites, MediaWiki-extensions-InterwikiSorting, Regression

May 30 2020

PeterBowman created T254059: Add localized wordmark to eswiktionary mobile frontend.
May 30 2020, 10:30 AM · Spanish-Sites, Wikimedia-Site-requests

Apr 29 2020

PeterBowman added a comment to T250393: Use monospace font (or editfont preference) for diffs.

Diffs (i.e. "Show changes") are still rendered in sans serif when requested via Live Preview (plwiktionary, 1.35.0-wmf.30 (rMWcbce38f71d1d)).

Apr 29 2020, 5:39 PM · Editing-team, MW-1.35-notes (1.35.0-wmf.30; 2020-04-28), User-notice, MediaWiki-Page-diffs

Apr 7 2020

PeterBowman added a comment to T249526: Misleading warning raised by the login API: "Fetching a token via action=login is deprecated".

(...)
Having said I'm not 100.00% sure about my inspection - I think that one of my problems is that the server was replying some headers with "not-canonical" fields. See the set-cookie instead of the traditional Set-Cookie. This is maybe weird but legitimate as per RFC2616 so it was a client code fault.

What do you think about that "not-canonical" set-cookie? Can you reproduce it?

Apr 7 2020, 4:13 PM · MW-1.35-notes (1.35.0-wmf.28; 2020-04-14), Platform Team Workboards (Clinic Duty Team), MediaWiki-API

Apr 3 2020

PeterBowman added a comment to T224712: Attempt to login fails several times.

After some other tests:
zh.wikisource.org API sometimes generates invalid new token (using action=query&meta=tokens). This token gives login response of NeedToken with another invalid token generated. This token gives login response of NeedToken with yet another invalid token generated. And so on...
After a couple of attempts I successfully reproduced it also using zh:ws API sandbox

Apr 3 2020, 2:50 PM · Upstream, Pywikibot, Pywikibot-tests

Mar 14 2020

PeterBowman added a comment to T242514: Disable VisualEditor on Polish Wiktionary.

I can confirm this is working as expected, thanks!

Mar 14 2020, 3:34 PM · User-Ryasmeen, VisualEditor, Wikimedia-Site-requests, All-and-every-Wiktionary

Nov 15 2019

PeterBowman added a comment to T237709: Cannot view diffs on Special:Undelete - ends in InvalidArgumentException.

This just happened to me when I requested https://es.wiktionary.org/w/index.php?title=Especial:Restaurar&target=Discusi%C3%B3n%3Aelefanta&timestamp=20191115152327&diff=prev.

Nov 15 2019, 5:32 PM · MW-1.35-notes (1.35.0-wmf.8; 2019-11-26), Platform Team Workboards (Clinic Duty Team), MediaWiki-Page-diffs, MediaWiki-Page-deletion, Wikimedia-production-error

Jun 10 2019

PeterBowman created T225414: File namespace added to FlaggedRevs common configuration.
Jun 10 2019, 9:38 AM · Regression, MediaWiki-extensions-FlaggedRevs

Jun 8 2019

PeterBowman added a comment to T225276: FlaggedRevs (statistics) first three namespaces are listed twice.

Same happens on plwiki. Please note that namespace File is listed at Page review statistics (and pages therein can be marked as reviewed) even though it is not configured by the FR extension on this project (per NOC, look for $wgDBname == 'plwiki').

Jun 8 2019, 9:56 AM · WMF-General-or-Unknown, MediaWiki-extensions-FlaggedRevs

Jun 5 2019

PeterBowman created T225116: Various flags presented to reviewers where previously there was none.
Jun 5 2019, 4:34 PM · Regression, MediaWiki-extensions-FlaggedRevs

May 5 2019

PeterBowman added a comment to T222462: Cannot create some new pages on Wiktionary: "Bad value for parameter $dbkey: should not be empty".

As reported on enwiktionary (ref), users are unable to create pages starting with an uppercase letter if their lowercase equivalent already exists. It seems that the converse is not true: I can start editing a lowercase-first page while its uppercase counterpart had been already created.

May 5 2019, 11:40 PM · MediaWiki-Logevents, MediaWiki-Revision-backend, Regression, Wikimedia-production-error

May 3 2019

PeterBowman created T222462: Cannot create some new pages on Wiktionary: "Bad value for parameter $dbkey: should not be empty".
May 3 2019, 4:33 PM · MediaWiki-Logevents, MediaWiki-Revision-backend, Regression, Wikimedia-production-error

Apr 13 2019

PeterBowman added a comment to T220776: Tool pbbot hitting Java resource limits (OOM errors).

@bd808 Thanks, increasing -mem value from 5g to 8g made my jobs respond again, I'll try to adjust it to something in between. I was hoping to ultimately avoid this - unable to create native thread seemed unrelated to the amount of memory (IMO, in spite of the OOM error class) and 5g was already high, compare with the default vmem size as specified in that link. I never had to increase this limit in over 3 years and something changed just a few days ago, so I wanted to leave my feedback here. Please feel free to close this task if it's OK to raise -mem that high.

Apr 13 2019, 4:21 PM · Tools, Toolforge

Apr 11 2019

PeterBowman created T220776: Tool pbbot hitting Java resource limits (OOM errors).
Apr 11 2019, 11:08 PM · Tools, Toolforge

Aug 30 2018

PeterBowman committed rERSLa7b966162e5e: Run hook with actual (non-detached) content node (authored by PeterBowman).
Run hook with actual (non-detached) content node
Aug 30 2018, 3:10 PM

Aug 24 2018

PeterBowman committed rERSL834746bdafe4: Run hook with actual (non-detached) content node (authored by PeterBowman).
Run hook with actual (non-detached) content node
Aug 24 2018, 12:53 AM

Aug 6 2018

PeterBowman awarded T200729: Timeless + FlaggedRevs/pending changes is messed up a Like token.
Aug 6 2018, 11:26 AM · Patch-For-Review, MediaWiki-extensions-FlaggedRevs, Timeless

May 11 2018

PeterBowman added a comment to T193685: Enable RemexHTML on all wikis with < 100 linter errors in all high priority linter categories in ns0 (main namespace).

I've been checking linter errors on eswiktionary, it should qualify now.

May 11 2018, 5:50 PM · Patch-For-Review, Tech-Ambassadors, User-notice, Parsing-Team--ARCHIVED, RemexHtml, Tidy

Apr 16 2018

PeterBowman added a watcher for Tech-Ambassadors: PeterBowman.
Apr 16 2018, 3:37 PM

Apr 11 2017

PeterBowman added a comment to T162677: s52584 is taking over half of the available connections on toolsdb.

Hi, @jcrespo. Per your comment at T138283#2412013, I disabled connection pooling only for the replicas and -somehow- convinced myself that the tools-db config was good to keep as it was. Excuse my (severe) lack of understanding, I've just killed all connections and corrected the settings for any db resources that were making use of pools.

Apr 11 2017, 1:23 PM · Tools

Jan 31 2017

PeterBowman updated the task description for T152258: Aligning FlaggedRevision to WikimediaUI color palette received negative feedback.
Jan 31 2017, 2:38 PM · MW-1.29-release (WMF-deploy-2017-01-24_(1.29.0-wmf.9)), User-Ladsgroup, WMF-Design, Design, MediaWiki-extensions-FlaggedRevs

Jan 30 2017

PeterBowman added a comment to T152258: Aligning FlaggedRevision to WikimediaUI color palette received negative feedback.

Much better now, although I find it a bit too hard to tell the difference between unchecked pages and pending edits. Compare:

Jan 30 2017, 7:50 PM · MW-1.29-release (WMF-deploy-2017-01-24_(1.29.0-wmf.9)), User-Ladsgroup, WMF-Design, Design, MediaWiki-extensions-FlaggedRevs

Sep 10 2016

PeterBowman added a comment to T145280: Make generator=categories properties work when used with prop=categoryinfo.

Thank you for the quick response and explanation. In case someone gets confused, those restrictions become evident when the generator= query is applied to more than one title.

Sep 10 2016, 7:30 PM · MediaWiki-API
PeterBowman created T145280: Make generator=categories properties work when used with prop=categoryinfo.
Sep 10 2016, 2:03 PM · MediaWiki-API

Aug 10 2016

PeterBowman added a comment to T56902: Deprecate and remove the purge action from MediaWiki.

There is an use case for /api.php?action=purge on plwiktionary, see the task description in T109638: Page categorization logs expose user's IP.

Aug 10 2016, 7:50 PM · Goal, MediaWiki-General

Jul 10 2016

PeterBowman added a comment to T137632: misleading error about thumbnails for OGG audio files.

@matmarex if I understand it correctly, this patch overrides any explicit size set in audio files and forces it to 120px. Thus, the following code doesn't work anymore:

[[File:Example.ogg|15px|noicon]]

(I'll obviate the noicon part) This would output just the play/stop button and omit the rest of the player's layout. Such a shrinked version of the player had a purpose on eswiktionary, now it's shown in full length.

Jul 10 2016, 3:51 PM · Patch-For-Review, MW-1.28-release (WMF-deploy-2016-06-28_(1.28.0-wmf.8)), TimedMediaHandler, MediaWiki-File-management, Commons, MediaWiki-API, Multimedia

Jun 28 2016

PeterBowman added a comment to T138283: Some users use persistent connections that are idle, wasting memory and other resources that could be used for other users.

Hi, @jcrespo, thank you for your quick response. I'm just starting to develop some simple tools for a relatively small project and their usage is still scarce. By now, I'll happily follow your recommendations, keep an eye on the resource usage and contact you if needed.

Jun 28 2016, 5:15 PM · Discovery, Maps, Toolforge, Cloud-Services, DBA
PeterBowman added a comment to T138283: Some users use persistent connections that are idle, wasting memory and other resources that could be used for other users.

I've disabled connection pooling by enforcing the number of idle connections to zero with an immediate eviction. In case someone finds this useful, I'm putting here the specific <Resource> attributes in Tomcat's context.xml that had to be set (in my case) in order to disable pooling:

  • minIdle="0"
  • maxIdle="0"
  • initialSize="0"
  • minEvictableIdleTimeMillis="0"

@jcrespo in spite of that policy, would it be acceptable to keep a minimal pool of short-lived idle connections (let's say 1-5 minutes, only one idle connection per finished active connection), leaving it empty if there is no activity? Does said policy apply to databases created on the shared server (tools.labsdb), too? Are there any other configuration aspects related to resource saving that should be considered (e.g. maximum number of connections)?

Jun 28 2016, 3:11 PM · Discovery, Maps, Toolforge, Cloud-Services, DBA

Jun 21 2016

PeterBowman added a comment to T138283: Some users use persistent connections that are idle, wasting memory and other resources that could be used for other users.

I'm sorry, this shouldn't have happened. I've killed those processes and disabled any scripts and webapps that had access to that db until I fix this issue.

Jun 21 2016, 11:40 AM · Discovery, Maps, Toolforge, Cloud-Services, DBA

Apr 4 2016

PeterBowman created T131799: Fix URL encoding of link to user's profile on 'No webservice' warning page.
Apr 4 2016, 8:37 PM · Patch-For-Review, Cloud-Services, Toolforge

Mar 22 2016

PeterBowman added a comment to T130595: labsdb accounts being created without grants to create personal databases.

Thanks! I'm including this possibly relevant comment on IRC, the mentioned outage happened in June 2015 (I presume it was 20150617-LabsNFSOutage since I gained access to Labs on 19/06):

Mar 22 2016, 11:48 AM · Toolforge, Cloud-Services
PeterBowman added a comment to T50950: Some of my tools don't have .my.cnf / can't create databases in tools-db.

@coren: I hit a similar issue when trying to create a database with my tool (pbbot):

$ cat replica.my.cnf | grep user
user='s52584'
$ sql local
MariaDB [(none)]> create database s52584__test;
ERROR 1044 (42000): Access denied for user 's52584'@'%' to database 's52584__test'

Apparently, I don't have the necessary grants to perform this action (per http://dev.mysql.com/doc/refman/5.7/en/grant.html#idm139794624158480) despite what says the help page:

MariaDB [(none)]> show grants;
+-----------------------------------------------------------------------------------------------------------+
| Grants for s52584@%                                                                                       |
+-----------------------------------------------------------------------------------------------------------+
| GRANT SHOW VIEW ON *.* TO 's52584'@'%' IDENTIFIED BY PASSWORD '__EDITED__' |
| GRANT SELECT, SHOW VIEW ON `%\_p`.* TO 's52584'@'%'                                                       |
+-----------------------------------------------------------------------------------------------------------+
2 rows in set (0.02 sec)
Mar 22 2016, 11:18 AM · Cloud-Services, Toolforge

Mar 21 2016

PeterBowman awarded T127633: install Morfeusz (morphological analyser) and Python bindings a Like token.
Mar 21 2016, 10:56 AM · Toolforge, Cloud-Services

Mar 14 2016

PeterBowman added a comment to T129517: The refreshLinks jobs enqueue rate is 10 times the normal rate.

I launched a forcerecursivelinkupdate purge API action on 03/10 at 02:40 UTC affecting all pages on plwiktionary, a smaller peak is clearly visible on Grafana right after that. The jobs counter of this project continued growing for the next days when it usually stops after a few hours. Could this have any connection?

Mar 14 2016, 1:21 PM · MediaWiki-Core-JobQueue, SRE

Mar 2 2016

PeterBowman reopened T88922: ReferenceError due to CharInsert extension not loading mediawiki.toolbar before it is used as "Open".

@matmarex: I'm reopening, we have recently hit this issue on plwiktionary (report, answer). The steps to reproduce this are still the same:

  1. Disable the preference Show edit toolbar.
  2. Open any page in edit mode and try to insert a character contained in the Edittools box.
  3. TypeError: mw.toolbar is undefined
Mar 2 2016, 8:29 PM · MW-1.28-release (WMF-deploy-2016-06-07_(1.28.0-wmf.5)), Patch-For-Review, Regression, Contributors-Team, JavaScript, CharInsert
PeterBowman reopened T88922: ReferenceError due to CharInsert extension not loading mediawiki.toolbar before it is used, a subtask of T85787: CharInsert Extension should use mw.toolbar.insertTags instead of window.insertTags, as Open.
Mar 2 2016, 8:29 PM · good first task, JavaScript, Technical-Debt, CharInsert
PeterBowman reopened T88922: ReferenceError due to CharInsert extension not loading mediawiki.toolbar before it is used, a subtask of T19653: Classic edit toolbar & edit tools (tracking), as Open.
Mar 2 2016, 8:29 PM · MediaWiki-Page-editing, JavaScript, Tracking-Neverending, MediaWiki-Interface
PeterBowman reopened T88922: ReferenceError due to CharInsert extension not loading mediawiki.toolbar before it is used, a subtask of T92781: EditTools issues on Special:Upload, as Open.
Mar 2 2016, 8:29 PM · MW-1.28-release (WMF-deploy-2016-05-31_(1.28.0-wmf.4)), CharInsert, JavaScript

Feb 22 2016

PeterBowman added a comment to T124356: Incorrect TOC and section edit links rendering in Vector due to ParserCache corruption via ParserOutput::setText( ParserOutput::getText() ).

I'm seeing this now on eswiktionary's entry güirro and there were confirmed cases on plwiktionary, too (reported in January).

Feb 22 2016, 5:22 PM · Patch-For-Review, MW-1.27-release (WMF-deploy-2016-03-01_(1.27.0-wmf.15)), MW-1.27-release (WMF-deploy-2016-03-08_(1.27.0-wmf.16)), Reading-Web-Sprint-68-"Java and JavaScript are basically the same", MW-1.27-release (WMF-deploy-2016-03-15_(1.27.0-wmf.17)), User-notice, MobileFrontend, Traffic, SRE, Regression

Feb 10 2016

PeterBowman renamed T126407: [CatWatch] Ignore Lua-transcluded pages in summaries from [CatWatch] Ignore Lua-transcluded pages to [CatWatch] Ignore Lua-transcluded pages in summaries.
Feb 10 2016, 2:43 PM · TCB-Team-Sprint-2016-04-13, Patch-For-Review, CatWatch, MediaWiki-Watchlist
PeterBowman added a comment to T126407: [CatWatch] Ignore Lua-transcluded pages in summaries.

So as far as I can tell this is just about summaries?

Feb 10 2016, 2:42 PM · TCB-Team-Sprint-2016-04-13, Patch-For-Review, CatWatch, MediaWiki-Watchlist
PeterBowman added a comment to T126407: [CatWatch] Ignore Lua-transcluded pages in summaries.

See also T126139.

Feb 10 2016, 12:09 AM · TCB-Team-Sprint-2016-04-13, Patch-For-Review, CatWatch, MediaWiki-Watchlist
PeterBowman added a subtask for T9148: Watch edits which add or remove pages from a category: T126407: [CatWatch] Ignore Lua-transcluded pages in summaries.
Feb 10 2016, 12:09 AM · CatWatch, User-notice, MW-1.27-release, WMF-deploy-2015-08-25_(1.26wmf20), WMF-deploy-2015-08-18_(1.26wmf19), TCB-Team-Sprint-2015-08-12, TCB-Team-Sprint-2015-07-29, TCB-Team-Sprint-2015-07-15, TCB-Team-Sprint-2015-07-01, TCB-Team-Sprint-2015-06-17, TCB-Team-Sprint-2015-06-03, TCB-Team (now WMDE-TechWish), German-Community-Wishlist, Patch-For-Review, MediaWiki-Watchlist
PeterBowman added a parent task for T126407: [CatWatch] Ignore Lua-transcluded pages in summaries: T9148: Watch edits which add or remove pages from a category.
Feb 10 2016, 12:09 AM · TCB-Team-Sprint-2016-04-13, Patch-For-Review, CatWatch, MediaWiki-Watchlist
PeterBowman created T126407: [CatWatch] Ignore Lua-transcluded pages in summaries.
Feb 10 2016, 12:07 AM · TCB-Team-Sprint-2016-04-13, Patch-For-Review, CatWatch, MediaWiki-Watchlist

Jan 23 2016

PeterBowman added a comment to T92230: Button option to 'choose all/none/reverse' for revdel.

It turns out that the change-tags buttons and checkboxes are hidden through CSS on test.wikipedia. Sorry!

Jan 23 2016, 12:29 AM · MW-1.27-release (WMF-deploy-2016-03-01_(1.27.0-wmf.15)), Patch-For-Review, MW-1.27-release-notes, MW-1.27-release (WMF-deploy-2016-01-19_(1.27.0-wmf.11)), User-notice, good first task, MediaWiki-Revision-deletion

Jan 20 2016

PeterBowman added a comment to T92230: Button option to 'choose all/none/reverse' for revdel.

@lfaraone: just tested on test.wikipedia.org, I'm seeing these buttons on Special:Log even if no checkboxes are present (which is strange because even if I'm not allowed to revdel I should see the option to add/remove edit tags, now missing - possibly a regression?). BTW I wonder if the buttons could also apply to edit tags on history pages (right now the condition to be met is $user->isAllowed( 'deleterevision' ), this excludes non-sysops).

Jan 20 2016, 1:38 AM · MW-1.27-release (WMF-deploy-2016-03-01_(1.27.0-wmf.15)), Patch-For-Review, MW-1.27-release-notes, MW-1.27-release (WMF-deploy-2016-01-19_(1.27.0-wmf.11)), User-notice, good first task, MediaWiki-Revision-deletion

Jan 11 2016

PeterBowman created T123269: Source editing gets stuck when saving changes that hit an abuse filter.
Jan 11 2016, 7:05 PM · Contributors-Team, AbuseFilter, MobileFrontend

Dec 19 2015

PeterBowman added a comment to T121986: Restore fragment in broken links.

Possibly related code in Linker.php:

Dec 19 2015, 6:53 PM · Regression, MediaWiki-General
PeterBowman created T121986: Restore fragment in broken links.
Dec 19 2015, 6:47 PM · Regression, MediaWiki-General

Dec 10 2015

PeterBowman added a comment to T121047: Broken links to scripts and styles on Special:Gadgets.

Actually, it is pre-pended and I confirm this is a regression that has been recently added.

Dec 10 2015, 3:00 AM · MW-1.27-release (WMF-deploy-2015-12-08_(1.27.0-wmf.8)), MW-1.27-release (WMF-deploy-2015-12-15_(1.27.0-wmf.9)), Patch-For-Review, Regression, MediaWiki-extensions-Gadgets
PeterBowman updated the task description for T121047: Broken links to scripts and styles on Special:Gadgets.
Dec 10 2015, 2:59 AM · MW-1.27-release (WMF-deploy-2015-12-08_(1.27.0-wmf.8)), MW-1.27-release (WMF-deploy-2015-12-15_(1.27.0-wmf.9)), Patch-For-Review, Regression, MediaWiki-extensions-Gadgets
PeterBowman created T121047: Broken links to scripts and styles on Special:Gadgets.
Dec 10 2015, 12:59 AM · MW-1.27-release (WMF-deploy-2015-12-08_(1.27.0-wmf.8)), MW-1.27-release (WMF-deploy-2015-12-15_(1.27.0-wmf.9)), Patch-For-Review, Regression, MediaWiki-extensions-Gadgets

Nov 27 2015

PeterBowman added a comment to T119763: [CatWatch] Category namespace prefix is trimmed from RC links.

You are right, I watched [[Wikipedia:CatWatchTest]] and then it showed up on my watchlist (CatWatch is currently enabled on test WMF wikis, we'll have to wait for its arrival on eswikt). Thanks for investigating this issue :).

Nov 27 2015, 10:51 PM · CatWatch, MW-1.27-release-notes, MW-1.27-release (WMF-deploy-2015-12-08_(1.27.0-wmf.8)), Patch-For-Review, MediaWiki-Watchlist
PeterBowman added a comment to T119763: [CatWatch] Category namespace prefix is trimmed from RC links.

I have just noted that there are no logs of page additions/deletions to said category on my watchlist, not sure why. Other categories are shown there as expected.

Nov 27 2015, 4:26 PM · CatWatch, MW-1.27-release-notes, MW-1.27-release (WMF-deploy-2015-12-08_(1.27.0-wmf.8)), Patch-For-Review, MediaWiki-Watchlist
PeterBowman added a subtask for T9148: Watch edits which add or remove pages from a category: T119763: [CatWatch] Category namespace prefix is trimmed from RC links.
Nov 27 2015, 4:17 PM · CatWatch, User-notice, MW-1.27-release, WMF-deploy-2015-08-25_(1.26wmf20), WMF-deploy-2015-08-18_(1.26wmf19), TCB-Team-Sprint-2015-08-12, TCB-Team-Sprint-2015-07-29, TCB-Team-Sprint-2015-07-15, TCB-Team-Sprint-2015-07-01, TCB-Team-Sprint-2015-06-17, TCB-Team-Sprint-2015-06-03, TCB-Team (now WMDE-TechWish), German-Community-Wishlist, Patch-For-Review, MediaWiki-Watchlist
PeterBowman added a parent task for T119763: [CatWatch] Category namespace prefix is trimmed from RC links: T9148: Watch edits which add or remove pages from a category.
Nov 27 2015, 4:17 PM · CatWatch, MW-1.27-release-notes, MW-1.27-release (WMF-deploy-2015-12-08_(1.27.0-wmf.8)), Patch-For-Review, MediaWiki-Watchlist
PeterBowman created T119763: [CatWatch] Category namespace prefix is trimmed from RC links.
Nov 27 2015, 4:15 PM · CatWatch, MW-1.27-release-notes, MW-1.27-release (WMF-deploy-2015-12-08_(1.27.0-wmf.8)), Patch-For-Review, MediaWiki-Watchlist

Nov 18 2015

PeterBowman created T119006: Add new NS_PROJECT alias on eswiktionary.
Nov 18 2015, 10:47 PM · Wikimedia-Site-requests

Oct 7 2015

PeterBowman added a comment to T85386: Show an error if a named <ref> is defined multiple times with different content.

It might be worth noting that Cite won't raise this kind of error unless a <references> tag is provided: with (error) and without (no error).

Oct 7 2015, 10:10 PM · MediaWiki-TrackingCategories, MW-1.27-release (WMF-deploy-2015-10-06_(1.27.0-wmf.2)), User-notice, Parsoid, Cite

Sep 23 2015

PeterBowman added a comment to T87631: Interwiki search results should come after local ones in HTML.

@Nemo_bis: this patch has introduced a stray newline character below the results list (pl.wikisource).

Sep 23 2015, 9:07 PM · MW-1.26-release, WMF-deploy-2015-09-22_(1.26wmf24), good first task, MediaWiki-Search
PeterBowman added a comment to T73358: Line height is too low, text appears cramped in Special:Notifications.

This seems to have been fixed with 1.26wmf24.

Sep 23 2015, 7:34 PM · TestMe, Collaboration-Team-Triage, Design, Notifications