[Bug 65498] mobile-friendly templates should be easy to create

2014-06-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=65498

Max Semenik  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #9 from Max Semenik  ---
Yes, and you're proposing to multiply this number by 2.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 65498] mobile-friendly templates should be easy to create

2014-05-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=65498

--- Comment #8 from darklama  ---
Multilingual Wikimedia projects like Meta, Commons, Incubator, etc.
often include templates that change with a person's language choice,
which requires far more parsing to achieve. Translations are sometimes
included within the same template and sometimes using separate pages.

How about {{name}} using Mobile_template:Name or Template:Name/mobile
for the mobile view?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 65498] mobile-friendly templates should be easy to create

2014-05-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=65498

--- Comment #7 from Jon  ---
Yeh so what Max is getting at is the bit of code that turns wikitext into HTML.
This is currently generated on a save. What you are talking about would require
2 versions of the content to be maintained and generated on every save.

Currently the mobile skin simply injects the same parser output as desktop into
a different layout.

What you talk about could be possible for a 3rd party site with lower traffic
but not really a Wikimedia sites :-/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 65498] mobile-friendly templates should be easy to create

2014-05-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=65498

--- Comment #6 from Max Semenik  ---
Yes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 65498] mobile-friendly templates should be easy to create

2014-05-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=65498

--- Comment #5 from darklama  ---
(In reply to Max Semenik from comment #4)
> (In reply to darklama from comment #3)
> > Maybe have mw.IsMobile() in Scribunto, and
> > {{#mobile:{{MOBILEUSER}}|mobile layout|desktop layout}}
> > for pure template.
> 
> No way, this would result in every page being parsed twice: once for mobile
> and once for desktop. Not acceptable for performance reasons.

Mobile already uses a different layout, and different skins. Are you
suggesting parsing doesn't already happen at least twice when caching
the page with different skins, like mobile and vector?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 65498] mobile-friendly templates should be easy to create

2014-05-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=65498

--- Comment #4 from Max Semenik  ---
(In reply to darklama from comment #3)
> Maybe have mw.IsMobile() in Scribunto, and
> {{#mobile:{{MOBILEUSER}}|mobile layout|desktop layout}}
> for pure template.

No way, this would result in every page being parsed twice: once for mobile and
once for desktop. Not acceptable for performance reasons.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 65498] mobile-friendly templates should be easy to create

2014-05-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=65498

--- Comment #3 from darklama  ---
Jon, I think layout and style separation is a good plan.
However sometimes the layout of templates may need to be
different between desktop and mobile browsers as well.

* compact vs expanded layout
* vertical vs horizontal layout
* visual vs textual layout
* more vs less information
* delay vs immediate display

Maybe have mw.IsMobile() in Scribunto, and
{{#mobile:{{MOBILEUSER}}|mobile layout|desktop layout}}
for pure template.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 65498] mobile-friendly templates should be easy to create

2014-05-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=65498

--- Comment #2 from Jon  ---
Would this help?
https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 65498] mobile-friendly templates should be easy to create

2014-05-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=65498

--- Comment #1 from Bingle  ---
Prioritization and scheduling of this bug is tracked on Trello card
https://trello.com/c/xn4GbsPV

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l