Page MenuHomePhabricator
Feed Advanced Search

Mar 29 2020

CXuesong added a comment to T247196: Wikibase property names are missing when renders.

I've applied patch r/578298 and it seems the problem has been mitigated after purging the pages. Thanks in advance!

Mar 29 2020, 3:13 PM · MW-1.35-notes (1.35.0-wmf.34; 2020-05-26), Patch-For-Review, User-Ladsgroup, Regression, User-Addshore, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata, MediaWiki-extensions-WikibaseRepository

Mar 24 2020

CXuesong awarded Blog Post: Coming to Terms with Change a Love token.
Mar 24 2020, 3:10 PM · Wikidata

Mar 14 2020

CXuesong updated CXuesong.
Mar 14 2020, 11:37 AM

Mar 8 2020

CXuesong added a comment to T247196: Wikibase property names are missing when renders.

Yes, I have.

Mar 8 2020, 5:41 PM · MW-1.35-notes (1.35.0-wmf.34; 2020-05-26), Patch-For-Review, User-Ladsgroup, Regression, User-Addshore, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata, MediaWiki-extensions-WikibaseRepository
CXuesong updated CXuesong.
Mar 8 2020, 2:40 PM
CXuesong updated CXuesong.
Mar 8 2020, 2:39 PM
CXuesong renamed T247196: Wikibase property names are missing when renders from Wikibase property names are missing to Wikibase property names are missing when renders.
Mar 8 2020, 2:36 PM · MW-1.35-notes (1.35.0-wmf.34; 2020-05-26), Patch-For-Review, User-Ladsgroup, Regression, User-Addshore, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata, MediaWiki-extensions-WikibaseRepository
CXuesong created T247196: Wikibase property names are missing when renders.
Mar 8 2020, 2:15 PM · MW-1.35-notes (1.35.0-wmf.34; 2020-05-26), Patch-For-Review, User-Ladsgroup, Regression, User-Addshore, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), Wikidata, MediaWiki-extensions-WikibaseRepository

Jan 19 2020

Restricted Application added a project to T78703: Support query continuation for Nearby requests: Discovery-Search.

Just want to let you know now we have some dependency on the continuation support of action=query&list=geosearch XD (T95241 has been merged into this task)

Jan 19 2020, 4:59 AM · Discovery-Search, GeoData

Sep 2 2019

CXuesong awarded T48556: [Epic] Wikidata 3rd party client (Instant Wikidata) a Love token.
Sep 2 2019, 4:01 PM · Patch-For-Review, Epic, Wikidata, MediaWiki-extensions-WikibaseClient

Jul 28 2019

Restricted Application added a project to T170425: Interlacing login and logout requests on different client on same PC affect each other: Platform Engineering.

I came here because this problem seems to be gone if I use a Bot Password (generated from Special:BotPasswords). That is, I have the following response sequence now, as long as I use a bot password to login

B --> format=json&action=logout
B <-- {}
A --> format=json&action=query&meta=userinfo&uiprop=blockinfo%7Cgroups%7Chasmsg%7Crights
A <-- {"batchcomplete":"","query":{"userinfo":{"id":6332,"name":"XuesongBot","groups":["bot","editor","*","user","autoconfirmed"], ...

which means logging out on the HttpClient B won't logging me out on the HttpClient A. While this is great and can facilitate my unit testing, I'm just wondering why the behavior can be such different. Do you have some explanation that may shed some light on this? Thanks!

Jul 28 2019, 3:55 PM · Platform Engineering, MediaWiki-API

Dec 23 2017

CXuesong removed a watcher for MediaWiki-extensions-WikibaseRepository: CXuesong.
Dec 23 2017, 3:43 PM
CXuesong removed a watcher for MediaWiki-extensions-WikibaseClient: CXuesong.
Dec 23 2017, 3:42 PM

Dec 17 2017

CXuesong added a watcher for MediaWiki-extensions-WikibaseClient: CXuesong.
Dec 17 2017, 11:13 AM
CXuesong added a watcher for MediaWiki-extensions-WikibaseRepository: CXuesong.
Dec 17 2017, 11:12 AM
CXuesong added a comment to T173842: [BUG] Wikidata description for the specific Chinese language variant should be shown.

I agree with @fantasticfears 's comments. Allowing user to mark a label in zh is not accurate enough. I even thought of, in an aggressive perspective, we should use zh-cn/tw/hk/mo/sg instead of plain zh-hans/hant, when specifying the label and description for an entity. After all, aside from fallbacks (e.g. zh-tw --> zh-hant), wikidata can automatically use, e.g. zh-tw label when a user request for zh-hant label, but there is no zh-hant label directly assigned to this entity.

Dec 17 2017, 4:53 AM · Product-Infrastructure-Team-Backlog, User-Addshore, Wikidata, Android-app-feature-Multilingual, Chinese-Sites, Wikipedia-Android-App-Backlog, Android-app-Bugs

Dec 11 2017

CXuesong added a comment to T182573: action=wbsetclaim cannot create new claim as stated in the documentation.

I see. Thanks for your explanation, Thiemo!

Dec 11 2017, 4:23 PM · patch-welcome, Documentation, MediaWiki-extensions-WikibaseRepository, Wikidata
CXuesong created T182573: action=wbsetclaim cannot create new claim as stated in the documentation.
Dec 11 2017, 12:21 PM · patch-welcome, Documentation, MediaWiki-extensions-WikibaseRepository, Wikidata

Dec 10 2017

CXuesong added a comment to T182485: zh falls back to zh-hans, why?.

My guess is because in CLDR, the Simplified content are just using zh instead of zh_hans

Dec 10 2017, 7:04 AM · MediaWiki-Internationalization

Dec 9 2017

CXuesong created T182485: zh falls back to zh-hans, why?.
Dec 9 2017, 6:09 AM · MediaWiki-Internationalization

Dec 8 2017

CXuesong awarded T182147: more convenience functions for Lua a Love token.
Dec 8 2017, 12:10 PM · Wikibase-Lua, MediaWiki-extensions-WikibaseClient, Wikidata

Dec 7 2017

CXuesong awarded T106748: [Story] Display "What statements link here" on item pages and add a Wikibase-Client function to access these statements from the 'object' item a Like token.
Dec 7 2017, 12:00 PM · Story, MediaWiki-extensions-WikibaseRepository, Wikidata

Dec 2 2017

CXuesong awarded T167521: Simplify access to properties that currently require traversing numerous items a Like token.
Dec 2 2017, 4:40 PM · Wikidata, MediaWiki-extensions-WikibaseClient

Oct 15 2017

CXuesong closed T177269: Is `altitude` in `globe-coordinate` still in use? as Resolved.
Oct 15 2017, 6:17 AM · Wikidata
CXuesong added a comment to T177269: Is `altitude` in `globe-coordinate` still in use?.

Jeroen De Dauw replied in the mailing list:

It is not in use and never really was. (Code indicating it is not in use:
https://github.com/DataValues/Geo/blob/2d8e852d04318b13bd0db39b24afe7c56c61dc3e/src/Values/GlobeCoordinateValue.php#L193-L195
)

I'm not entirely sure why it is still in the API output and what the plans
with it are, but my guess is that it is still there for compatibility
reasons and that there is no intention of using this key in the future. If
I where creating an API client I'd just ignore this key.

Oct 15 2017, 6:12 AM · Wikidata

Oct 3 2017

CXuesong added a comment to T177269: Is `altitude` in `globe-coordinate` still in use?.

I'm not quite sure where I should go if I were to have some general Wikibase (API) questions. Could you please give me some guidance? Thanks :-)

Please see the "Contact" section on https://www.wikidata.org/wiki/Wikidata:Main_Page

Oct 3 2017, 9:45 AM · Wikidata
CXuesong created T177269: Is `altitude` in `globe-coordinate` still in use?.
Oct 3 2017, 4:23 AM · Wikidata

Jul 12 2017

CXuesong created T170425: Interlacing login and logout requests on different client on same PC affect each other.
Jul 12 2017, 2:13 PM · Platform Engineering, MediaWiki-API

Feb 6 2017

CXuesong updated subscribers of T157185: Bug or feature? A \n is automatically inserted before returned string if it starts with a colon.

So, what should be the actual output?

A

testB?

For now it's

A
:testB

which displays as
A
(Indented)testB
while what I want is just

A:testB
Feb 6 2017, 6:29 AM · MediaWiki-extensions-Scribunto

Feb 4 2017

CXuesong created T157185: Bug or feature? A \n is automatically inserted before returned string if it starts with a colon.
Feb 4 2017, 8:40 AM · MediaWiki-extensions-Scribunto