Hi,
I have already noted that I work on extension which allows displaying
of user online status, see
https://bugzilla.wikimedia.org/show_bug.cgi?id=32128, Krinkle come
with idea that it could use ajax on user pages for status bar in order
to avoid cache issues while keep performance of interface (if cache
would need to be suppressed it would have probably negative effect on
performance althought it would happen rarely). I like that idea,
however I have no experience with ajax. If anyone who understand ajax
wanted to help it would be most appreciated!
Thanks
Is there any documentation on using the QueryPage class in an extension? I'd like to create a special page with the QueryPage features but am running into problems "hooking it up" to run. I don't see any QueryPage docs on mediawiki.org or meta. (Or is there a more modern way to get a paging Special Page?)
First I defined my subclass of QueryPage with some dummy methods:
class MyQueryPageClassName extends QueryPage {
function getName() { return 'My Query Page'; }
function getSQL() { return "select 1 as 'test'"; }
function formatResult() { return 'dummy result'; }
}
Then I hooked up my page with:
$wgHooks['wgQueryPages'][] = 'wfMyQueryPages';
function wfMtQueryPages(&$wgQueryPages) {
$wgQueryPages[] = array('MyQueryPageClassName', 'MyQueryPage');
return true;
}
At this point, the special page does not exist on the wiki. What else needs to be done to make this work?
I looked at SpecialPopularpages.php and see a global function wfSpecialPopularpages() at the end that looks necessary, but I don't see anything that calls it in the code. How does this really work? I created my own version but nothing seems to call it.
/**
* Constructor
*/
function wfMyQueryPage() {
list( $limit, $offset ) = wfCheckLimits();
$ppp = new MyQueryPageClassName();
return $ppp->doQuery( $offset, $limit );
}
Any help appreciated.
Thanks,
DanB
Just got this email from Joe Corneli. This would be a great time to
start working with interested people about integrating Etherpad with
MediaWiki.
Please reply on the designated etherpad if you are interested:
http://beta.primarypad.com/p/2r5ViOLFvL
---------- Forwarded message ----------
From: Joe Corneli <holtzermann17(a)gmail.com>
Date: Thu, Dec 1, 2011 at 3:01 PM
Subject: Etherpad International Hackathon 2012
To: Etherpad Open Source Developers <etherpad-dev(a)googlegroups.com>,
etherpad-lite-dev(a)googlegroups.com,
etherpad-open-source-discuss(a)googlegroups.com
Cc: Constantin Jucovschi <jucovschi(a)gmail.com>
Hi all:
I'd like to start organizing a set of meetups to work on Etherpad
stuff early next year. My guess is that January is a good time. Last
year we had Europe and East Coast meetings, so let's see if we can
manage at least that, again, this year.
Last year's meetings were in Bradford UK and at Olin College in
Needham, MA. This year's locations are not decided yet.
If you would be interested in attending or hosting an Etherpad hacking
event in January, please let us know:
(1) Where you are!
(2) Do you have any funding needs? (Thanks to our generous donors,
we have a small budget that can be allocated for legitimate/useful
expenses.)
(3) What dates would work best for you?
(4) What project or task might you want to tackle during the meet-up?
Other thoughts:
* for any students on the list: you may be able to get "Intersession"
credits for working on Etherpad.
* for any companies on the list: this could be a good "sponsorship"
opportunity - let's discuss any ideas!
I'm creating a pad at http://beta.primarypad.com/p/2r5ViOLFvL to
record answers or ideas, so we can avoid cross-posting a drawn out
discussion to all of these lists. Do however feel free to forward
this message to anyone who you think might be interested.
Cheers,
Joe
Hey!
I have started Developer hub on meta [1] - it's page for developers
(not only php) who are looking for some project they can participate
on, I am myself a developer of huggle (utility used on wikipedia for
reverting vandalism, written in c#) and it's really hard to look for
more devs who could join us, so I guess this could help a bit,
especially if there are people who know other languages than php and
are looking for projects they could work on. Feel free to improve that
page or insert other projects, like AWB, etc. I don't even know what
all tools we are using on wikimedia so it would do to have it all on
one place.
Thanks!
1 - https://meta.wikimedia.org/wiki/Wikimedia_developer_hub
Some folks may be interested in my blog post about high-density displays
and how using higher-density or vector images directly can greatly improve
rendering and legibility of diagrams and charts:
http://leuksman.com/log/2011/12/04/high-density-displays-mobile-and-beyond/
If anybody's interested in fiddling around with JavaScript to swap in
high-density PNG images and scalable SVG images (on either regular or
MobileFrontend view -- though it's more relevant to MobileFrontend view),
try this bookmarklet:
http://leuksman.com/misc/density-bookmarklet/
(source version: <https://github.com/brion/density-bookmarklet>)
It's fairly simplistic and won't work with everything. Attempts to replace
PNG thumbnails with double-sized ones (may fail on some images), and
rasterized SVG thumbnails with the original SVGs; but it does make some
charts and graphs look much nicer on an iPhone 4 or iPod Touch with retina
display!
Many Android phones have intermediate density displays (Android "hdpi"
approx 240dpi, with the new Galaxy Nexus sporting an "xhdpi" 320dpi screen
that's closer to the 326dpi Retina display); unfortunately the picture is
complicated by Android 2.x devices not supporting SVG in the browser!
-- brion
Hi all,
I spent some time this weekend spiffing up the code review stats page:
http://toolserver.org/~robla/crstats/
There may still be some bugs, especially since my "cross browser
testing" involved loading in Chrome and Firefox on a single Linux box,
but it should generally work a lot better than the old version. I've
changed graphing libraries from flot to jqplot. The latter lets you
zoom along x- and y-axis (the latter being a frequently requested
feature).
I've also untangled some of the spaghetti in the code, which means it
should be easier for someone who wants to contribute to do so. Here's
the source:
https://gitorious.org/mwcrstats
(docs are still sorely lacking though...but feel free to bug me if
you're interested).
The numbers for trunk don't look great at all. I'll probably dig more
into the numbers tomorrow, but we're really lagging from our
projections there (in fact, we've lost ground this past week).
The numbers for trunk/phase3 look better, though I think we may still
be going slower than what would be needed for a release.
Rob