Page MenuHomePhabricator

mxn (Minh Nguyen)
Bureaucrat @ w:vi: wikt:vi:; sysop @ m: b:vi: s:vi:

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Oct 7 2014, 6:23 AM (294 w, 6 d)
Availability
Available
IRC Nick
MinhNguyen
LDAP User
Mxn
MediaWiki User
Mxn [ Global Accounts ]

Recent Activity

Mon, May 25

mxn added a comment to T173052: Show OpenStreetMap features associated with Wikidata items.

We could significantly reduce the number of API calls by not having the script query overpass for certain classes of item (instances of human, taxon, academic paper, astronomical object, language, genome, chemical compound, etc.)

If the map display could also not appear for those classes, so much the better.

I think that would require a WDS query on every page load, which would spare one API by hammering another.

Would it? I'm no coder, but I would have thought the script can read the content of the page on which it occurs.

Mon, May 25, 4:36 AM · Wikidata, Maps (Kartographer), Wikimania-Hackathon-2017

Thu, May 21

mxn added a comment to T173052: Show OpenStreetMap features associated with Wikidata items.

I think that would require a WDS query on every page load, which would spare one API by hammering another. 😉

Thu, May 21, 8:13 AM · Wikidata, Maps (Kartographer), Wikimania-Hackathon-2017
Pigsonthewing awarded T173052: Show OpenStreetMap features associated with Wikidata items a Love token.
Thu, May 21, 8:08 AM · Wikidata, Maps (Kartographer), Wikimania-Hackathon-2017
mxn placed T173052: Show OpenStreetMap features associated with Wikidata items up for grabs.

While not perfect, the Overpass user script does enable users to see which OpenStreetMap features are linked to the Wikidata item. (This is distinct from P625, which is about coordinates rather than OSM features.) The original idea at the hackathon was to have this functionality incorporated into Wikidata as a gadget, so I’ll leave this issue open.

Thu, May 21, 7:28 AM · Wikidata, Maps (Kartographer), Wikimania-Hackathon-2017

Mon, May 11

mxn added a comment to T252456: Handle large datasets in JSON edit dialog for tabular data pages.

One strategy I often see in table editors (both on the Web and on native platforms) is to maintain only a single input field and move it around to cover the selected cell. (On Apple platforms, this is called the “field editor”.) Unselected cells are otherwise just plain text. That keeps things lightweight even for large tables and makes it more straightforward to swap in other kinds of input fields depending on the data type.

Mon, May 11, 8:35 PM · covid-19, Commons-Datasets, JsonConfig

Sun, May 10

mxn added a comment to T248897: Create an easy-to-use editing interface for JSON tabular data pages.

T63989 implemented an editing interface for PageForms using jsGrid, which seems suitable for editing the data inside tabular data, if not the structure too.

Sun, May 10, 5:04 PM · covid-19, Commons-Datasets, JsonConfig, Epic
mxn added a comment to T252307: Create a Lua module that converts tabular data to a wiki table.

Should we try to unify the functionality in https://en.wikipedia.org/wiki/Template:Json2table and https://en.wikipedia.org/wiki/Module:Tabular_data? Or maybe it’s better to have one focus on “raw” output and the other focus on polished formatting?

Sun, May 10, 4:21 PM · Wikimedia-Hackathon-2020, covid-19, Commons-Datasets
mxn updated subscribers of T252307: Create a Lua module that converts tabular data to a wiki table.

@eprodromou had a similar idea with https://en.wikipedia.org/wiki/User:EProdromou_%28WMF%29/COVID-19_case_data, which is specific to COVID-19 case count tables. (https://en.wikipedia.org/wiki/Template:Medical_cases_chart can also display such a table as a bar chart.)

Sun, May 10, 12:37 AM · Wikimedia-Hackathon-2020, covid-19, Commons-Datasets
mxn added a comment to T252307: Create a Lua module that converts tabular data to a wiki table.

This is now one of the functions in https://en.wikipedia.org/wiki/Module:Tabular_data. For this function to be useful to articles that currently hardcode tabular data, there will probably need to be styling and data formatting options, and the sources should probably go in <ref>.

Sun, May 10, 12:32 AM · Wikimedia-Hackathon-2020, covid-19, Commons-Datasets

Sat, May 9

mxn added a comment to T252307: Create a Lua module that converts tabular data to a wiki table.

An attempt: https://en.wikipedia.org/wiki/Module:Sandbox/Mxn/Tabular_data

Sat, May 9, 10:28 PM · Wikimedia-Hackathon-2020, covid-19, Commons-Datasets
mxn added a comment to T252307: Create a Lua module that converts tabular data to a wiki table.

mw.ext.data.get() returns the tabular data for a page as a Lua table. A starting point would be to output a wikitable that formats the tabular data exactly as on Commons.

Sat, May 9, 9:25 PM · Wikimedia-Hackathon-2020, covid-19, Commons-Datasets

Mar 28 2020

mxn added a comment to T218097: [Bug] Some OSM relations didn't become polygons and are not been served through geoshapes service or geoline service.

https://maps.wikimedia.org/geoshape?getgeojson=1&ids=Q1783171 returns nothing despite https://www.openstreetmap.org/relation/9795457 having been tagged a few days ago in https://www.openstreetmap.org/changeset/82619979 .

Mar 28 2020, 5:10 PM · Product-Infrastructure-Team-Backlog, Patch-For-Review, Maps (Maps-data)

Jan 31 2020

mxn added a comment to T230593: Unify the display of all Wikimedia portals.

When the Wikipedia portal was modernized in 2016, the intent was that all the sister portals would get a similar facelift and upgrade. However, the Foundation could only commit resources to modernizing the Wikipedia portal, and there didn’t seem to be much traction on the rest.

Jan 31 2020, 9:41 AM · Epic, Discovery-Portal-Sprint, Design, Wikimedia-Portals

Nov 2 2019

Arjunaraoc awarded T173052: Show OpenStreetMap features associated with Wikidata items a Like token.
Nov 2 2019, 5:09 AM · Wikidata, Maps (Kartographer), Wikimania-Hackathon-2017

Jan 2 2019

mxn added a comment to T212750: Unable to upload specific JPEG using Upload Wizard in Firefox.

What is the exact failure? At which exact step?

Jan 2 2019, 9:19 PM · Multimedia, UploadWizard

Jan 1 2019

mxn created T212750: Unable to upload specific JPEG using Upload Wizard in Firefox.
Jan 1 2019, 10:41 PM · Multimedia, UploadWizard

Nov 28 2018

mxn created T210587: Donation leads to missing Thank you/vi page.
Nov 28 2018, 9:10 AM · donate.wikimedia.org

Aug 18 2018

mxn created T202207: Create eliminator group at Vietnamese Wikibooks.
Aug 18 2018, 10:39 PM · Patch-For-Review, User-Urbanecm, Wikimedia-Site-requests
mxn updated the task description for T202201: Stale z9 map tile in Vietnamese.
Aug 18 2018, 5:48 PM · Product-Infrastructure-Team-Backlog (Kanban), Patch-For-Review, Maps (Kartotherian)
mxn created T202201: Stale z9 map tile in Vietnamese.
Aug 18 2018, 5:47 PM · Product-Infrastructure-Team-Backlog (Kanban), Patch-For-Review, Maps (Kartotherian)

Aug 2 2018

mxn updated subscribers of T200977: iOS app store keywords cannot contain compound words.
Aug 2 2018, 7:44 AM · Wikipedia-iOS-App-Backlog
mxn updated the task description for T200977: iOS app store keywords cannot contain compound words.
Aug 2 2018, 7:42 AM · Wikipedia-iOS-App-Backlog
mxn created T200977: iOS app store keywords cannot contain compound words.
Aug 2 2018, 7:41 AM · Wikipedia-iOS-App-Backlog

Jun 26 2018

mxn created T198166: [[Wikimedia:Wikipedia-ios-appearance-settings-text-sizing-example-text/en]] refers to slider at incorrect position.
Jun 26 2018, 5:35 AM · iOS-app-Bugs, Wikipedia-iOS-App-Backlog, I18n

May 8 2018

mxn added a comment to T171374: Make CodeMirror support IME functionality.

I'm going to take another stab at this tomorrow. I still think it's a race condition, where CodeMirror's keypress event is getting fired first. Maybe we could introduce a "hook", so to speak, that IME could use? This would mean modifying the core codemirror.js, but it seems something like this might be worth committing upstream anyway. Other editing libraries that work off of keypress might have the same issue.

May 8 2018, 6:34 AM · UniversalLanguageSelector, MediaWiki-extensions-CodeMirror

Jan 10 2018

mxn added a comment to T173017: [Hackathon doc sprint] Add Wikidata link to more OpenStreetMap Wiki pages.

This proposal would add Wikidata links to taginfo pages as well, based on the links in the infoboxes on the OSM Wiki.

Jan 10 2018, 8:49 AM · Wikidata, Wikimania-Hackathon-2017

Oct 11 2017

mxn added a comment to T171647: Wikipedia portal: adjust the languages used for Chinese translations.

We created the JSON files in l10n from Module:Project portal/wikis, naming the files based on wiki subdomains (e.g., zh-yue.json). Meanwhile, translatewiki.net lays down JSON files named for ISO 639 codes (hence yue.json). So for some languages, we have some properties in one file and some in another. Had anyone translated the strings into Literary Chinese (lzh) at translatewiki.net, we would’ve had both zh-classical.json and lzh.json for the same wiki.

Oct 11 2017, 5:47 AM · Discovery-Portal-Backlog, Wikimedia-Portals, Discovery
mxn added a comment to T171647: Wikipedia portal: adjust the languages used for Chinese translations.

The way wm-portal.js handled the Chinese localization was by baking the Traditional Chinese strings into the page, along with Simplified Chinese versions in data-convert-hans and data-converttitle-hans attributes; [convertChinese()](https://phabricator.wikimedia.org/diffusion/WPOR/browse/master/dev/wikipedia.org/assets/js/wm-portal.js;66831d2a556c51b52344454108129c8bcf286829$116) would then swap in the Simplified Chinese strings if the browser’s language was zh-hans, zh-cn, zh-sg, or zh-my.

Oct 11 2017, 5:12 AM · Discovery-Portal-Backlog, Wikimedia-Portals, Discovery

Sep 28 2017

mxn created T176979: Create rollbacker group at viwiktionary.
Sep 28 2017, 3:31 PM · Wikimedia-Site-requests

Sep 10 2017

mxn added a comment to T173052: Show OpenStreetMap features associated with Wikidata items.

@debt, that message means nothing in OpenStreetMap is tagged with the current item’s QID. The map and its overlays are provided by overpass turbo, so the gadget is unable to customize that particular message or add an edit link. It might be a different story if an overpass turbo instance were to run on Toolforge I suppose. ;-)

Sep 10 2017, 12:53 AM · Wikidata, Maps (Kartographer), Wikimania-Hackathon-2017

Sep 4 2017

mxn renamed T174961: [[MediaWiki:Pagedata-text]] typo: “based on you client's Accept header.” from [[MediaWiki:Pagedata-text/vi]] i18n issue to [[MediaWiki:Pagedata-text]] i18n issue.
Sep 4 2017, 4:22 PM · MW-1.30-release-notes (WMF-deploy-2017-09-05 (1.30.0-wmf.17)), Patch-For-Review, MediaWiki-General, I18n
mxn created T174961: [[MediaWiki:Pagedata-text]] typo: “based on you client's Accept header.”.
Sep 4 2017, 4:22 PM · MW-1.30-release-notes (WMF-deploy-2017-09-05 (1.30.0-wmf.17)), Patch-For-Review, MediaWiki-General, I18n

Aug 17 2017

mxn added a comment to T163928: Explore OSM integration for ORES.

At Wikimania, @Halfak wrote up some notes about revscoring’s current architecture and how it could be modified to accommodate OpenStreetMap changesets and features.

Aug 17 2017, 3:40 PM · artificial-intelligence, revscoring, ORES, Scoring-platform-team
Restricted Application added a project to T163928: Explore OSM integration for ORES: artificial-intelligence.
Aug 17 2017, 3:08 PM · artificial-intelligence, revscoring, ORES, Scoring-platform-team

Aug 12 2017

mxn added a comment to T139052: Portal Page Update: wiktionary.org .

Change 371656 is a work in progress. In the spirit of the hackathon, I just took the quickest, hackiest path to a mostly working portal. Still to do:

Aug 12 2017, 9:27 PM · Discovery-Portal-Backlog, Patch-For-Review, Wikimedia-Portals, Discovery

Aug 10 2017

mxn added a comment to T173052: Show OpenStreetMap features associated with Wikidata items.

For now, I’ve implemented this feature as a user script:

Aug 10 2017, 8:23 PM · Wikidata, Maps (Kartographer), Wikimania-Hackathon-2017
mxn added a parent task for T173052: Show OpenStreetMap features associated with Wikidata items: T145688: [epic] Improve OSM-Wikipedia collaboration.
Aug 10 2017, 8:21 PM · Wikidata, Maps (Kartographer), Wikimania-Hackathon-2017
mxn added a subtask for T145688: [epic] Improve OSM-Wikipedia collaboration: T173052: Show OpenStreetMap features associated with Wikidata items.
Aug 10 2017, 8:21 PM · Epic, Maps (Kartographer)
mxn updated the task description for T173052: Show OpenStreetMap features associated with Wikidata items.
Aug 10 2017, 8:20 PM · Wikidata, Maps (Kartographer), Wikimania-Hackathon-2017
mxn created T173052: Show OpenStreetMap features associated with Wikidata items.
Aug 10 2017, 8:18 PM · Wikidata, Maps (Kartographer), Wikimania-Hackathon-2017
mxn added a parent task for T173017: [Hackathon doc sprint] Add Wikidata link to more OpenStreetMap Wiki pages: T145688: [epic] Improve OSM-Wikipedia collaboration.
Aug 10 2017, 7:05 PM · Wikidata, Wikimania-Hackathon-2017
mxn added a subtask for T145688: [epic] Improve OSM-Wikipedia collaboration: T173017: [Hackathon doc sprint] Add Wikidata link to more OpenStreetMap Wiki pages.
Aug 10 2017, 7:05 PM · Epic, Maps (Kartographer)
mxn added a comment to T173017: [Hackathon doc sprint] Add Wikidata link to more OpenStreetMap Wiki pages.

Revision 1498164 adds a link to the Wikidata Query Service as a fallback:

Aug 10 2017, 4:18 PM · Wikidata, Wikimania-Hackathon-2017
mxn added a parent task for T173017: [Hackathon doc sprint] Add Wikidata link to more OpenStreetMap Wiki pages: T170071: Documentation sprint @ Wikimania hackathon 2017.
Aug 10 2017, 4:15 PM · Wikidata, Wikimania-Hackathon-2017
mxn created T173017: [Hackathon doc sprint] Add Wikidata link to more OpenStreetMap Wiki pages.
Aug 10 2017, 4:14 PM · Wikidata, Wikimania-Hackathon-2017

Jun 13 2017

mxn awarded T166898: Create macro to enable MapBox based build a Love token.
Jun 13 2017, 12:13 AM · iOS-app-v5.5.0-Snake-On-A-Magic-Towel, Wikipedia-iOS-App-Backlog, iOS-app-feature-Places

Apr 10 2017

mxn added a comment to T162334: VisualEditor does not respect custom accesskey accelerator key.

Yeah, I think the only way to respect the setting would be to use the accesskey HTML attribute or DOM property, as most of MediaWiki does. (Manually binding to hardcoded key combinations using event listeners would lead to this issue, for example.)

Apr 10 2017, 5:27 PM · VisualEditor-MediaWiki, VisualEditor, Accessibility

Apr 6 2017

mxn created T162334: VisualEditor does not respect custom accesskey accelerator key.
Apr 6 2017, 7:03 AM · VisualEditor-MediaWiki, VisualEditor, Accessibility

Mar 21 2017

mxn added a comment to T154513: Investigate Apple Maps and WMF OSM implementations.

The Mapbox framework is 38MB - more than twice as large as our next largest framework - HockeySDK at 17MB.

Mar 21 2017, 8:55 PM · iOS-app-feature-Places, Wikipedia-iOS-App-Backlog, iOS-app-v5.4.0-Hiking-Boot, Spike

Feb 23 2017

mxn added a comment to T158808: Use a query param for cache-busting instead of suffixing the filename.

A query parameter would also make changes easier to review in gerrit, if I'm not mistaken.

Feb 23 2017, 12:40 AM · Wikimedia-Portals, Discovery, Discovery-Portal-Sprint

Feb 13 2017

mxn added a comment to T7309: Localize captcha images.

Words with ŠĐŽČĆ characters should be excluded. This ensures that even users who have only English keyboard can easily type the captcha.

Feb 13 2017, 4:21 AM · Patch-For-Review, I18n, ConfirmEdit (CAPTCHA extension)

Jan 12 2017

GitHub <noreply@github.com> committed rXT5db82547ff34: Merge a6ebc1be6e82de5e50a9724e7e477799be61114f into… (authored by mxn).
Merge a6ebc1be6e82de5e50a9724e7e477799be61114f into…
Jan 12 2017, 12:52 PM

Oct 19 2016

mxn added a comment to T147656: Overwriting and suppressing interwiki links also for Wiktionary?.

Will it be all interwiki links, including for Example translations section, or only mostly identical lexemes (or any other identification unit set)?

Can you show me an example of a translation section?

Oct 19 2016, 3:20 PM · Lexicographical data, Wiktionary, Wikidata

Sep 26 2016

mxn added a comment to T140152: [EPIC] Wikipedia.org A/B Test: add display of languages by region.

OK, that sounds reasonable. I wonder if we should try to make this new section consistent with the browser-based recommendation that goes in the top 10 ring – maybe include both browser-based and region-based languages in the new section for good measure.

Sep 26 2016, 11:56 PM · Epic, Wikimedia-Portals, Discovery-Portal-Backlog, Discovery

Sep 23 2016

mxn added a comment to T122053: Wikipedia.org Portal: links around globe need to respect right-to-left language rules.

Just to be clear, T143126 was about the direction within an RTL link box, regardless of the user's language, whereas this task was originally about the orientation of all the link boxes when the user's language is RTL. The two could of course be taken care of together, one with CSS and the other with JavaScript.

Sep 23 2016, 11:51 PM · Patch-For-Review, Discovery-Portal-Sprint, I18n, RTL, Wikimedia-Portals, Discovery
mxn added a comment to T140152: [EPIC] Wikipedia.org A/B Test: add display of languages by region.

I'm a bit confused by the second mockup. Would the sections other than Recommended still be divided by article count, or would it be based on region like in the first mockup? If the latter, perhaps we could attempt to give the largest Wikipedias more prominence in the lists with a darker color or slightly larger size.

Sep 23 2016, 11:47 PM · Epic, Wikimedia-Portals, Discovery-Portal-Backlog, Discovery

Aug 28 2016

mxn added a comment to T65216: Accept CAPTCHA responses with diacritics removed.

A possibility is to simply avoid words with diacritics, which should be possible for most languages.

Aug 28 2016, 9:59 PM · I18n, ConfirmEdit (CAPTCHA extension)
mxn added a comment to T353: RFC: Vertical writing support.

Note: I submitted a change to the Node.js version of CSSJanus on github a while back, implementing vertical writing support.

Aug 28 2016, 4:21 AM · MediaWiki-General, Language-Team, TechCom-RFC

Aug 25 2016

Deskana awarded T143904: [Recurring task] Monitor translations for incorrect portal language names a Like token.
Aug 25 2016, 4:48 PM · Discovery-Portal-Sprint, Discovery, Wikimedia-Portals
mxn updated the task description for T143904: [Recurring task] Monitor translations for incorrect portal language names.
Aug 25 2016, 3:35 PM · Discovery-Portal-Sprint, Discovery, Wikimedia-Portals
mxn created T143904: [Recurring task] Monitor translations for incorrect portal language names.
Aug 25 2016, 3:33 PM · Discovery-Portal-Sprint, Discovery, Wikimedia-Portals

Aug 23 2016

Liuxinyu970226 awarded T134348: English names of azb: and be-x-old: in SiteMatrix are not in English a Heartbreak token.
Aug 23 2016, 3:12 PM · MW-1.30-release-notes (WMF-deploy-2017-08-22 (1.30.0-wmf.15)), MediaWiki-Internationalization, MediaWiki-extensions-CLDR, SiteMatrix, I18n

Jul 24 2016

Liuxinyu970226 awarded T7309: Localize captcha images a Pterodactyl token.
Jul 24 2016, 12:17 AM · Patch-For-Review, I18n, ConfirmEdit (CAPTCHA extension)

Jul 6 2016

mxn added a comment to T139345: Whitelist @mxn on zuul.yaml so his patches can be CI-tested.

Thanks!

Jul 6 2016, 2:58 PM · Patch-For-Review, Continuous-Integration-Config

Jul 4 2016

mxn reopened T137675: Wikisource portal globe should be updated as "Open".

Sorry, I was mistaken: the Wikisource portal isn’t managed like the other portals. A Multilingual Wikisource sysop needs to update this page.

Jul 4 2016, 9:44 AM · Discovery, Wikimedia-Portals
mxn closed T137675: Wikisource portal globe should be updated as Resolved.

This was taken care of in https://gerrit.wikimedia.org/r/296441/, which was pulled into the site configuration in https://gerrit.wikimedia.org/r/296748/.

Jul 4 2016, 9:42 AM · Discovery, Wikimedia-Portals
mxn closed T137674: Wikinews portal globe should be updated as Resolved.

This was taken care of in https://gerrit.wikimedia.org/r/296441/, which was pulled into the site configuration in https://gerrit.wikimedia.org/r/296748/.

Jul 4 2016, 9:42 AM · Discovery, Wikimedia-Portals
mxn closed T137673: Wikiquote portal globe should be updated as Resolved.

This was taken care of in https://gerrit.wikimedia.org/r/296441/, which was pulled into the site configuration in https://gerrit.wikimedia.org/r/296748/.

Jul 4 2016, 9:40 AM · Discovery, Wikimedia-Portals
mxn added a comment to T128546: [Recurring Task] Update Wikipedia and sister projects portals statistics.

The sister project portals other than Wikisource were taken care of in https://gerrit.wikimedia.org/r/296441/, which was pulled into the site configuration in https://gerrit.wikimedia.org/r/296748/. Wikisource is managed on-wiki.

Jul 4 2016, 9:39 AM · Patch-For-Review, Wikimedia-Portals, Discovery, Discovery-Portal-Sprint

May 27 2016

mxn closed T106094: Add support for wikidata tag to iD (OpenStreetMap) as Resolved.

iD’s maintainer was generous enough to complete and merge the PR I started. The Wikidata field will appear in the next iD release. Closing.

May 27 2016, 1:12 AM · Wikidata, Maps, Wikimania-Hackathon-2015, Discovery

May 26 2016

mxn added a comment to T987: [Story] Phase 0: Automate interwiki language links for Wiktionary.

The Vietnamese Wiktionary uses redirects for systematic variations involving diacritics, for example xoá to xóa, whereas the English Wiktionary does not. This probably doesn't show up in interwiki stats because the English Wiktionary has relatively few Vietnamese words and the French and Chinese Wiktionaries have little coverage of these variations (which affect maybe a tenth of the overall corpus). On the flip side, automatically normalizing diacritics would be problematic for the same reasons described in T78485.

May 26 2016, 5:52 PM · Lexicographical data, Wikimedia-Hackathon-2016, Wiktionary, Wikidata, MediaWiki-extensions-WikibaseRepository

May 4 2016

mxn created T134348: English names of azb: and be-x-old: in SiteMatrix are not in English.
May 4 2016, 9:03 AM · MW-1.30-release-notes (WMF-deploy-2017-08-22 (1.30.0-wmf.15)), MediaWiki-Internationalization, MediaWiki-extensions-CLDR, SiteMatrix, I18n
mxn created T134335: [[Wikimedia:Pageviews-hover-to-exclude/vi]] i18n issue.
May 4 2016, 4:21 AM · Wikimedia-General-or-Unknown, I18n

Jan 26 2016

mxn added a comment to T124427: Localized language "ghost text" placeholder in Portal search-box.

Does it need to be "Search Wikipedia"? If we use the MediaWiki:Search message in translatewiki.net, we'd have full language coverage, as that message is required by the language subcommittee when requesting a new Wikipedia language.

Jan 26 2016, 3:15 PM · Discovery-Portal-Backlog, Discovery, Wikimedia-Portals

Jan 25 2016

mxn added a comment to T124427: Localized language "ghost text" placeholder in Portal search-box.

Indeed, the iOS apps use Translatewiki.net for localization. It's a MediaWiki installation at heart, so at the least we could use the MediaWiki API to pull down the translations.

Jan 25 2016, 5:43 PM · Discovery-Portal-Backlog, Discovery, Wikimedia-Portals

Jan 23 2016

mxn added a comment to T124427: Localized language "ghost text" placeholder in Portal search-box.

The proposed behavior would be simple to implement: just set the placeholder attribute on the <input>.

Jan 23 2016, 12:39 AM · Discovery-Portal-Backlog, Discovery, Wikimedia-Portals

Jan 22 2016

mxn added a comment to T122053: Wikipedia.org Portal: links around globe need to respect right-to-left language rules.

Theoretically we could write some JavaScript to flip the interface ourselves based on the detected language, but the page flipping would likely be quite distracting for visitors.

Jan 22 2016, 2:17 AM · Patch-For-Review, Discovery-Portal-Sprint, I18n, RTL, Wikimedia-Portals, Discovery
mxn added a comment to T122053: Wikipedia.org Portal: links around globe need to respect right-to-left language rules.

CSSJanus processes the CSS stylesheet on the server side, whereas the user language is detected later on the client side. MediaWiki is able to use CSSJanus because it serves up a different stylesheet based on the uselang setting rather than the client side language setting.

Jan 22 2016, 2:16 AM · Patch-For-Review, Discovery-Portal-Sprint, I18n, RTL, Wikimedia-Portals, Discovery
mxn added a comment to T121843: Portal: Showing smaller wikis in top 10 - what about missing labels?.

That's not a bad idea! Perhaps the markup would contain the English slogan for the benefit of users without JavaScript enabled, then localize the slogan as soon as possible. What if the user's language isn't one we have a slogan for, though? Should we leave a blank space so as not to appear anglocentric?

Jan 22 2016, 12:40 AM · Discovery-Portal-Sprint, Discovery

Jan 3 2016

mxn added a comment to T21992: Support client-side date/time formatting for user's timezone, language, and preferred format (JavaScript).

I incorporated the <time> and Moment.js ideas into a rewrite of the CommentsInLocalTime user script that’s now installed at the Vietnamese wikis.

Jan 3 2016, 9:14 AM · I18n, MediaWiki-Interface
mxn created T122759: Wrap 4-tilde and 5-tilde timestamps in <time>.
Jan 3 2016, 9:11 AM · MediaWiki-Page-editing

Dec 29 2015

mxn added a comment to T122053: Wikipedia.org Portal: links around globe need to respect right-to-left language rules.

We don’t run CSSJanus on the portal stylesheets, so it isn’t quite ready for RTL:

Dec 29 2015, 8:22 PM · Patch-For-Review, Discovery-Portal-Sprint, I18n, RTL, Wikimedia-Portals, Discovery

Dec 26 2015

mxn added a comment to T121843: Portal: Showing smaller wikis in top 10 - what about missing labels?.

Thanks for the mockups. For both of them, I would move the language name and article count closer to each other.

Dec 26 2015, 8:27 AM · Discovery-Portal-Sprint, Discovery

Dec 21 2015

mxn added a comment to T121843: Portal: Showing smaller wikis in top 10 - what about missing labels?.

With the Wiktionary portal, I wound up including data about the preferred logo of every wiki listed in the search menu. That compromise worked because most of the smaller wikis used the default logo anyways. A few more slogans might not hurt so much.

Dec 21 2015, 5:11 PM · Discovery-Portal-Sprint, Discovery

Dec 18 2015

mxn added a comment to T121843: Portal: Showing smaller wikis in top 10 - what about missing labels?.

Not to mention localized logos. :-) So the primary consideration would be size.

Dec 18 2015, 3:24 PM · Discovery-Portal-Sprint, Discovery
mxn added a comment to T121843: Portal: Showing smaller wikis in top 10 - what about missing labels?.

Would it look too weird to omit the slogan from minor languages that get selected? It might make sense to style these languages differently anyways. For example, see how Facebook highlights likely languages in yellow in its language selector.

Dec 18 2015, 3:23 PM · Discovery-Portal-Sprint, Discovery

Dec 12 2015

mxn added a comment to T120866: SPIKE: Figure out early steps of how we can show language links on portal page depending on where the user is coming from.

As long as the DOM manipulations happen onReady or DOMContentLoaded, they at least won't block loading the page in the first place, right?

Dec 12 2015, 12:57 AM · Discovery, Discovery-Portal-Sprint

Nov 26 2015

mxn added a comment to T119544: Investigate how sorting by daily views impacts the top 10.

I mean the setting isn't easy for users to find and change. Users end up with the operating system's default language.

Nov 26 2015, 2:02 AM · Discovery-Portal-Sprint, Discovery
mxn added a comment to T119544: Investigate how sorting by daily views impacts the top 10.

Correct, the page view metric came about because some wikis were gaming the system. Volapük was the most egregious case in Wikipedia, one that came up repeatedly in discussions; other projects have their own examples. Personally, I have always argued that the page view count, while fairer, was so opaque as to seem arbitrary. I field occasional requests to surface the Dutch Wikipedia in the top 10 based on article count from users who are savvy enough to find the portal's talk page on Meta. For every such user, there must be hundreds or thousands thinking alike.

Nov 26 2015, 12:49 AM · Discovery-Portal-Sprint, Discovery

Nov 13 2015

mxn added a comment to T118544: English Wikipedia has fallen well below 5 million articles.

Mind merging and deploying https://gerrit.wikimedia.org/r/252909 too? www.wikivoyage.org is still broken.

Nov 13 2015, 11:21 AM · Discovery-Portal-Sprint, Patch-For-Review, Discovery, Wikimedia-Portals
mxn added a comment to T117515: Populate the gerrit portal repository with code for all the portals (DUE Nov 12).

Last anticipated changes?

Nov 13 2015, 9:11 AM · Patch-For-Review, Discovery, Discovery-Portal-Sprint
mxn added a comment to T117515: Populate the gerrit portal repository with code for all the portals (DUE Nov 12).

Along with the changes mentioned above, the statistics are also seriously out of date: T118544. The portals on gerrit should have been spot-checked for regressions before being deployed.

Nov 13 2015, 3:08 AM · Patch-For-Review, Discovery, Discovery-Portal-Sprint
mxn created T118544: English Wikipedia has fallen well below 5 million articles.
Nov 13 2015, 3:07 AM · Discovery-Portal-Sprint, Patch-For-Review, Discovery, Wikimedia-Portals

Nov 12 2015

mxn added a comment to T117515: Populate the gerrit portal repository with code for all the portals (DUE Nov 12).

I’ve just saved the last anticipated changes to the portals on Meta. Here are the permalinks, for reference:

Nov 12 2015, 7:45 PM · Patch-For-Review, Discovery, Discovery-Portal-Sprint

Nov 4 2015

mxn added a comment to T110070: Investigate moving the www.wikipedia.org portal to Git/Gerrit.

Also, mxn's recent work does not affect the investigation phase of this work. The developers will work with him to make sure everything continues to work properly, but that work would be outside the scope of this task.

Nov 4 2015, 5:22 PM · Patch-For-Review, WorkType-NewFunctionality, Wikimedia-General-or-Unknown, Discovery

Nov 3 2015

mxn added a comment to T110070: Investigate moving the www.wikipedia.org portal to Git/Gerrit.

I was hoping to clean up the Lua code a bit and document the workflow a bit better before making any noise about these changes, but I should be clear about my intentions here.

Nov 3 2015, 5:37 PM · Patch-For-Review, WorkType-NewFunctionality, Wikimedia-General-or-Unknown, Discovery
mxn added projects to T117524: [Task] Enable data access for Meta: Wikidata, Wikimedia-Site-requests.
Nov 3 2015, 2:48 AM · Wikidata-Sprint-2015-12-01, User-notice, Wikimedia-Site-requests, Wikidata
mxn created T117524: [Task] Enable data access for Meta.
Nov 3 2015, 2:47 AM · Wikidata-Sprint-2015-12-01, User-notice, Wikimedia-Site-requests, Wikidata

Oct 30 2015

mxn added a comment to T106094: Add support for wikidata tag to iD (OpenStreetMap).

I haven’t completed this task yet; it’s on my backlog but I’ll be getting to it eventually.

Oct 30 2015, 7:52 AM · Wikidata, Maps, Wikimania-Hackathon-2015, Discovery
mxn moved T106094: Add support for wikidata tag to iD (OpenStreetMap) from Confirmed Hacking Projects to Work continues after Mexico City on the Wikimania-Hackathon-2015 board.
Oct 30 2015, 7:52 AM · Wikidata, Maps, Discovery, Wikimania-Hackathon-2015