I've been adding custom tools to the WikiEditor toolbar (MW 1.17.0 version) and am running into difficulty with caching.
When I do something simple, such as changing text in a dialog, the change doesn't take effect unless I delete all my browser's cached content (e.g., in Firefox, Tools / Options / Advanced / Network / "Clear Now"). That seems extreme: a browser refresh or hard-refresh ought to be sufficient, right? Or ideally, no refresh at all.
This is in Firefox 7.1, Firefox 3.6, and IE8.
For example, I created a new dialog:
$('#wpTextbox1')
.wikiEditor('addModule', {
'dialogs': {
'mytool-module': {
title: "My title",
id: 'mytool',
html: function() {
return '<p>foo bar</p>';
},
...
which is launched from a button:
$('#wpTextbox1')
.wikiEditor('addToToolbar',
{
'section': 'main',
'group': 'insert',
'tools': {
'mytool': {
'label': 'my label',
'type': 'button',
'icon': mypath,
'action': {
'type': 'dialog',
'module': 'mytool-module'
}
}
}
}
);
Now if I modify the HTML of the dialog to be "foo bar BLAT" instead of "foo bar", I still see "foo bar" until I clear the browser cache.
However, I can change other parts (say, the button label) without this caching happening.
Is there something else special I should be doing to avoid this level of heavy caching?
Thanks,
DanB
Hi,
I've just installed the semantic task extension, and I'm very confused
not to find any help on how to create the tasks. I've tried looking into
the semantic mediawiki too, but I don't seem to find any help regarding
the creation of tasks.
Does anyone know where I should look?
Thanks
--
*André Meunier*
Documentaliste et responsable IT
Bibliothèque des Sciences de la Vie
Téléphone : 04 366 2173
http://www.libnet.ulg.ac.be/mede/
I,m running Mediawiki 1.17 and its working fine except I'm still getting
requests for Template:Safesubst from some pages that I've borrowed and
installed from other wikis, primarily Wikipedia. According to my
research the version that I have installed is supposed to 'natively'
understand that this is not a "Template: " call. This is my second
request for help for this issue on this list. If there is anyone that
can assist, even with another list address or any idea of how to cure
this....please mail me.
Thanks!
John
Hello,
i changed the SQL Version on my shared webhosting from 4.1 to 5.1
Therefore the Webhoster did a serverchange of my account on another server.
Now I receive one Errormessage on my contact page, where the google map is
installed:
*
Warning: Parameter 3 to GoogleMaps::render16() expected to be a reference,
value given in /www/htdocs/.../.../w/includes/parser/Parser.php on line 3333
*
Has someone an Idea, what I can do?
We're holding a Wikimedia and MediaWiki hackathon in six weeks: 14-16
October in New Orleans, Louisiana, USA.
http://www.mediawiki.org/wiki/NOLA_Hackathon
Please come! It'll be a blast. :-)
We want to get together a wide variety of contributors -- including
template, script, tool, extension, and gadget writers -- to participate,
give feedback, test, and hack with us. If you hack MediaWiki, or write
software that uses the MediaWiki API, or runs on the Toolserver, other
developers want to chat and collaborate with you.
At the event, MediaWiki developers and Wikimedia operations engineers
will be working on Wikimedia's gadgets/extensions/tools support,
general training and hacking, etc. And we'll improve and discuss the
Wikimedia Labs projects infrastructure
http://www.mediawiki.org/wiki/WMF_Projects/Wikimedia_Labs
and other stuff that makes it easier for anyone to supercharge MediaWiki
with awesomeness.
The event is open to anyone who wants to come and contribute, and is an
opportunity to spend time with senior MediaWiki developers & ops
engineers, write beautiful code, and learn about the latest
developments. We'll write code together, discuss the software, and hold
little workshops.
If you can make it to New Orleans, Louisiana, USA, 14-16 October 2011,
we'd love to have you. Please add your name to the attendees list:
http://www.mediawiki.org/wiki/NOLA_Hackathon#Attendees
(And please spread the word!)
Thanks and best wishes.
--
Sumana Harihareswara
Volunteer Development Coordinator
Wikimedia Foundation
Dear all,
I have installed mw1.17 few months back n that time it is worked for oracle
but when i downloaded fresh copy of installer and tried to install,i
surprise it was not asked for oracle.only mysql and mysqli. what is that?
anyone tell me what mw developer doing? why they are not talking about
oracle support even further development.
--
Thanks & With Regards,
rohit.....
Sorry if this is a newbie question. I've not done my research.
If I want to drastically change the appearance and have new types of navigation on the site and what not, I think I can do that but I need to update that template or theme every time there's an update to the Mediawiki software - this is what I had learned a while ago but it may not be true any longer.
Or is there an easier way to plugin a theme and have it work even after updates? Is this the right thing to check out?
http://www.mediawiki.org/wiki/Extension:Theme
Erik
Teammates,
We would like to use the capability of $wgAllowExternalImages from
http://www.mediawiki.org/wiki/Manual:Linked_images#External_image_syntax
however, some of the images we would like to display do not have an extension in
the filename, even though they are *.jpg. So for example, the *.jpg might simply
be named "StacyPic".
Can you think of any clever way to get around this issue ? We are using MW 1.15.3.
Thank you,
L
Greetings all,
Been some things floating around about this already, but I'm proud to announce Brighton Wikimedia Hackathon.
http://www.mediawiki.org/wiki/Brighton_Hackathon_2011
MediaWiki developers are going to meet in Brighton on the South East coast of the United Kingdom to hack anything to do with Wikimedia projects (mediawiki, toolserver, pywikipedia and various other things.) I've been putting this together for a while, with a lot of help from Roan, Reedy, Sumana and various others, and the date has now been confirmed for the 19th and 20th of November 2011 (unfortunatly, it clashes with WikiConference India). If you're intending to come, please add your name here, just so we can start getting an idea of how many people are coming:
http://www.mediawiki.org/wiki/Brighton_Hackathon_2011#Attendees
I'll be adding more details as they become available, as well as a registration form.
-- Lewis Cawte
Hi all,
If you write, maintain or are otherwise active in development, and directly
or indirectly make use of MediaWiki, then you should subscribe to:
mediawiki-api-announce(a)lists.wikimedia.org
That is a mailing list that only brings important announcements for
developers that use MediaWiki as an API.
Note that this list is not limited to API as "api.php" but about MediaWiki as
a application programming interface (API) in general.
Subjects that have announcements on that list:
* Important changes in database schema (columns or tables added, removed or
changed in such a way that you should change your queries. Think for example
of the addition of rev_deleted, queries should most likely query for
rev_deleted=0 now).
* Changes in the JavaScript API (methods being deprecated or removed in the
mediawiki.js library etc. as well as upgrades of third-party libraries that
ship with MediaWiki, such as jQuery).
* Major changes to the HTML layout (such as the change for the sidebar id to
#mw-panel)
* Hooks in MediaWiki PHP. Mostly for extension developers. Changes or
deprecation of hooks.
* And last but not least, the api.php itself. All major changes.
===
Although time will learn how the list is used, to readers and writers of this
list:
"All subjects should clearly indicate what needs changing and when!"
For example "Vector skin sidebar html ID changes to '#mw-panel' in 1.17".
Also, whenever Wikimedia has scheduled a deployment of revision(s) or entire
branches that expose any change that was previously announced, a new mail
should be sent here to remind/summarize upcoming changes (since gadgets
should/can't be changed until the new version is deployed but new versions can
be prepared or tested in advance)
Hope to see you soon on mediawiki-api-announce(a)lists.wikimedia.org :)
Please reply-to to wikitech to keep discussions about this central.
--
Krinkle