I see Eugene started http://www.mediawiki.org/wiki/Summer_of_Code_2009
page.
Just emailing to remind people to start listing their project ideas
there as the organizers application deadline is approaching.
peace,
michael
* $wgSpamRegex now matches the edit summary and page move descriptions in
addition to body text.
Oh no!
I must not apply my rules also to the edit summary!
How can I separate back out the functionality, without hacking more
than just my LocalSettings.php?
/** Similarly you can get a function to do the job. The function will be given
* the following args:
* - a Title object for the article the edit is made on
* - the text submitted in the textarea (wpTextbox1)
* - the section number.
[and there's more items that are not mentioned, see EditPage.php]
* The return should be boolean indicating whether the edit matched some evilness:
* - true : block it
* - false : let it through
*
* For a complete example, have a look at the SpamBlacklist extension.
*/
$wgFilterCallback = false;
OK, I got as far as
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SpamBlacklist/RE…
before my head started to spin.
Can somebody please tell me how to regain the previous functionality?
I assume I should remove my $wgSpamRegex, and instead
use $wgFilterCallback with an array of my patterns, testing only on
wpTextbox1.
Is there any simple example other than
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SpamBlacklist/
Thanks.
As mentioned already, I'm not sure if localization is the best for candidate
for being held in JavaScript, but other things mentioned, e.g. single
request, minified and infinitely cached JS is what I'm looking at for
overall MW infrastructure - so far it's a big performance problem for MW -
examples of waterfall diagram i posted for the infinite image cache also
show main issue that I'm trying to attack for a while and might need more
help with - there are too many JS and CSS requests are made to the server by
MediaWiki:
http://performance.webpagetest.org:8080/result/090218_132826127ab7f25449963…
only 18th request is first image to be loaded and as you can see,
JavaScript loads are blocking, meaning no parallel loading is happening.
I think it's worth investing resources into creating some process for better
handling of this. Right now it's possible to cut down this configuring
MediaWiki not to use user scripts and stylesheets and manually combining JS
and CSS files for skin, Ajax framework and all things needed by extensons -
I did quite a lot for specific installations, but it seems that it needs
more systematic approach.
Good news is that MW already has some wrappers for style and script
insertion that extensions use to refer to external files. It's a little bit
lest fortunate with script loading sequence (e.g. it's ideal to load scripts
only when the rest of the page is loaded), but that might be a much bigger
challenge.
It's also worth mentioning that reducing the amount of PHP that handles
JavaScript and CSS is a good idea as serving static resources is much easier
then starting up fullblown PHP engine even with opcode and variable caches.
I think that there is a way to reduce the start-render delay as well as
overall loading time plus, very likely to save some traffic by attacking
front-end and will be happy to participate more in this.
How do we go about doing this? Can it be tied into Usability project (
http://usability.wikimedia.org/)?
Thank you,
Sergey
--
Sergey Chernyshev
http://www.sergeychernyshev.com/
On Fri, Feb 20, 2009 at 8:07 PM, Gregory Maxwell <gmaxwell(a)gmail.com> wrote:
> On Fri, Feb 20, 2009 at 5:51 PM, Brion Vibber <brion(a)wikimedia.org> wrote:
> [snip]
> > On the other hand we don't want to delay those interactions; it's
> > probably cheaper to load 15 messages in one chunk after showing the
> > wizard rather than waiting until each tab click to load them 5 at a time.
> >
> > But that can be up to the individual component how to arrange its
> loads...
>
> Right. It's important to keep in mind that in most cases the user is
> *latency bound*.
> That is to say that the RTT between them and the datacenter is the primary
> determining factor in the load time, not how much data is sent.
>
> Latency determines the connection time, it also influences how quickly
> rwin can grow
> and get you out of slow-start. When you send more at once you'll also be
> sending
> more of it with a larger rwin.
>
> So in terms of user experience you'll usually improve results by sending
> more
> data if doing so is able to save you a second request.
>
> Even ignoring the users experience— connections aren't free. There is
> byte-overhead
> in establishing a connection. Byte-overhead in lost compression by working
> with
> smaller objects. Byte-overhead in having more partially filled IP packets.
> CPU
> overhead from processing more connections, etc.
>
> Obviously there is a line to be drawn— You wouldn't improve
> performance by sending
> the whole of Wikipedia on the first request. But you will most likely
> not be conserving
> *anything* by avoiding sending another kilobyte of compressed user
> interface text for
> an application a user has already invoked, even if only a few percent use
> the
> additional messages.
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
There is a annual conference for Open Source Software organized by
IFIP, the International Federation for Information Processing, and
this year it's in Sweden. It's held in June in Skövde, a small
town along the railroad 150 km from Göteborg (towards Stockholm).
I've never been to one of these. I was informed about it by the
local co-organizer. Should we try to show-case Mediawiki and/or
WMF projects there? Does anybody have a paper to present?
--
Lars Aronsson (lars(a)aronsson.se)
Aronsson Datateknik - http://aronsson.se
---------- Forwarded message ----------
Date: Mon, 23 Feb 2009 16:19:40 +0100
From: Bjorn Lundell <bjorn.lundell(a)his.se>
To: Lars Aronsson <lars(a)aronsson.se>
Subject: Call for participation OSS 2009 Conference, Skövde, Sweden
Hej Lars,
Skickar över lite info om OSS 2009 och du får gärna sprida denna
information till dina kollegor...
--Björn
Call for participation OSS 2009 Conference, Skövde, Sweden
You are cordially invited to participate in
The 5th International Conference on Open Source Systems (OSS 2009)
3-6 June 2009, Skövde, Sweden
http://oss2009.his.se/http://oss2009.org/
Registration is now open at the registration site:
http://oss2009.org/index.php?id=aboutregistering.htm
Over the past decade, the Free and Open Source Software (F/OSS)
phenomenon has had a global impact on the way organisations and
individuals create, distribute, acquire and use software and
software-based services. F/OSS has challenged the conventional wisdom of
the software engineering and software business communities, has become a
useful instrument for educators and researchers as well as an important
aspect of e-government and information society initiatives. F/OSS is a
complex phenomenon that requires an interdisciplinary understanding of
its engineering, technical, economic, legal and socio-cultural dynamics.
The goal of OSS 2009 is to provide an international forum where a
diverse community from academia, industry and public administration can
come together to share research findings and practical experiences. The
conference is also meant to provide information and education to
practitioners, identify directions for further research and to be an
ongoing platform for technologytransfer.
Important Dates:
12 March 2009: Early registration (Payment received)
3-6 June 2009: OSS 2009 Conference in Skövde, Sweden
3 June 2009: Doctoral Consortium and tutorials
4-5 June 2009: Main Conference
6 June 2009: Workshops
Keynotes:
The organizers are happy to announce the keynotes for the conference:
Stormy Peters, Executive Director of the GNOME Foundation and Brian
Behlendorf, founder of the Apache Software Foundation and of CollabNet.
More information about these speakers can be found at
http://oss2009.org/index.php?id=keynote.htm
Women@OSS breakfast:
At breakfast on June 4th there will be a networking event "Women@OSS
breakfast". Women@OSS Breakfast - come along to what we hope will the
first of a regular OSS conference event where you'll be able to meet
other women working and researching in OSS! We'd like to see more women
taking an active role within the OSS community and in the OSS
conferences and workshops. Our keynote speaker of the day, Stormy
Peters, will be attending as will many of the women presenting at OSS.
It's your chance to network and contribute towards planning a bigger
Women@OSS event at OSS 2010.
Doctoral consortium:
A doctoral consortium is planned for June 3rd. The co-chairs are Walt
Scacchi, Kris Ven & Jan Verelst; the faculty for the consortium include
Joseph Feller, Daniel M. German, Jesus Gonzalez-Barahona, Maha Shaikh &
Giancarlo Succi. Funding may be available to support student
participation in the consortium.
Workshops and tutorials:
The OSS 2009 conference includes 6 workshops and one tutorial. More
detail on the workshops, including submission instructions, can be found
at: http://oss2009.org/index.php?id=workshops.htm
- WoPDaSD 2009: 4th Workshop on Public Data about Software Development
- First International Workshop on Building Sustainable Open Source
Communities
- 1st International Workshop on D4PL - Designing for participatory learning
- A Joint Workshop of QACOS and OSSPL: Quality and Architectural
Concerns in Open Source Software - Open Source Software and Product Lines
- NESSI OSS Workshop
- Serious Games and Open Source: Practice and Futures
A tutorial will be offered on the MUSIC platform, which supports the
development of self-adaptive mobile applications. The tutorial will
provide basicinformation on MUSIC methodologies and tools and on MUSIC
middleware.
Accepted papers:
Architecture of OSS
Drivers in the Modularization of FLOSS Systems
A. Capiluppi, University of Lincoln, UK.
Design Evolution of an Open Source Project Using an Improved Modularity
Metric
R. Milev, S. Muegge, and M. Weiss, Carleton University, Canada.
Software Engineering in Practice: Design and Architectures of FLOSS Systems
A. Capiluppi and T. Knowles, University of Lincoln, UK.
Mining OSS data
Analysis of Open Source Software Development Iterations by means of
Burst Detection Techniques
B. Rossi, B. Russo and G. Succi, Free University of Bolzano-Bozen, Italy.
Measuring Potential User Interest and Active User Base in FLOSS Projects
A. Wiggins, J. Howison, and K. Crowston, Syracuse University, USA.
Estimating Commit Sizes Efficiently
P. Hofmann and D. Riehle, SAP Research, USA.
Empirical research on OSS
Reporting Empirical Research in Open Source Software: The State of Practice
K.-J. Stol and M. A. Babar, University of Limerick, Ireland.
How Much Does It Take to Achieve One MegaLOC in Open Source?
J. Fernandez-Ramil, D. Izquierdo-Cortazar and T. Mens, Universite de
Mons-Hainaut, Belgium; Universidad Rey Juan Carlos, Spain; The Open
University, UK.
An empirical study of the reuse of software licensed under the GNU
General Public License
D. M. German and J. M. Gonzalez-Barahona, University of Victoria,
Canada; Universidad Rey Juan Carlos, Spain.
OSS Communities
Reassessing Brooks’ Law For The Free Software Community
A. Capiluppi and P. J. Adams, University of Lincoln, UK.
“Peeling the Onion”
H. Masmoudi, M. den Besten, C. de Loupy and J.-M. Dalle, Université
Pierre et Marie Curie, France; University of Oxford, UK; Syllabs &
University of Nanterre, France.
Group Maintenance Behaviours of Core and Peripheral Members of
Free/Libre Open Source Software Teams
M. J. Scialdone, N. Li, R. Heckman and K. Crowston, Syracuse University,
USA.
Commercial OSS
Beyond the business model: Incentives for organizations to publish
softwaresource code
J. Lindman, J.-P. Juutilainen and M. Rossi, Helsinki School of
Economics, Finland.
Opening Industrial Software: Planting an Onion
P. Sirkkala, T. Aaltonen and I. Hammouda, Tampere University of
Technology,Finland.
Providing Commercial Open Source Software: Lessons Learned
Ø. Hauge and S. Ziemer, Norwegian University of Science and Technology,
Norway.
Adoption of OSS
The Importance of External Support in the Adoption of Open Source Server
Software
K. Ven and J. Verelst, University of Antwerp, Belgium.
Customization of Open Source Software in Companies
S. Keßler and P. Alpar, Philipps-Universität Marburg, Germany.
Choosing Open Source ERP Systems: What Reasons Are There For Doing So?
B. Johansson, F. Sudzina, Copenhagen Business School, Denmark.
Company participation in OSS
Quality of Open Source Software: the QualiPSo Trustworthiness Model
V. del Bianco, L. Lavazza, S. Morasca and D. Taibi, Università degli
Studi dell’Insubria, Italy.
Challenges of the Open Source Component Marketplace in the Industry
C. Ayala, Ø. Hauge, R. Conradi, X. Franch and J. Li, Technical
Universityof Catalunya, Catalunya; Norwegian University of Science and
Technology, Norway.
A Survey on Firms’ Participation in Open Source Community Projects
E. Capra, C. Francalanci, F. Merlo, Politecnico di Milano, Italy.
Public Sector usage of OSS
What Constitutes Open Source? A Study of the Vista Electronic Medical
Record Software
J. Noll, California Lutheran University, USA.
Openness to standard document formats in Swedish public sector organisations
B. Lundell and B. Lings, University of Skövde, Sweden.
User-involvement in OSS design
FLOSS UX design: An analysis of user experience design in Firefox and
OpenOffice.org
P. M. Bach and J. M. Carroll, The Pennsylvania State University, USA.
Integrating HCI Specialists into Open Source Software Development Projects
H. Hedberg and N. Iivari, University of Oulu, Finland.
A Survey of Usability Practices in Free/Libre/Open Source Software
C. L. Paul, KDE.
Education and OSS
Using FLOSS Project Metadata in the Undergraduate Classroom
M. Squire and S. Duvall, Elon University, USA.
Undergraduate Research Opportunities in OSS
C. Boldyreff, A. Capiluppi, T. Knowles and J. Munro, University of
Lincoln,UK.
The conference also includes a poster session featuring accepted
academic and industry posters.
Conference venue:
Skövde is situated between the two main cities of Sweden, Gothenburg and
Stockholm and can be reached easily from each. The OSS 2009 conference
willbe held at First Hotel Billingehus, Skövde, Sweden. The hotel is
situated on the mountain of Billingen, and the Hotel restaurant offers
sweeping views across the plains of Västergötland.
More information about the venue can be found at:
http://www.firsthotels.com/sv/Billingehus
Conference officers:
General Chair
Tony Wasserman, Carnegie-Mellon West, USA, USA
Program Chairs
Cornelia Boldyreff, University of Lincoln, UK
Kevin Crowston, Syracuse University, USA
Organizing Chair
Björn Lundell, University of Skövde, Sweden
Advisory committee
Brian Fitzgerald, LERO - Irish Software Engineering Research Centre, Ireland
Walt Scacchi, University of California, Irvine, USA
Ernesto Damiani, University of Milan, Italy
Giancarlo Succi, Free University of Bozen/Bolzano, Italy
Program committee
Pär J. Ågerfalk, Uppsala University, Sweden
Andrea Bonaccorsi, Universita' di Pisa, Italy
Andrea Capiluppi, University of Lincoln, UK
Antonio Cerone, United Nations University, Macau SAR, China
Gabriella Coleman, New York University, USA
Jean Michel Dalle, Marie Curie University, France
Ernesto Damiani, University of Milan, Italy
Paul A. David, Stanford/Oxford University, USA/UK
Chris DiBona, Google, USA
Justin Erenkrantz, Apache Software Foundation, USA
Joseph Feller, University College Cork, Ireland
Daniel German, University of Victoria, Canada
Rishab Aiyer Ghosh, MERIT, Netherlands
Jesus Gonzalez-Barahona, Universidad Rey Juan Carlos, Spain
Stefan Haefliger, ETH Zurich, Switzerland
Jean-Luc Hardy, Eurocontrol, France
Ewa Huebner, University of Western Sydney, Australia
Joachim Henkel, Technische Universitat München, Germany
James Herbsleb, Carnegie-Mellon University, USA
Scott Hissam, Software Engineering Institute CMU, USA
James Howison, Syracuse University/CMU, USA
Chris Jensen, University of California, Irvine, USA
Stefan Koch, University of Economics and BA, Austria
Derrick Kourie, University of Pretoria, South Africa
Jean Pierre Laisne, OW2, France
Greg Madey, Notre Dame University, USA
Herwig Mannaert, University of Antwerp, Belgium
Pentti Marttin, Nokia Siemens Networks, Finland
Martin Michlmayr, HP Austria
Steven Muegge, Carleton University, Canada
Mahmoud R. Nasr, Middlesex University, UK
John Noll, Santa Clara University, USA
Bülent Özel, Instanbul Bilgi University, Turkey
Witold Pedrycz, University of Alberta, Canada
Paolo Massimo Pumilia-Gnarini, Animat Association, Italy
Dirk Riehle, SAP Labs, USA
Gregorio Robles, Universidad Rey Juan Carlos, Spain
Cristina Rossi Lamastra, Politecnico di Milano, Italy
Francesco Rullani, Copenaghen Business School, Denmark
Craig Russell. Sun, USA
Barbara Russo, Free University of Bozen/Bolzano, Italy
Walt Scacchi, University of California, Irvine, USA
Barbara Scozzi, Politecnico di Bari, Italy
Gregory Simmons, University of Ballarat, Australia
Sandra Slaughter, Georgia Institute of Technology, USA
Diomidis Spinellis, Athens University of Economics and Business, Greece
Giancarlo Succi, Free University of Bozen/Bolzano, Italy
Robert Sutor, IBM, USA
Megan Squire, Elon University, USA
Frank van der Linden, Philips, The Netherlands
Georg von Krogh, ETH Zurich, Switzerland
Web Master
Henrik Gustavsson, University of Skövde, Sweden
OSS 2009 is sponsored by the IFIP Working Group on Open Source Software
- IFIP WG 2.13:
http://www.ifipwg213.org/
Sorry, CC-ed wrong Wikimedia list originally. Please use these lists for
discussion:
general(a)openid.net, legal(a)openid.net, "Wikimedia developers" <
wikitech-l(a)lists.wikimedia.org>,
Thank you,
Sergey
---------- Forwarded message ----------
From: Sergey Chernyshev <sergey.chernyshev(a)gmail.com>
Date: Tue, Feb 24, 2009 at 5:12 PM
Subject: OpenID and Provider logos
To: general(a)openid.net, legal(a)openid.net, mediawiki-l(a)lists.wikimedia.org
Hi,
I'm working on updating MediaWiki OpenID extension (
http://www.mediawiki.org/wiki/Extension:OpenID) originally developed by Evan
Prodromou to add some features including selector UI that will allow users
to pick specific Provider to simplify identity URL entering.
You can see current testing site here:
http://www.sharingbuttons.org/Special:OpenIDLogin
Current testing site is using code from modified
http://code.google.com/p/openid-selector/ project which is supposedly
licensed under BSD license, but this license is incorrect as code includes
company logos required to display good UI (see original email to Wikitech
list).
I wonder if OpenID Foundation can release their logos and work with
Providers on releasing appropriate logos under licenses that can be used in
open software.
Thank you,
Sergey
--
Sergey Chernyshev
http://www.sergeychernyshev.com/
On Tue, Feb 24, 2009 at 3:01 PM, Aryeh Gregor <...(a)gmail.com> wrote:
> On Tue, Feb 24, 2009 at 2:28 PM, Sergey Chernyshev <
> sergey.chernyshev(a)gmail.com> wrote:
> > I've made some customizations to OpenID selector code (
> > http://code.google.com/p/openid-selector/) and combined it with
> MediaWiki
> > OpenID extension, you can see the result here:
> > http://www.sharingbuttons.org/Special:OpenIDLogin
> >
> > Iwant to check it in back into the repository, but it uses "New BSD
> License"
> > and I wonder if it's OK to do so.
> >
> > Otherwise I'll write one from scratch and GPL it.
>
> The three-clause BSD license is universally considered a free software
> license and is certainly acceptable for checking into our repository.
> Moreover, it's GPL-compatible. The license permits you to take any
> BSD-licensed software that you possess and relicense it as GPL (or
> under any other compatible license, such as "totally proprietary (plus
> liability/attribution requirements for redistributors)"). You
> certainly wouldn't need to rewrite anything.
>
> However, it seems to include a number of trademarked, copyrighted
> logos. In other words, it's not really BSD-licensed. I don't know if
> the logos should be in the repo. Even if we're not going to worry
> about copyright on logos (à la Firefox), I'd think that the current
> extension might be a trademark violation, in that users might
> reasonably think your site is part of or endorsed by Google/AOL/etc.
> IANAL, of course.
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
Sergey Chernyshev
http://www.sergeychernyshev.com/
You must excuse me but if you take a look in
mediawiki-1.14.0rc1/languages/messages/MessagesRu.php
there's this hundreds of bytes long string of z's etc. at $bookstoreList.
So I was running into the problem of localizing the messages for the
add_media_wizard & mv_embed & associated libraries. So I have taken a
first pass at witting the script server (that I had previously
described) http://tinyurl.com/ae44vd Below is a description of how it
works. the code is in the svn http://tinyurl.com/darmme ...
I think it would be good to consider wider usage or at least turning it
on sometime soon so I can deploy the add_media_wizard as a multi-lingual
gadget. I am happy to volunteer to write a basic patch for putting it in
the root. MediaWiki folder. (since its another entry point I imagine it
should go in the root)
I have put a copy of this desc on
http://www.mediawiki.org/wiki/ScriptLoader ... let me know if there is
a better place to put that on mediaWiki
== Primary Motivation: ==
We need a script server to package language text into javascript. When a
user invokes a interface component say the add media wizard we don't
want to pull the entire interface code base and all the messages at
once. Instead we just want to grab enough to display the current
interface interaction. Once the user click on some tab say the
'archive.org search' we then want to import the code to run the
archive.org search and the localized messages specific to that interface
component. In other words we don't want to package all the message text
in the html output of the initial page because in their are lots of
possible interface interactions from any given point of invoking the
user interface.
== Secondary Benefits ==
If we are ruining all the javascript though a php script might as well
group requests, minify; gzip; use the local file cache system; send
headers to cache forever on the squids, and we make each javascript
request unique based on svn version and avoid re-validate requests. All
these combined do speed things up a good deal on the first time a user
loads page.
== How to use==
In your Global settings you add to the global wgJSAutoloadClasses
variable something like for every javascript class you want to load.
$wgJSAutoloadClasses['mv_embed'] =
'/local/path/to/my/javascript/mv_embed.js';
then at the top of mv_embed.js you would put something like:
loadGM({
"msg_key":"Fall-back text if script server is disabled"
...
}
note the json variable that you pass to loadGM has to be valid JSON (not
javascript) or php will complain.
Then in your message file you put the normal msg key pairs:
"msg_key":"My localized text",
Right now we only support basic $1 replace ... obviously things get
tricky with contextual wiki-text type replacements. (don't use that in
js messages)
Then you can modify your head javascript include: with something like:
if( $wgEnableScriptLoader ){
$unique_req_param = SVN_VERSION
$debug_param = ($mvgJSDebug) ? '&debug=true' : '';
$wgOut->addScript(... mvwScriptLoader.php?" .
"class=all_the_class_i_need_separated_by_commas" .
'&urid=' .$unique_req_param .
$debug_param . "\"></script>"
);
Note the use of a few config vars...here are the config vars:
===Configuration vars===
$wgEnableScriptLoader = true; //if the script loader should be used at all
$mvgJSDebug=false; // if set to true will send raw, fresh un-minified,
localized javascript
$wgEnableScriptLoaderJsFile = true; //if you can use the script loader
with js files based on the root script folder ie:
?file=/skin/common.js (rather than only js classes looked up with
$wgEnableScriptLoader)
$wgEnableScriptMinify = true;
peace,
michael.