Hi all,
I am glad to release an extension (also a library for developers) that can
be used to display data in visual format like bar graphs, pie charts etc.
There are a few extensions that let you display visual data in MediaWiki
but they didn't seem good in terms of extensibility and were not maintained
or were outdated. So we decided to make one that would be generic in the
sense that innumerable new views could be added to it and it could support
different types of JS libraries including d3, Raphael, etc
Our idea is that this could be one place for all sorts of customizable
visuals needed and extensions like SemanticResultsFormat could directly use
this. It could potentially be also used in Wikipedia to display results in
better ways rather than always displaying it using tables.
Examples are on the extension's MW page
https://www.mediawiki.org/wiki/Extension:DataVisualizer
Currently the extension is in its bare bones form (probably with a lot of
bugs sitting around it) and needs a lot of work but we decided to be
pragmatic and release it already. The source is at
https://github.com/nischayn22/DataVisualizer
For developers, an example usage with SemanticDrilldown is at
https://gerrit.wikimedia.org/r/#/c/98390/10/specials/SD_BrowseData.php
--
Cheers,
Nischay Nahata
When using user-to-user e-mail the address of the sender is revealed to the addressee.
I don't see a setting that can prevent this. Is there an easy way to prevent the address to be revealed in user-to-user e-mail?
Kind regards,
Ad Strack van Schijndel
Wikibase Solutions
www.wikibase.nl
T: +31 162 229 686
M: +31 6 4023 2715
Were the antispam settings of this list changed recently? I've tried 5
times to send a message, without success.
<http://p.defau.lt/?_yzbzvIVKfHPwMkIkVSsGg>
Messages are silently discarded so I have no idea what's going on (maybe
they are still in the moderation queue), anyway the configuration seem
to need tweaking. When you find the trick, please share it on bug 56525.
Nemo
Dear all,
Sorry if this question has been asked a dozen times but I can't get the
Template:Mbox to properly work and it's been about 2 days of search on the
Internet (without success obviously).
1. What I did
I exported Template:Mbox using the Special:Export page. It created an XML
file.
I imported this XML file in my wiki using the Special:Import. It didn't
complain and simply told me that everything was imported. For info, I will
past the list of imported templates at the end of the email.
I looked at my newly created template and saw that pictures were missing. I
uploaded one or two in order to make sure that it wasn't the reason of my
problem (better safe than sorry...).
I also added the content of MediaWiki:Gadget-site.css into
my Mediawiki:Common.css and MediaWiki:Gadget-site.css (again, just in
case...).
I restarted the Web server (Apache) in case of some caching issue.
2. What I get
I actually get no error message. The Lua scripts seem to be working because
I tested it with the Module:Test on my wiki and I get the "hello" message.
I see the icon, I see the text, but no box around it.
3. What config do I have
Mediawiki 1.22.3
Windows 8
Apache + MySQL + PHP
Where did I miss something?
Br,
Gregory
P.S.: list of imported templates:
-
Template:Uselang
-
Template:Languages/Title
-
Template:Languages/Lang
-
Template:Languages
-
Template:LangSwitch
-
Template:GetFallback
-
Template:Ambox/doc
-
Template:Ambox
-
Module:Yesno
-
Module:Namespace
-
Module:Message
-
Module:Message box
-
Module:HtmlBuilder
-
Module:Documentation/config
-
Module:Documentation
-
Module:Category handler
-
Module:Arguments
-
Template:Tlx
-
Template:Tl
-
Template:Pp-template
-
Template:Pp-meta
-
Template:Para
-
Template:Ombox
-
Template:Nmbox
-
Template:Namespace
-
Template:Mbox templates
-
Template:Mbox/doc
-
Template:Documentation subpage
-
Template:Documentation
-
Template:Mbox
Arcane 21 <arcane <at> live.com> writes:
>
> I recommend using the MW 1.22.4 tarball to base this on. The MW 1.22.3
extensions are the wrong branch and
> produce errors, assuming you're using the Cite extension that was bundled
with the 1.22.3 tarball..
I've upgraded my MW installation and the extensions, but the problem
remains. I would guess it's to do with passing references vs values, or
there is some MediaWiki-specific thing that I am not aware of.
Perhaps someone can help me sort out the syntax for writing an event
handler that modifies an existing value.
Here's where the hook is called:
wfRunHooks( 'CiteBeforeStackEntry', array( &$str, &$key, &$call ) );
Here's the hook:
$wgHooks['CiteBeforeStackEntry'][] = 'wfProcessCite';
Here's the function:
function wfProcessCite( $str, $key, $call ){
...
I want to change the value of $str, but leave $key and $call unchanged.
Can someone indicate the correct syntax?
Thank you!
Amelia.
> > From: amelia.ireland <at> gmod.org
> > Date: Thu, 13 Mar 2014 14:18:54 -0700
> > To: mediawiki-l <at> lists.wikimedia.org
> > Subject: [MediaWiki-l] MediaWiki hooks and parameters
> >
> > Hello,
> >
> > I'm having a little trouble getting a custom hook to perform the
actions I
> > want
> > it to after upgrading from PHP 5.3 / MW 1.19.2 to PHP 5.4 / MW 1.22.3.
> >
> > I am hacking an existing extension, ProcessCite, that integrates into
the
> > Cite
> > extension by adding a custom hook to one of Cite's functions:
> >
> > # from Cite_body.php
> > function stack( $str, $key = null, $group, $follow, $call ) {
> > # add the call to the CiteBeforeStackEntry hook
> > wfRunHooks( 'CiteBeforeStackEntry', array( &$str, &$call ) );
> >
> > ProcessCite runs code that creates a value for $str based on the
contents of
> > $call. Here are the relevant parts of ProcessCite:
> >
> > # Declare the hook:
> > $wgHooks['CiteBeforeStackEntry'][] = 'wfProcessCite';
> >
> >
> > # the function itself
> > function wfProcessCite($str, $call){
> >
> > # process $call and $str to create a new version of $str
> > # $call remains unchanged, $str is set to new value
> >
> > $str = "new string";
> >
> > return true;
> > }
> >
> > Debug statements reveal that wfProcessCite is creating the correct
value for
> > $str, but the value is not altered when wfProcessCite finishes. I am not
> > sure
> > if I am calling the hook in the wrong way, given that I want to alter
the
> > value of $str.
> >
> > The MW manual page on hooks (http://www.mediawiki.org/wiki/Manual:Hooks)
is
> > somewhat confusing -- what is the difference between passing $someData
to a
> > function versus passing a set of parameters?!
> >
> > Any help would be appreciated!
> >
> > Thank you,
> > Amelia.
> >
> > --
> > Amelia Ireland
> > GMOD Community Support
> > Generic Model Organism Database project
> > http://gmod.org || <at> gmodproject
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l <at> lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l <at> lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
--
Amelia Ireland
GMOD Community Support
Generic Model Organism Database project
http://gmod.org || @gmodproject
Hey has anybody resolved the WikiEditor Issue in version 1.22.2 where the Advanced menu
is overwritten/cut off in I.E. 8.0 ? Didn't have the problem in family 1.19.x.
I tried the stuff from the WikiEditor Talk Page, but didn't work out for me.
I just thought one of you may have resolved it. Firefox is okay.
Let me know if you have a fix !
As always, many thanks !
Lori
For unknown reasons, google sometimes refers to my wiki-pages by using https instead of http. The result is that the page is displayed, but without css. Any advice how to prevent this?
Thanks in advance
Bernhard
Hi everyone,
We are using 2 vps (linode 2G plan), one Squid, another one put the MW
source code (with APC enabled). Cloudflare and many other CDN were used for
static contents. Usually when there are more than 600 people online (data
by google analytics) at the same time the website will become unstable.
Therefore I really want to know how your site support similar or more
pageviews. How many server you used and how you set it?
Thank you!
Zoglun
I have a couple questions about the formSpecialPage class and how it works.
For starters, I cannot seem to make anything happen in the onSubmit
callback, regardless of what I do. In addition, I'm also not certain how to
return error messages upon failure to perform the action. What's more, I
made onSubmit() just return true regardless of anything, and I still could
not get the onSuccess() message to display.
In a nutshell, I don't understand the submit process for this class, and
would like some tips on how to make sure I'm doing everything properly.
My extension I am developing is located in my github, here:
http://github.com/Justin-Folvarcik/ContactUs
Source for the class is in SpecialContactUs.php, and the js and css are
currently unused while I work out the rest of the technical details.
If I could possibly get some pointers about it, I'd appreciate it. I'm
basically stuck, and don't know what to do next.
--
----
Justin Folvarcik
*"When the power of love overcomes the love of power, the world will
finally know peace."*-Jimi Hendrix