Page MenuHomePhabricator

Mike_Peel
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Apr 24 2015, 8:26 PM (291 w, 4 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Mike Peel [ Global Accounts ]

Recent Activity

Fri, Nov 20

Mike_Peel added a comment to T14019: ifexist function uses pagelinks table in lieu of better options.

I've submitted this to the community wishlist again this year: https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2021/Miscellaneous/Checking_if_a_page_exists

Fri, Nov 20, 8:36 PM · Community-Wishlist-Survey-2015, ParserFunctions

Wed, Nov 18

Mike_Peel added a comment to T59704: Support Julian Date (astronomy).

I'm not sure how useful this is for Wikidata, but if we do want to support JD we may want to have the option of modified Julian date, which is more commonly used in practice in astronomy. It's a simple offset between them.

Wed, Nov 18, 1:50 PM · Wikidata, patch-welcome, MediaWiki-extensions-WikibaseRepository

Wed, Nov 11

Mike_Peel added a comment to T261275: incorrect sitelink deletion behavior when page is moved to excluded (unsupported) namespace with "suppress redirect" option.

I'm not sure this is the best way to frame the problem. The acceptance criteria don't cover the case where an article gets deleted but the redirect stays.

Hmmmm. Is it even possible to delete an article and leave a redirect? Where would it be?

Wed, Nov 11, 7:05 PM · Patch-For-Review, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata
Mike_Peel added a comment to T261275: incorrect sitelink deletion behavior when page is moved to excluded (unsupported) namespace with "suppress redirect" option.

Personally, I would like to see us going in a different direction - we should stop excluding namespaces. For the 'Draft' namespace in particular, I don't like it, but it's unlikely to go away any time soon. So if we want to encourage people to use Wikidata information in articles, without having to constantly define the QID, then we should allow sitelinks to the draft articles. They would only be temporary after all, since enwp seems to periodically delete drafts.

Wed, Nov 11, 7:01 PM · Patch-For-Review, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata

Tue, Nov 10

Mike_Peel added a comment to T233520: page_props wikibase_item is sometimes not added to client pages when a sitelink is added on a repo.

I think this is another issue then the one originally reported (the end-user issue is the same though). I think we should open a new ticket.

Tue, Nov 10, 7:56 PM · Wikidata-Campsite, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Platform Engineering, User-Ladsgroup, User-Addshore, Commons, Wikidata

Thu, Oct 29

Mike_Peel added a comment to T233520: page_props wikibase_item is sometimes not added to client pages when a sitelink is added on a repo.

I've been adding infoboxes on Commons by finding the categories a different way (walking the category tree), when that edit is done it seems to fix the problem. However, I can't always do that, since I'm using page_props to find the candidates to add infoboxes to! See related discussion at https://commons.wikimedia.org/w/index.php?title=User_talk:Mike_Peel&oldid=506602467

Thu, Oct 29, 6:44 PM · Wikidata-Campsite, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Platform Engineering, User-Ladsgroup, User-Addshore, Commons, Wikidata

Mon, Oct 26

Mike_Peel added a comment to T233520: page_props wikibase_item is sometimes not added to client pages when a sitelink is added on a repo.

Another example: https://www.wikidata.org/wiki/Q100535082 (created 18 October), linking to https://commons.wikimedia.org/wiki/Category:J%C3%BCdenstra%C3%9Fe_(Gotha) .

Mon, Oct 26, 8:06 PM · Wikidata-Campsite, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Platform Engineering, User-Ladsgroup, User-Addshore, Commons, Wikidata

Oct 24 2020

Mike_Peel added a comment to T254280: Semi-protecting all properties.

Is the page info just out of date? Does it get overwritten by namespace-wide protection and just doesn't reflect that?

Luckily or unfortunately this happens on all wikis (also Wikipedia) and all protected/semi-protected namespaces (also the MediaWiki namespace). The (dis?)information page only seems to take into account the individual protection status of the page.

Oct 24 2020, 8:22 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata
Mike_Peel created T266395: $wgNamespaceProtection status is not displayed in the page information.
Oct 24 2020, 8:21 PM · MediaWiki-Page-protection
Mike_Peel added a comment to T254280: Semi-protecting all properties.

Possibly related, if you try to protect a property (e.g., https://www.wikidata.org/wiki/Property:P7006 ) now you see this:


There's no longer an option to semi-protect, but 'allow all users' seems to be possible?

Oct 24 2020, 8:18 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata
Mike_Peel created T266394: Protection interface displays 'Allow all users' despite $wgNamespaceProtection being applied.
Oct 24 2020, 8:17 PM · MediaWiki-Page-protection

Oct 20 2020

Mike_Peel added a comment to T258354: remove noratelimit from bot group for Wikidata.

Well, IIRC we’ve had problems with MassMessage being rate-limited in the past, so it’s probably better to be safe than sorry and still add it to the group. I’ve left a message on Ymblanter’s talk page.

Oct 20 2020, 12:41 PM · Pywikibot, Pywikibot-Wikidata, Patch-For-Review, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata, Wikidata.org

Oct 17 2020

Mike_Peel added a comment to T265800: pywikibot sitelinks have changed?.

@Xqt Thanks! I was trying title() (as per wd_item.title() ), but I didn't try .title. Is the introduction of SiteLink objects documented somewhere please?

Oct 17 2020, 5:49 PM · Pywikibot
Mike_Peel created T265800: pywikibot sitelinks have changed?.
Oct 17 2020, 5:16 PM · Pywikibot

Oct 15 2020

Mike_Peel added a comment to T254280: Semi-protecting all properties.

Possibly related, if you try to protect a property (e.g., https://www.wikidata.org/wiki/Property:P7006 ) now you see this:


There's no longer an option to semi-protect, but 'allow all users' seems to be possible?

Oct 15 2020, 9:44 AM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata

Oct 12 2020

Mike_Peel raised the priority of T56097: [Story] allow to select globe in the UI from Medium to High.

Raising this to high priority, this is really important to properly support coordinate systems for other planets without mistakenly implying that they are on Earth.

Oct 12 2020, 7:11 PM · Story, Wikidata, patch-welcome, MediaWiki-extensions-WikibaseRepository

Oct 2 2020

Mike_Peel changed the status of T254280: Semi-protecting all properties from Stalled to Open.

Yay! @Addshore @Lydia_Pintscher This configuration change can now be made.

Oct 2 2020, 10:31 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata

Sep 25 2020

Mike_Peel added a comment to T254280: Semi-protecting all properties.

I don't know how to move this forward now, I can't see how this close is compatible with $wgNamespaceProtection. Any thoughts?

Sep 25 2020, 10:09 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata
Mike_Peel updated subscribers of T254280: Semi-protecting all properties.

The RfC was closed with " In this discussion, I see rough consensus to generally semi-protect all property pages. The arguments for protection are that properties are highly visible; they are rarely edited by IPs and new users, and most of these edits get reverted, so that there is no obvious benefit. The main oppose argument is that many editors in the projects, who are not autoconfirmed on Wikidata, will not be able to edit properties, and this may affect descriptions on the less common languages. These arguments are valid and clear, they have been discussed for a sufficient period of time, and the opposers are clearly in minority.

Sep 25 2020, 10:09 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata

Aug 27 2020

Mike_Peel reopened T233520: page_props wikibase_item is sometimes not added to client pages when a sitelink is added on a repo as "Open".

Possibly this is still happening, see https://commons.wikimedia.org/wiki/Category:Serangoon_Secondary_School - sitelink was added on Wikidata on 14 August, but the query in https://bitbucket.org/mikepeel/wikicode/src/master/query_infobox_candidates.py is not retrieving it. Could someone check this example please?

Aug 27 2020, 4:56 PM · Wikidata-Campsite, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Platform Engineering, User-Ladsgroup, User-Addshore, Commons, Wikidata

Aug 20 2020

Mike_Peel added a comment to T198716: Enable PageImages on Commons categories namespace.

Also, at https://commons.wikimedia.org/w/index.php?title=Category:San_Francisco&action=info the page image was added via changing the image on Wikidata so it wasn't a panoramic one and then doing a null edit to the category - the actual edits to the page didn't change anything while the image was still a panoramic one.

Aug 20 2020, 6:14 PM · Readers-Web-Backlog (Needs Product Owner Decisions), Structured-Data-Backlog, Patch-For-Review, User-Jdlrobson, Wikimedia-Site-requests, Commons
Mike_Peel added a comment to T198716: Enable PageImages on Commons categories namespace.

I've tested this a bit, and it looks like null edits do update the page info, e.g. at https://commons.wikimedia.org/w/index.php?title=Category:Lovell_Telescope&action=info . I've also posted a notice about this at https://commons.wikimedia.org/wiki/Commons:Village_pump#PageImages_enabled_for_categories .

Aug 20 2020, 6:06 PM · Readers-Web-Backlog (Needs Product Owner Decisions), Structured-Data-Backlog, Patch-For-Review, User-Jdlrobson, Wikimedia-Site-requests, Commons

Aug 19 2020

Mike_Peel added a comment to T198716: Enable PageImages on Commons categories namespace.

Fantastic, thank you! I'll check more cases in the next few days, and will post back here if I find any issues.

Aug 19 2020, 8:35 PM · Readers-Web-Backlog (Needs Product Owner Decisions), Structured-Data-Backlog, Patch-For-Review, User-Jdlrobson, Wikimedia-Site-requests, Commons
Mike_Peel added a comment to T198716: Enable PageImages on Commons categories namespace.

Note this is enabled but comes with a big caveat - a page image is only derived from images within a page, not the pages from categories.
The image for the page image must be inside the article itself
e.g.
https://commons.wikimedia.org/wiki/Category:Coats_of_arms_of_presidents_of_Chile?action=info

Aug 19 2020, 6:44 PM · Readers-Web-Backlog (Needs Product Owner Decisions), Structured-Data-Backlog, Patch-For-Review, User-Jdlrobson, Wikimedia-Site-requests, Commons

Aug 6 2020

Mike_Peel added a comment to T248457: Fully terminate use of Wikidata item descriptions as short article descriptions for English Wikipedia articles.

Just to let you know that I've started at RfC about bot-syncing Wikidata and enwp descriptions at https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)#Synchronising_short_descriptions_and_Wikidata_descriptions

Aug 6 2020, 9:50 PM · Wikidata, MediaWiki-extensions-WikibaseClient
Mike_Peel added a comment to T184000: Magic word on English WP to override display of Wikidata short description.

Additional discussion at https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)#Synchronising_short_descriptions_and_Wikidata_descriptions

Aug 6 2020, 9:49 PM · MW-1.32-notes (WMF-deploy-2018-06-12 (1.32.0-wmf.8)), Wikipedia-iOS-App-Backlog, MW-1.31-release-notes (WMF-deploy-2018-03-13 (1.31.0-wmf.25)), Product-Infrastructure-Team-Backlog (Kanban), MediaWiki-extensions-WikibaseClient, Wikidata, Community-Tech

Aug 3 2020

Mike_Peel added a comment to T184000: Magic word on English WP to override display of Wikidata short description.

What about a bot importing the local descriptions from enwiki to wikidata? That way enwiki still has control over the content, but wikidata still has accurate and updated descriptions (that are then provided to commons, etc)

I can write a bot that will do that. It would still suck, as it's duplicating descriptions rather than having a single place that the descriptions are updated at, and I expect that it would be opposed for that reason. But if you would support it, then I can write it up and propose it.

Aug 3 2020, 7:53 PM · MW-1.32-notes (WMF-deploy-2018-06-12 (1.32.0-wmf.8)), Wikipedia-iOS-App-Backlog, MW-1.31-release-notes (WMF-deploy-2018-03-13 (1.31.0-wmf.25)), Product-Infrastructure-Team-Backlog (Kanban), MediaWiki-extensions-WikibaseClient, Wikidata, Community-Tech

Jul 20 2020

Mike_Peel added a comment to T258354: remove noratelimit from bot group for Wikidata.

What would happen if a bot reached a rate limit? Would its edits just be delayed, the same as what happens currently when maxlag is reached, or would the edits be dropped/result in an error message? Hopefully it would be the former.

Jul 20 2020, 8:18 PM · Pywikibot, Pywikibot-Wikidata, Patch-For-Review, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata, Wikidata.org

Jul 16 2020

Mike_Peel added a comment to T254280: Semi-protecting all properties.

There is now an RfC at https://www.wikidata.org/wiki/Wikidata:Requests_for_comment/General_semi_protection_for_all_property_pages - once that has finished and been closed I'll update this ticket accordingly.

Jul 16 2020, 10:48 AM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata

Jun 27 2020

Mike_Peel updated subscribers of T232927: Update the code behind the Wikimedia Commons link in the sidebar to use P910 and P1754 instead of P373.

OK, back to pinging @Lydia_Pintscher and @Lea_Lacroix_WMDE then (please?). ;-)

Jun 27 2020, 5:41 PM · MediaWiki-extensions-WikimediaBadges, Wikimedia-Interwiki-links, Wikidata

Jun 26 2020

Mike_Peel updated subscribers of T232927: Update the code behind the Wikimedia Commons link in the sidebar to use P910 and P1754 instead of P373.

@Jdlrobson I think part of it is removing P 373 from that config, and that alone would be a good step forward. However, the other part is to follow P 910/P 1754 items through to a different Wikidata item, and to fetch the Commons sitelink from that - and that's probably more complicated/requires code change rather than just a config change.

Jun 26 2020, 6:42 PM · MediaWiki-extensions-WikimediaBadges, Wikimedia-Interwiki-links, Wikidata
Mike_Peel updated subscribers of T232927: Update the code behind the Wikimedia Commons link in the sidebar to use P910 and P1754 instead of P373.

@Jdlrobson I saw you were working on the sidebar recently (for the language vs. other sites order), is this something you/your team would be interested in?

Jun 26 2020, 6:33 PM · MediaWiki-extensions-WikimediaBadges, Wikimedia-Interwiki-links, Wikidata

Jun 18 2020

Mike_Peel added a comment to T198716: Enable PageImages on Commons categories namespace.

@Mike_Peel is this still needed? If so @Ramsey-WMF is this something your team or our team (@ovasileva ) could look into?

Jun 18 2020, 7:26 PM · Readers-Web-Backlog (Needs Product Owner Decisions), Structured-Data-Backlog, Patch-For-Review, User-Jdlrobson, Wikimedia-Site-requests, Commons

Jun 11 2020

Mike_Peel added a comment to T255178: API problems?.

Seems so, but that was the phab ticket immediately after this one! ;-)

Jun 11 2020, 6:51 PM · MediaWiki-API, Platform Engineering, Pywikibot
Mike_Peel updated the task description for T255178: API problems?.
Jun 11 2020, 6:49 PM · MediaWiki-API, Platform Engineering, Pywikibot
Mike_Peel added a project to T255178: API problems?: MediaWiki-API.
Jun 11 2020, 6:47 PM · MediaWiki-API, Platform Engineering, Pywikibot
Mike_Peel removed a project from T255178: API problems?: ApiFeatureUsage.
Jun 11 2020, 6:46 PM · MediaWiki-API, Platform Engineering, Pywikibot
Mike_Peel created T255178: API problems?.
Jun 11 2020, 6:43 PM · MediaWiki-API, Platform Engineering, Pywikibot
Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

I ran that query on an idle host and it took 25 minutes, which is right on the edge of the 30 minutes killer Quarry has, so given that those hosts are shared, it is entirely possible that it goes over 30 minutes and gets killed by Quarry.

Jun 11 2020, 8:47 AM · Quarry, Data-Services
Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

I am still getting the same error at https://quarry.wmflabs.org/query/40539 . Trying on toolforge now...

Jun 11 2020, 7:45 AM · Quarry, Data-Services

Jun 6 2020

Mike_Peel added a comment to T254280: Semi-protecting all properties.

@Lydia_Pintscher Yes, editable by autoconfirmed users. The discussion is still ongoing, and I'm not quite sure how to close it, see https://www.wikidata.org/wiki/Wikidata:Project_chat#When/how_to_close_this?

Jun 6 2020, 5:37 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata
Mike_Peel added a comment to T253485: Add a Lua call that returns a list of defined properties without requiring a call to getEntity.

@Lydia_Pintscher Yes, it's related to https://commons.wikimedia.org/wiki/Template_talk:Wikidata_Infobox#Performance_questions

Jun 6 2020, 5:32 PM · Wikibase-Lua, Wikidata

Jun 4 2020

Mike_Peel added a comment to T254280: Semi-protecting all properties.

@Addshore The property-term user right is something that would have to be granted so that people could edit property labels, right? I think that's going too far for now as it would have to be given to quite a few editors. $wgNamespaceProtection sounds good.

Jun 4 2020, 7:37 AM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata

Jun 2 2020

Mike_Peel created T254280: Semi-protecting all properties.
Jun 2 2020, 9:03 PM · Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata

May 31 2020

Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

OK, I think I'm just wasting CPU time by trying to run this query at the moment. I'll pause {{Wikidata Infobox}} deployment on Commons until things are running better. Best of luck with the debugging, thank you for your work, and please comment on this ticket when the situation is better.

May 31 2020, 8:30 PM · Quarry, Data-Services

May 30 2020

Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

I'm now running my query (https://quarry.wmflabs.org/query/40539) directly on toolforge via the grid engine, and I'm still getting "pymysql.err.OperationalError: (2013, 'Lost connection to MySQL server during query')" (after running for ~2 hours). Should I open a separate ticket for that? Something doesn't seem right here still, though.

May 30 2020, 8:48 PM · Quarry, Data-Services

May 24 2020

Mike_Peel created T253485: Add a Lua call that returns a list of defined properties without requiring a call to getEntity.
May 24 2020, 7:27 PM · Wikibase-Lua, Wikidata

May 15 2020

Mike_Peel closed T250632: Would it be possible to create a new namespace for local files? as Declined.
May 15 2020, 5:57 AM · MediaWiki-File-management, MediaWiki-General, Commons

May 14 2020

Mike_Peel added a comment to T252750: Commons categories not linked to any wikidata element no longer display in side menu 'In Wikipedia Edit links'.

If you go to e.g., https://en.wikipedia.org/wiki/Raymond_McLeod (which isn't linked to Wikidata yet), there is a section 'Languages' with a button 'add links' in the bottom of the left-hand sidebar. That used to be present on Commons as well, but it seems to have vanished.

May 14 2020, 9:42 AM · Wikidata-Campsite, Wikidata, Commons

May 3 2020

Mike_Peel added a comment to T169935: API issues when fetching Wikidata information through infoboxes on enwp.

@Gapfall Sorry for the slow reply. Yes, see https://en.wikipedia.org/w/index.php?title=Template:Infobox_observatory&diff=855389083&oldid=855381712 - I've removed it again.

May 3 2020, 3:48 PM · Wikidata

May 2 2020

Mike_Peel added a comment to T247978: Quarry query became work much slower.

@Framawiki @bd808 Source/context for the issue, please? If there are only 3 servers in total here, are there plans to add more?

May 2 2020, 7:32 PM · Data-Services, DBA, Quarry

Apr 20 2020

Mike_Peel added a comment to T250632: Would it be possible to create a new namespace for local files?.

Thanks Tgr, that's good to know, and has answered my question. It sounds like a no-go, so I think this ticket can be closed as resolved.

Apr 20 2020, 6:18 PM · MediaWiki-File-management, MediaWiki-General, Commons

Apr 19 2020

MarioGom awarded T250632: Would it be possible to create a new namespace for local files? a Love token.
Apr 19 2020, 10:39 PM · MediaWiki-File-management, MediaWiki-General, Commons
Mike_Peel created T250632: Would it be possible to create a new namespace for local files?.
Apr 19 2020, 9:15 PM · MediaWiki-File-management, MediaWiki-General, Commons

Apr 9 2020

Mike_Peel added a comment to T249565: Wikidata's wb_items_per_site table has suddenly disappeared, creating DBQueryErrors on page views.

Is it the time to unblock EmausBot?

I don't think so, at least for now; better to err on the side of caution

Apr 9 2020, 7:27 PM · User-Addshore, MW-1.35-notes (1.35.0-wmf.27; 2020-04-07), User-notice, Wikimedia-Incident, User-Ladsgroup, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), MediaWiki-extensions-WikibaseRepository, DBA, Wikidata, User-DannyS712, Wikimedia-production-error

Apr 7 2020

Mike_Peel added a comment to T249565: Wikidata's wb_items_per_site table has suddenly disappeared, creating DBQueryErrors on page views.

I think Roy was talking about enwp:
https://en.wikipedia.org/w/index.php?title=Special:Log&page=User%3AEmausBot&type=block

Apr 7 2020, 5:23 PM · User-Addshore, MW-1.35-notes (1.35.0-wmf.27; 2020-04-07), User-notice, Wikimedia-Incident, User-Ladsgroup, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), MediaWiki-extensions-WikibaseRepository, DBA, Wikidata, User-DannyS712, Wikimedia-production-error

Apr 4 2020

Mike_Peel triaged T232927: Update the code behind the Wikimedia Commons link in the sidebar to use P910 and P1754 instead of P373 as High priority.

Anyone? There are quite a few commons links that aren't being displayed because the logic here hasn't been updated.

Apr 4 2020, 7:22 PM · MediaWiki-extensions-WikimediaBadges, Wikimedia-Interwiki-links, Wikidata

Apr 1 2020

Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

Hmm, Quarry is still not completing the query, and now paws has stopped working. :-(

Apr 1 2020, 8:05 PM · Quarry, Data-Services
Mike_Peel created T249161: PAWS down?.
Apr 1 2020, 7:39 PM · PAWS

Mar 27 2020

Mike_Peel added a comment to T248457: Fully terminate use of Wikidata item descriptions as short article descriptions for English Wikipedia articles.

I really hope this never happens

There was repeated consensus on this, and if you recall you participated in one. The Foundation handled things badly, but committed to terminating wikidata descriptions when we reached 2 million local descriptions. I expect the result would be Bad all around if the Foundation were to renege.

Mar 27 2020, 8:15 PM · Wikidata, MediaWiki-extensions-WikibaseClient
Mike_Peel added a comment to T184000: Magic word on English WP to override display of Wikidata short description.

I think we are forgetting that both systems have divergent copyright licenses, with WikiData the more liberal one. As such a bot automatically copy pasting would likely violate copyright licensing.

Mar 27 2020, 8:13 PM · MW-1.32-notes (WMF-deploy-2018-06-12 (1.32.0-wmf.8)), Wikipedia-iOS-App-Backlog, MW-1.31-release-notes (WMF-deploy-2018-03-13 (1.31.0-wmf.25)), Product-Infrastructure-Team-Backlog (Kanban), MediaWiki-extensions-WikibaseClient, Wikidata, Community-Tech

Mar 26 2020

Mike_Peel added a comment to T184000: Magic word on English WP to override display of Wikidata short description.

What about a bot importing the local descriptions from enwiki to wikidata? That way enwiki still has control over the content, but wikidata still has accurate and updated descriptions (that are then provided to commons, etc)

I can write a bot that will do that. It would still suck, as it's duplicating descriptions rather than having a single place that the descriptions are updated at, and I expect that it would be opposed for that reason. But if you would support it, then I can write it up and propose it.

It would suck, but its better than two different and diverging sources. We would need a way to tell the bot to skip certain items though...

It still means that we maintain two separate databases containing what should be the same information. Telling a bot to skip certain items is a key problem, but not the only one, we still have to figure out how to automatically resolve arguments that arise between an editor on enwp and an editor on wikidata, or have some sort of mediation page.

Mar 26 2020, 11:24 PM · MW-1.32-notes (WMF-deploy-2018-06-12 (1.32.0-wmf.8)), Wikipedia-iOS-App-Backlog, MW-1.31-release-notes (WMF-deploy-2018-03-13 (1.31.0-wmf.25)), Product-Infrastructure-Team-Backlog (Kanban), MediaWiki-extensions-WikibaseClient, Wikidata, Community-Tech
Mike_Peel added a comment to T184000: Magic word on English WP to override display of Wikidata short description.

What about a bot importing the local descriptions from enwiki to wikidata? That way enwiki still has control over the content, but wikidata still has accurate and updated descriptions (that are then provided to commons, etc)

Mar 26 2020, 11:12 PM · MW-1.32-notes (WMF-deploy-2018-06-12 (1.32.0-wmf.8)), Wikipedia-iOS-App-Backlog, MW-1.31-release-notes (WMF-deploy-2018-03-13 (1.31.0-wmf.25)), Product-Infrastructure-Team-Backlog (Kanban), MediaWiki-extensions-WikibaseClient, Wikidata, Community-Tech
Mike_Peel added a comment to T248457: Fully terminate use of Wikidata item descriptions as short article descriptions for English Wikipedia articles.

I really hope this never happens, and that the locally-defined descriptions are merged back to Wikidata. There are 2.8+ million infoboxes on Commons that are using the English descriptions from Wikidata, and there is currently no way that they can access the enwp descriptions.

Mar 26 2020, 11:07 PM · Wikidata, MediaWiki-extensions-WikibaseClient
Mike_Peel added a comment to T184000: Magic word on English WP to override display of Wikidata short description.

Just a "heads-up" that a search on enwiki articles for hastemplate:"short description" yields 2,083,124 results.

May we assume that we will be moving on to Stage 2 in the near future?

Mar 26 2020, 11:04 PM · MW-1.32-notes (WMF-deploy-2018-06-12 (1.32.0-wmf.8)), Wikipedia-iOS-App-Backlog, MW-1.31-release-notes (WMF-deploy-2018-03-13 (1.31.0-wmf.25)), Product-Infrastructure-Team-Backlog (Kanban), MediaWiki-extensions-WikibaseClient, Wikidata, Community-Tech

Mar 20 2020

Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

I sort of have my query running on paws now (at https://paws.wmflabs.org/paws/user/Mike_Peel/notebooks/Query%20for%20Wikidata%20Infobox.ipynb if you can access that) - it fetches 100 results at a time, with an offset for the next query. I'm running through those results to add the infobox on commons, but it's a painful process (and it's probably costing more server time than usual). There must be a better way of doing this.

Mar 20 2020, 7:28 PM · Quarry, Data-Services

Mar 18 2020

Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

Not sure if you were looking at the right side, the host involved here is labsdb1011, which has a high CPU usage

Mar 18 2020, 2:35 PM · Quarry, Data-Services

Mar 17 2020

Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

I expect that there would be few requests. Phab would also work.

Mar 17 2020, 9:55 PM · Quarry, Data-Services
Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

@zhuyifei1999 Perhaps there could be some sort of a trusted user set on quarry that can run things for longer?

How do you want such a list to be made? I obviously can't made it like RFA sort of thing, since quarry has no admin web interface.

Mar 17 2020, 9:03 PM · Quarry, Data-Services
Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

Looking at CPU usage at https://grafana.wikimedia.org/d/000000607/cluster-overview?orgId=1&from=now-30d&to=now I can't see anything obvious that would explain things running longer. An exception might be an-launcher1001, which shows repeated CPU usage spikes since about the same start time.

Mar 17 2020, 7:24 PM · Quarry, Data-Services

Mar 14 2020

Mike_Peel added a comment to T232927: Update the code behind the Wikimedia Commons link in the sidebar to use P910 and P1754 instead of P373.

@Lydia_Pintscher Is this within WMDE's scope, or WMF? It would be nice to have this actioned at some point.

Mar 14 2020, 4:31 PM · MediaWiki-extensions-WikimediaBadges, Wikimedia-Interwiki-links, Wikidata

Mar 13 2020

Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

I'm now getting the normal 'killed' message for going over 30 minutes, rather than the MySQL error. So perhaps things are now back to normal?

Mar 13 2020, 6:56 AM · Quarry, Data-Services

Mar 12 2020

Mike_Peel added a comment to T247477: creating links from commons to en-wikipedia fails with message A page "Category:XYZ" could not be found on "mediawikiwiki". The external client site "mediawikiwiki" did not provide page information for page "Category:XYZ".

I get a different problem when trying to reproduce this, which may be related - typing "en" does not return English Wikipedia, just 'enwikibooks', see screenshot. Same for 'de', 'nl', etc.

Mar 12 2020, 8:06 AM · Wikidata-Campsite, Wikidata, Commons

Mar 8 2020

Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

I'm now getting the normal 'killed' message for going over 30 minutes, rather than the MySQL error. So perhaps things are now back to normal?

Mar 8 2020, 8:25 PM · Quarry, Data-Services

Mar 7 2020

Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

It is likely that the query is running for more than 4h then. I am executing it on an idle labs replica under root user, to see how long it takes to actually finish on a non loaded host.

It's a query I run regularly, it normally takes between 15 and 30 minutes depending on the server load - and sometimes longer if the servers are busy, but then it normally just gets killed by quarry's 30 minute limit.

Ah, I didn't know there was a limit on quarry itself. Then you've got your answer :-)
The query times will probably depend on how loaded the host is, so it can be different each time.
I am running it on a non loaded host, so we can see how long it takes there for real.

Mar 7 2020, 1:05 PM · Quarry, Data-Services
Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

It is likely that the query is running for more than 4h then. I am executing it on an idle labs replica under root user, to see how long it takes to actually finish on a non loaded host.

Mar 7 2020, 8:11 AM · Quarry, Data-Services
Mike_Peel added a comment to T246970: Quarry: Lost connection to MySQL server during query.

Mentioned in SAL (#wikimedia-cloud) [2020-03-06T19:32:03Z] <zhuyifei1999_> changed to analytics replica for database queries and restarted celery workers T246970

Mar 7 2020, 6:59 AM · Quarry, Data-Services

Mar 6 2020

matej_suchanek awarded T233520: page_props wikibase_item is sometimes not added to client pages when a sitelink is added on a repo a 100 token.
Mar 6 2020, 8:39 AM · Wikidata-Campsite, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Platform Engineering, User-Ladsgroup, User-Addshore, Commons, Wikidata

Mar 5 2020

Mike_Peel added a project to T246970: Quarry: Lost connection to MySQL server during query: Cloud-Services.

Also under discussion at https://www.mediawiki.org/w/index.php?title=Topic:Vhw07swro9jqy4w0

Mar 5 2020, 8:46 PM · Quarry, Data-Services

Feb 7 2020

Mike_Peel added a comment to T244529: mw.wikibase.getLabelByLang not return item label for some items, because MIGRATION_WRITE_NEW is being deployed with train for wmf.18.

We're rolling back to wmf.16 on all wikis. We hope this will resolve the issues but of course some bad data may now be cached. We'll look at this again on Monday.

Feb 7 2020, 5:28 PM · MW-1.35-notes (1.35.0-wmf.18; 2020-02-04), MediaWiki-extensions-WikibaseRepository, User-Addshore, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Regression, Wikidata
Mike_Peel added a comment to T244529: mw.wikibase.getLabelByLang not return item label for some items, because MIGRATION_WRITE_NEW is being deployed with train for wmf.18.

This is also showing up on Commons in the infobox and other templates that use Wikidata, see:
https://commons.wikimedia.org/wiki/Template_talk:Wikidata_Infobox#Family_relations_show_up_as_Q_values
https://commons.wikimedia.org/wiki/Commons:Village_pump#Familytree_template_and_Wikidata_info
+1 to 'unbreak now' please!

Feb 7 2020, 10:25 AM · MW-1.35-notes (1.35.0-wmf.18; 2020-02-04), MediaWiki-extensions-WikibaseRepository, User-Addshore, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Regression, Wikidata

Jan 23 2020

Mike_Peel renamed T243488: Wiki replicas replication lag for the s4 slice (commonswiki) is over 80 hours from S4 replication lab on Wikimedia Clouds is over 70 hours to S4 replication lab on Wikimedia Clouds is over 80 hours.
Jan 23 2020, 8:04 PM · Data-Services, Commons
Mike_Peel created T243488: Wiki replicas replication lag for the s4 slice (commonswiki) is over 80 hours.
Jan 23 2020, 8:05 AM · Data-Services, Commons
Mike_Peel added a comment to T243479: Phab Global Search broken: Unhandled Exception: Argument 1 passed to PhabricatorHandleQuery::withPHIDs() must be of the type array, object given.

If you search for ticket numbers (e.g., 'T243479'), then you can reach the corresponding ticket - but no free text searching it seems.

Jan 23 2020, 8:00 AM · Phabricator (2020-01-23), Regression

Jan 22 2020

Mike_Peel closed T243130: Disabled 'Connection with Wikidata' in Notification preferences but still get notices of connection of Wikipedia articles on my watchlist to Wikidata as Resolved.

OK, I've tentatively closed this, if you start getting the notifications again then please reopen it!

Jan 22 2020, 11:59 AM · Growth-Team, Notifications

Jan 21 2020

Mike_Peel added a comment to T243130: Disabled 'Connection with Wikidata' in Notification preferences but still get notices of connection of Wikipedia articles on my watchlist to Wikidata.

OK, two test edits:

Jan 21 2020, 8:43 PM · Growth-Team, Notifications
Mike_Peel added a comment to T243130: Disabled 'Connection with Wikidata' in Notification preferences but still get notices of connection of Wikipedia articles on my watchlist to Wikidata.

They are all Commons categories so far I remember. Examples are Category:Sole Common Pond, Category:Westfield Farm Chalk Bank, Category:Easton Farm Meadow, Category:Boxford Water Meadows.

Jan 21 2020, 11:13 AM · Growth-Team, Notifications
Mike_Peel added a comment to T243130: Disabled 'Connection with Wikidata' in Notification preferences but still get notices of connection of Wikipedia articles on my watchlist to Wikidata.

@Dudley_Miles Could you give some examples of articles/categories where you received notifications from me, please? One thought is that I am using a Python script to add these links rather than the editing interface, and in some cases I add both the enwp and commons link simultaneously to a new item linking the two. Perhaps that somehow means that the option blocks one notification but somehow lets the other through.

Jan 21 2020, 7:42 AM · Growth-Team, Notifications

Jan 19 2020

Mike_Peel closed T241598: Commons integration as Resolved.

This is now live in the main version of the infobox.

Jan 19 2020, 10:59 AM · Wikispore

Jan 17 2020

Mike_Peel awarded T233520: page_props wikibase_item is sometimes not added to client pages when a sitelink is added on a repo a Love token.
Jan 17 2020, 8:55 PM · Wikidata-Campsite, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Platform Engineering, User-Ladsgroup, User-Addshore, Commons, Wikidata

Jan 15 2020

Mike_Peel added a comment to T233520: page_props wikibase_item is sometimes not added to client pages when a sitelink is added on a repo.

Thank you, @Addshore, for investigating this issue!

Jan 15 2020, 10:27 PM · Wikidata-Campsite, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Platform Engineering, User-Ladsgroup, User-Addshore, Commons, Wikidata
Mike_Peel added a comment to T233520: page_props wikibase_item is sometimes not added to client pages when a sitelink is added on a repo.

Thanks! There's a possible new case from the last few days at https://commons.wikimedia.org/wiki/Category:Henrik_Harpestrengs_Vej / https://www.wikidata.org/wiki/Q81792970

Jan 15 2020, 10:16 AM · Wikidata-Campsite, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Platform Engineering, User-Ladsgroup, User-Addshore, Commons, Wikidata
Mike_Peel added a comment to T233520: page_props wikibase_item is sometimes not added to client pages when a sitelink is added on a repo.

If null edits work, and this isn't a problem where new cases will be created in the future, then I could run a bot through them to make null edits - is there is a list of all affected pages?

Jan 15 2020, 9:55 AM · Wikidata-Campsite, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Platform Engineering, User-Ladsgroup, User-Addshore, Commons, Wikidata

Jan 1 2020

Mike_Peel claimed T241598: Commons integration.

Added to {{Wikidata Infobox/sandbox}} for testing.

Jan 1 2020, 3:13 PM · Wikispore

Dec 14 2019

Mike_Peel updated subscribers of T240762: Link to deleted page on en-wikipedia remains on wikidata.
Dec 14 2019, 7:41 PM · Wikidata

Nov 29 2019

Mike_Peel closed T237499: Sitelink tables corrupted after merge of items as Resolved.

I haven't seen any live examples of this recently, so I'm marking this as resolved.

Nov 29 2019, 8:27 PM · Wikidata-Campsite, Wikidata

Nov 12 2019

Mike_Peel added a comment to T235811: Wikimedia Commons "Collapse captions" gadget not working.

The widgets in the WikibaseMediaInfo extension use templates and render() methods to ensure that the visible UI remains in sync with the structured data as it changes. Existing DOM elements are often thrown out and re-rendered from scratch to ensure consistency. Our introduction of this workflow into the Captions widget is probably what initially broke this gadget.

Nov 12 2019, 7:46 PM · SDC General, Commons
Mike_Peel added a comment to T237499: Sitelink tables corrupted after merge of items.

I'll have a look around for some current examples, but I haven't seen any for the last week, so this may well have been solved with the deadlocks issue. Although T233520 (page_props missing links) is definitely still happening, and may be related to clearing out any old cases here as well.

Nov 12 2019, 4:52 PM · Wikidata-Campsite, Wikidata

Nov 11 2019

Mike_Peel reopened T235811: Wikimedia Commons "Collapse captions" gadget not working as "Open".

This hack generally doesn't seem to work now. I think something has changed in the SDC code that means that the hook no longer works. I'm not sure if that can be fixed within the gadget, or if it requires a tweak to the SDC HTML. Perhaps @Jdforrester-WMF or @Abit could have a look?

Nov 11 2019, 8:56 AM · SDC General, Commons

Nov 6 2019

Mike_Peel added a comment to T237499: Sitelink tables corrupted after merge of items.

I can currently normally find live examples of this by looking through the English Wikipedia for commons category links missing from Wikidata - so if you need live examples when debugging this, let me know and I can provide some.

Nov 6 2019, 7:46 AM · Wikidata-Campsite, Wikidata