[Wikitech-l] GSoC 2014 Proposal: One stop translation search

2014-03-21 Thread Erick Guan
Hi,

I'm Erick Guan, a 2nd student and wikipedian since 2008 who is interested
in MediaWiki development.

In general, the goal of this project would be: redesign
Special:SearchTranslations page, bugfix and alternative backend based on
ElasticSearch. This made the Extension:Translate more powerful and easy to
use.

And Wikimedia Language engineering team described one stop translation
search in details in the GSoC feature idea page. Bugzilla, visual spec
defines the exactly idea about what will it be and what we want to achieve.
It's not hard to work on it and actually made this happen.

​Here is my proposal:
https://www.mediawiki.org/wiki/User:Fantasticfears/GSoC_2014_2#One_stop_translation_search
​


-- 
Regards,

Erick Guan/管啸 (fantasticfears)
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] GSoC proposal: Wikimedia Identities Editor

2014-03-20 Thread Erick Guan
Hi,

I've publish a proposal[1] about Wikimedia Identities Editor. The mentors
will be Alvaro del Castillo, Daniel Izquierdo. Mediawiki Community Metrics
is a Wikimedia project which goal is to describe how the MediaWiki /
Wikimedia tech community is doing.
But it is lack of the management tools to allow the community member to
manage their profile and update their info on the Web interface. We should
also provide OAuth login as an option and provide locale settings.

Please help me review the proposal. Feedback is welcome.


[1]:https://www.mediawiki.org/wiki/User:Fantasticfears/GSoC_2014

-- 
Regards,

Erick Guan/管啸 (fantasticfears)
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] New collapsible elements behavior or more option for mw-collapsible

2013-12-01 Thread Erick Guan
Navbox <https://zh.wikipedia.org/wiki/Template:Navbox> is a table. And the
code search the first row's child for 'mw-collapsible-toogle'. Thus we need
to customize the local Navbox module. The good news is that is easy. Thanks
for your help.

https://zh.wikipedia.org/wiki/Template:HideH zhwiki is familiar with this
kind of indicator which shows a "show/hide" text with a arrow. The HideH
template itself works with HideF for hiding some content in it.

On Thu, Nov 28, 2013 at 3:47 PM, Krinkle  wrote:

> On 2013-11-27, at 22:07, Bartosz Dziewoński  wrote:
>
> > On Wed, 27 Nov 2013 18:12:53 +0100, Erick Guan 
> wrote:
> >
> >> The zhwiki's collapsible behavior makes the whole header bar clickable
> and
> >> shows a helpful text indicating the collapse state. Thus, the Navbox and
> >> many templates can be easily expand by click the hotspot(header bar)
> >> instead of finding the "show/hide" link to click. What do you think of
> >> making this behavior as default?
> >> And now, because we want to make use of upstream jQuery.makecollapsible
> but
> >> not break the local collapsible behavior, I think the best way to fix
> this
> >> is adding some configs for jQuery.makecollapsible.
> >
> > Can't you do that already? I made a simple mockup right now:
> https://pl.wikipedia.org/w/index.php?title=Wikipedysta:Matma_Rex/brudnopis&oldid=37990024-
>  try clicking on the header. I think this could be easily applied to
> navboxes.
> >
> > --
> > Matma Rex
> >
>
>
> Be careful in this case to not cause a user experience regression. It isn't
> obvious that the header can be clicked to expand (or collapse) the content.
>
> Making the header clickable as a whole is imho a nice option, and it's
> great
> that makeCollapsible supports this already (by using the header itself as a
> custom toggle). However, depending on how your custom toggle is styled,
> there
> should imho be a separate toggle or other kind of user interface component
> to
> indicate collapsibility.
>
> -- Krinkle
>
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>



-- 
Regards,

Erick Guan/管啸 (fantasticfears)
​ ​
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] New collapsible elements behavior or more option for mw-collapsible

2013-11-27 Thread Erick Guan
Since MediaWiki 1.23/wmf3 has been deployed to all Wikimedia sites, the old
script in zhwiki didn't work any more.

The zhwiki's collapsible behavior makes the whole header bar clickable and
shows a helpful text indicating the collapse state. Thus, the Navbox and
many templates can be easily expand by click the hotspot(header bar)
instead of finding the "show/hide" link to click. What do you think of
making this behavior as default?

And now, because we want to make use of upstream jQuery.makecollapsible but
not break the local collapsible behavior, I think the best way to fix this
is adding some configs for jQuery.makecollapsible.

Last, I'd like to see Extension:Scribunto's global module.. Therefore we
can unify some common templates globally for unified user experience.

-- 
Regards,

Erick Guan/管啸 (fantasticfears)
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Access from China

2013-09-24 Thread Erick Guan
I'm in Shanghai. I can access zhwiki on both mobile device and pc and I am
not redirected to https by default.

A user in Dalian reported on zhwiki he can access by https, which I think
it's a just exception.


On Tue, Sep 24, 2013 at 4:45 AM, Ryu Cheol  wrote:

> Now I am reading
>
> "Some users live where HTTPS is not an easy option due to explicit
> blocking by government. At the request of these communities, we made an
> explicit exclusion for users from those particular countries. Simply, users
> from China and Iran will not be required to use HTTPS to log in, nor to
> view any Wikimedia project site."
>
> I think something wrong with this.
>
> In China, I experienced to be redirected to https without seeing
> Main_Page. So I had no opportunity to login. I suppose casual users in
> China would have no chance to see the front page and will not know http is
> available. They will think Wikipedia is totally blocked by the great
> firewall.
>
> I feel we need to fix something for users in China regarding https.
>
> Cheol
>
> 2013. 9. 24., 오후 1:35, Ryu Cheol  작성:
>
> > Dear Jeremy,
> >   you are right. I am back to Korea. Sorry, I cannot give you exact
> configuration I had in China.
> > At this moment, I can say that I was convinced that on mobile devices I
> can access to Wikipedia, but I can't on desktop computers. No matter what
> is behind, http or https.
> >
> > Cheol
> >
> > 2013. 9. 24., 오후 12:25, Jeremy Baron  작성:
> >
> >> On Sep 23, 2013 11:09 PM, "Ryu Cheol"  wrote:
> >>> On iPad, I could not check it is http or https. You means that on
> mobile
> >> devices such as iPad, it does not redirect to https. I feel a bit, it is
> >> not consistent.
> >>
> >> If it's not consistent then that's a probably bug to be fixed. Can you
> >> provide more details and try to eliminate any variables? e.g. maybe one
> >> device had a forceHTTPS cookie set or one was logged in and one was
> not. Or
> >> they were using different uplinks.
> >>
> >>> In the region which https is not allowed, could we keep the http as the
> >> default protocol for example China?
> >>> I thought I totally lost the access. I ask we could change directing
> >> behavior according to the region the access comes from?
> >>
> >> This has been discussed many times (including many times on this list).
> You
> >> can catch up with the meta summary[0] (or links at the bottom of that
> page)
> >> or the archives of this list.
> >>
> >> [0] https://meta.wikimedia.org/wiki/HTTPS#Excluded_Countries
> >>
> >> Ryan wrote:
> >>> Can you email me privately and let me know what your IP address is? We
> >>> actually do have something in place to not redirect logged-in users in
> >> some
> >>> regions (such as China). Maybe the geoip database we are using is
> >> incorrect
> >>> for your area.
> >>
> >> I got the impression that the trip to China was finished; we'll see
> what he
> >> says.
> >>
> >> -Jeremy
> >> ___
> >> Wikitech-l mailing list
> >> Wikitech-l@lists.wikimedia.org
> >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>



-- 
Regards,

Erick Guan/管啸 (fantasticfears)
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l