Page MenuHomePhabricator

Johnuniq
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Jul 8 2017, 5:41 AM (114 w, 1 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Johnuniq [ Global Accounts ]

Recent Activity

Mar 28 2018

Johnuniq added a comment to T190813: Module for unit conversions.

Convert is unbelievably complex. When embarking on the process of translating the 4000+ templates used prior to the module (June 2013), I had the programmer's glow of confidence but that wilted on discovering how many quirks convert has. Something might be 12 feet (3.7 m) long, or 12 ft (3.7 m) or 12 feet (3.7 metres) or 12 feet (3.7 meters). Or perhaps you have a 12-foot-long (3.7-metre) something. Then there are a bunch of rounding options and ranges, for example 2 by 3 by 4 inches (50 mm × 75 mm × 100 mm).

Mar 28 2018, 6:53 AM · MediaWiki-extension-requests

Sep 11 2017

Johnuniq added a comment to T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.

@Vachovec1 The module I wrote was originally Module:Country because I thought it would be enhanced to cover more than Europe. The module was moved and I explained my plans at c:Module talk:Countries of Europe. In a few days I am likely to have something to demonstrate and we could decide on a better name such as Module:Countries.

Sep 11 2017, 10:28 AM · Patch-For-Review, Wikimedia-production-error, MediaWiki-extensions-Scribunto, Operations, Commons
Johnuniq added a comment to T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.

@Jarekt c:Category:SVG logos of the United Kingdom no longer has a problem, but that is because I implemented the template with a module which uses mw.wikibase.label. See T171392#3587254 above for a table comparing the performance of the old template with the module—the module uses under 0.05 seconds and 1.2 MB. Some notes on the reduction in the number of pages listed at the error category are at template talk.

Sep 11 2017, 7:28 AM · Patch-For-Review, Wikimedia-production-error, MediaWiki-extensions-Scribunto, Operations, Commons

Sep 7 2017

Johnuniq added a comment to T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.

My understanding of the situation is:

Sep 7 2017, 5:01 AM · Patch-For-Review, Wikimedia-production-error, MediaWiki-extensions-Scribunto, Operations, Commons

Sep 2 2017

Johnuniq added a comment to T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.

I updated Module:Country and believe it now displays the same result as Template:Countries of Europe. See the demonstration at module talk and the discussion at template talk. As far as I know there is no realistic way of comparing outputs from the current template and the sandbox template (which invokes the module) for all possible languages, so replacing the current template would be courageous, but it would avoid the out-of-memory errors.

Sep 2 2017, 10:34 AM · Patch-For-Review, Wikimedia-production-error, MediaWiki-extensions-Scribunto, Operations, Commons

Aug 30 2017

Johnuniq added a comment to T171392: Some Commons pages transcluding Template:Countries_of_Europe HTTP 500/503 due to OOM in Lua→PHP→Lua calls.

Following a discussion at en:WP:VPT I wrote a very small module (commons:Module:Country) to test the overhead from fetching the Wikidata label for each country in Europe. I used a generic module name in the hope that I might extend it to provide a more efficient alternative to commons:Template:Countries of Europe.

Aug 30 2017, 11:17 AM · Patch-For-Review, Wikimedia-production-error, MediaWiki-extensions-Scribunto, Operations, Commons

Aug 24 2017

Vachovec1 awarded T170039: Pages display Lua error in mw.wikibase.entity.lua a Doubloon token.
Aug 24 2017, 7:59 PM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata

Aug 8 2017

Johnuniq added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

Using Special:Search for "data.schemaVersion must be a number" (with quotes) shows many of the mw.wikibase.entity.lua at line 37: data.schemaversion must be a number, got nil instead problems. That applies at enwiki (330 pages listed), but itwiki wins with over 5700 pages. Possibly the problem pages are noticed and purged more quickly at enwiki.

Aug 8 2017, 9:34 AM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata

Aug 1 2017

RandomDSdevel awarded T170039: Pages display Lua error in mw.wikibase.entity.lua a Baby Tequila token.
Aug 1 2017, 11:10 PM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata

Jul 25 2017

Johnuniq added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

The new error message was mentioned at en:WP:VPT and I replied that it is part of the "what exactly the problem is" patch mentioned by hoo above. I also noted that I recently purged articles with script errors, and it is currently adding about four articles per hour.

Jul 25 2017, 11:48 AM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata

Jul 18 2017

Johnuniq added a comment to T170039: Pages display Lua error in mw.wikibase.entity.lua.

Any comments about my guess in the initial report? I speculated that php.getEntityId in mw.wikibase.lua sometimes returns junk due to a timeout when it tries to establish a network connection with the Wikidata database (that I know nothing about).

Jul 18 2017, 12:52 AM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata

Jul 17 2017

putnik awarded T170039: Pages display Lua error in mw.wikibase.entity.lua a The World Burns token.
Jul 17 2017, 3:05 PM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata

Jul 16 2017

Framawiki awarded T170039: Pages display Lua error in mw.wikibase.entity.lua a The World Burns token.
Jul 16 2017, 6:54 PM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata
Thibaut120094 awarded T170039: Pages display Lua error in mw.wikibase.entity.lua a The World Burns token.
Jul 16 2017, 4:00 PM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata

Jul 11 2017

Johnuniq updated the task description for T170039: Pages display Lua error in mw.wikibase.entity.lua.
Jul 11 2017, 4:48 AM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata

Jul 8 2017

Johnuniq updated the task description for T170039: Pages display Lua error in mw.wikibase.entity.lua.
Jul 8 2017, 9:07 AM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata
Johnuniq created T170039: Pages display Lua error in mw.wikibase.entity.lua.
Jul 8 2017, 7:50 AM · Wikidata-Former-Sprint-Board, User-notice, MediaWiki-extensions-Scribunto, MediaWiki-Parser, MediaWiki-extensions-WikibaseClient, Wikidata