Re: [Wikitech-l] mwEmbed gadget

2013-01-01 Thread Helder .
On Tue, Jan 1, 2013 at 12:59 AM, Lars Aronsson l...@aronsson.se wrote:

 Lately, when I visit a Wikipedia page, it just doesn't stop
 loading. The indication in Firefox (on Linux) just continued
 to spin. But this stopped when I deactivated the mwEmbed gadget.
 Is something broken? When mwEmbed is activated, the bottom
 of my browser says Connecting to prototype.wikimedia.org ...
 This was observed on sv.wikipedia.org.
 Several other gadgets work just fine.

See also:
http://en.wikipedia.org/wiki/User_talk:Mdale#mwEmbed_2

On Tue, Jan 1, 2013 at 2:42 AM, K. Peachey p858sn...@gmail.com wrote:

 AFAIK its replaced by a extension anyway, see
 https://www.mediawiki.org/wiki/Extension:MwEmbed for more info.

I don't think so. The gadget allowed the use of the Add Media Wizard,
as described on
https://en.wikipedia.org/wiki/Wikipedia:Enable_the_Add_Media_Wizard#Add_Media_Wizard
but I don't see the feature being added to the edit toolbar by the extension.

Helder

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Html comments into raw wiki code: can they be wrapped into parsed html?

2013-01-01 Thread Paul Selitskas
Exactly.

Nevertheless: is HTML5 already in use? If it isn't, when it will be
introduced into any wiki?
HTML5 was introduced into Wikipedia (and MediaWiki by default, see
$wgHtml5[1]) lately. FYI, in be.wikisource data fields are used to make a
link to both Belarusian Wikipedias in a link hover![2]


[1] http://www.mediawiki.org/wiki/Manual:$wgHtml5
[2] http://be.wikisource.org/wiki/MediaWiki:Common.js (bottom of the code)


On Mon, Dec 31, 2012 at 2:17 PM, Alex Brollo alex.bro...@gmail.com wrote:

 Perfect! A data- attribute can contain anything and it runbs perfectly. It
 can contain too a JSON-stringified object added into edit mode into a
 span (so that a while dictionary can be passed into a single data-
 attribute). It's just what I needed.

 Alex brollo
 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l




-- 
З павагай,
Павел Селіцкас/Pavel Selitskas
Wizardist @ Wikimedia projects
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Html comments into raw wiki code: can they be wrapped into parsed html?

2013-01-01 Thread Alex Brollo
2013/1/1 Paul Selitskas p.selits...@gmail.com

 Exactly.

 Nevertheless: is HTML5 already in use? If it isn't, when it will be
 introduced into any wiki?
 HTML5 was introduced into Wikipedia (and MediaWiki by default, see
 $wgHtml5[1]) lately. FYI, in be.wikisource data fields are used to make a
 link to both Belarusian Wikipedias in a link hover![2]

 
 [1] http://www.mediawiki.org/wiki/Manual:$wgHtml5
 [2] http://be.wikisource.org/wiki/MediaWiki:Common.js (bottom of the code)


As I told, I don't know if HTML5 is in use or not; but try to save a span
id=container data-test=This a test data/span into the raw code of
any page, then save it, and then use js console of Chrome from the resultin
page in view mode with this:

$(#container).attr(data-test)

and you'll get This is a test data.

This is largely sufficient (thanks again for suggestion!)  :-)

Alex brollo
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Html comments into raw wiki code: can they be wrapped into parsed html?

2013-01-01 Thread Matthew Flaschen
On 01/01/2013 01:29 PM, Alex Brollo wrote:

 As I told, I don't know if HTML5 is in use or not; but try to save a span
 id=container data-test=This a test data/span into the raw code of
 any page, then save it, and then use js console of Chrome from the resultin
 page in view mode with this:
 
 $(#container).attr(data-test)

It's not a big deal for this use case, but you can also do:

console.log($(#container).data(test));

Besides saving a little typing, it will do automatic JSON decoding of
the value.

Matt Flaschen

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Big data benefits and limitations (relevance: WMF editor engagement, fundraising, and HR practices)

2013-01-01 Thread ENWP Pine

 Date: Mon, 31 Dec 2012 17:37:52 -0500
 From: Matthew Flaschen mflasc...@wikimedia.org
 To: wikitech-l@lists.wikimedia.org
 Subject: Re: [Wikitech-l] [Wikimedia-l] Big data benefits and
   limitations (relevance: WMF editor engagement, fundraising, and HR
   practices)
 Message-ID: 50e213c0.8020...@wikimedia.org
 Content-Type: text/plain; charset=UTF-8
 
 On 12/31/2012 09:19 AM, Strainu wrote:
  Hi Pine,
  
  It might be because of the alcohol I've ingested these last days, but
  - what are you proposing exactly?
 
 I think Pine is just proposing people read the text and/or links, and
 consider what Big Data means for Wikimedia.
 
 Matt Flaschen
 
 



Correct, I wasn't proposing any specific action. I was thinking, Big Data is a 
cool topic, it's a big topic in its own right, it's relevant to several aspects 
of Wikimedia, and other people might be interested in reading about it or 
thinking about it in relation to work that they're doing or priorities that 
they have.

Happy new year,

Pine
  
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] monitoring / control system for bots

2013-01-01 Thread Lars Aronsson

On 12/27/2012 11:13 AM, Petr Bena wrote:

Someone once suggested we create a control panel for bots. I think the
first step would be to create a page where we could see overview of all
bots we are running on projects.


This assumes that we are running bots on projects. That
might be correct for some bots, but not for all. Many users
have a bot account that they use for various purposes at
various times. Trying to build them into a control panel is
just as unlikely to succeed as trying to schedule regular
users. Which articles do you plan to edit next Tuesday, and
how?


--
  Lars Aronsson (l...@aronsson.se)
  Aronsson Datateknik - http://aronsson.se


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] monitoring / control system for bots

2013-01-01 Thread Matthew Flaschen
On 01/01/2013 08:38 PM, Lars Aronsson wrote:
 On 12/27/2012 11:13 AM, Petr Bena wrote:
 Someone once suggested we create a control panel for bots. I think the
 first step would be to create a page where we could see overview of all
 bots we are running on projects.
 
 This assumes that we are running bots on projects. That
 might be correct for some bots, but not for all. Many users
 have a bot account that they use for various purposes at
 various times. Trying to build them into a control panel is
 just as unlikely to succeed as trying to schedule regular
 users. Which articles do you plan to edit next Tuesday, and
 how?

He may have misspoke on the we part.  However, for wikis with bot
approval processes (e.g.
https://en.wikipedia.org/wiki/Wikipedia:Bot_Approvals_Group ), there is
tracking on what bots work on (due to the potentially disruptive nature
of an active bot on a large wiki).

A bot approval group could certainly encourage people to participate in
this dashboard.  For the bot writer, all it should take is a HTTP POST
to the dashboard every few edits to check in (which could be a simple as
350 edits for task XYZ in the last hour, in appropriate format).

Many bots work on more than one task, so knowing which task(s) they are
currently working on in a big-picture view could be quite useful.

Matt Flaschen

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] mwEmbed gadget

2013-01-01 Thread Mono
On Tue, Jan 1, 2013 at 4:53 AM, Helder . helder.w...@gmail.com wrote:

 On Tue, Jan 1, 2013 at 12:59 AM, Lars Aronsson l...@aronsson.se wrote:
 
  Lately, when I visit a Wikipedia page, it just doesn't stop
  loading. The indication in Firefox (on Linux) just continued
  to spin. But this stopped when I deactivated the mwEmbed gadget.
  Is something broken? When mwEmbed is activated, the bottom
  of my browser says Connecting to prototype.wikimedia.org ...
  This was observed on sv.wikipedia.org.
  Several other gadgets work just fine.

 See also:
 http://en.wikipedia.org/wiki/User_talk:Mdale#mwEmbed_2

 On Tue, Jan 1, 2013 at 2:42 AM, K. Peachey p858sn...@gmail.com wrote:
 
  AFAIK its replaced by a extension anyway, see
  https://www.mediawiki.org/wiki/Extension:MwEmbed for more info.

 I don't think so. The gadget allowed the use of the Add Media Wizard,
 as described on

 https://en.wikipedia.org/wiki/Wikipedia:Enable_the_Add_Media_Wizard#Add_Media_Wizard
 but I don't see the feature being added to the edit toolbar by the
 extension.


That feature never worked right, so it was probably left out. There are
still lots of cool usability improvements to the edit window from 2008 that
haven't been enabled or used, but in a custom install, they can be turned
on and some are quite nice.

The video player still looks ugly (by the way) compared to a YouTube/Vimeo
or even a standard Kaltura player...



 Helder

 ___
 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


[Wikitech-l] Updated schedule for ResourceLoader, Lua, etc.

2013-01-01 Thread John Erling Blad
I'm looking for updated schedules for rollout of ResourceLoader, Lua
and other extensions/features. Are there any centralized page for such
stuff?

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Updated schedule for ResourceLoader, Lua, etc.

2013-01-01 Thread MZMcBride
John Erling Blad wrote:
 I'm looking for updated schedules for rollout of ResourceLoader, Lua
 and other extensions/features. Are there any centralized page for such
 stuff?

https://www.mediawiki.org/wiki/Wikimedia_Engineering/2012-13_Goals

This page is the closest (public) document to what you're talking about, as
far as I'm aware. It's not as up-to-date or comprehensive as anyone would
like, though.

MZMcBride



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l