Neat! Moving the Popups extension to OOjs and OOjs UI will surely be
an improvement. I have created a tracking bug for this
https://phabricator.wikimedia.org/T88882, but I don't think I'll have
time to work on this anytime soon. And with the upcoming "release" of
the extension on certain language wikis
(
https://phabricator.wikimedia.org/T88164) I won't be comfortable
introducing such a large change.
Anyway, I'd love to see your code (sorry, I think I missed the link)
and see how it could fit with the rest.
On Sat, Feb 7, 2015 at 6:38 AM, Ricordisamoa
<ricordisamoa(a)openmailbox.org> wrote:
Il 06/02/2015 06:52, Prateek Saxena ha scritto:
On Tue, Feb 3, 2015 at 7:05 PM, Ricordisamoa
<ricordisamoa(a)openmailbox.org> wrote:
How do you think a Popups renderer would integrate with OOjs UI?
I haven't thought about this yet. Currently Popups doesn't use any UI
elements (like buttons or inputs) so I didn't feel the need to use a
framework. We might want to use an OOjs UI Dialog but I don't have
enough experience with the framework to tell if it'll work under all
of Popup's positioning and sizing constraints. I am guessing it'll be
a pretty major shift to use both OOjs and OOjs UI, not something that
I'll have the time to do until March.
My implementation uses PopupWidget for the tooltips, which are automatically
adjusted according to the anchor's position, while a subclass of
ProcessDialog handles the user configuration.
Unfortunately, it doesn't comply with the design specs, but on the other
hand its operation is very similar to the English Wikipedia gadget (now
found on many language editions from where I've imported translations) and
is customizable to a fair extent.
When we agree on where to put the finished code, I could either file a new
patch or amend yours accordingly.
On Tue, Feb 3, 2015 at 7:05 PM, Ricordisamoa
<ricordisamoa(a)openmailbox.org> wrote:
Why shouldn't ReferenceTooltips be put into Cite?
I am not sure. As James said, there is already something like this in
Cite but it wasn't enabled. I am not sure why that is. Nick or James
would know better.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l