Hi
I have a problem with the purge request from MediaWiki :
when it send a request to purge an image, there is a big delay (~1 seconde per
image on a page oO), I have checked my Apache & Squid logs and I have found that
MediaWiki try to purge a thumb of each image... but the thumb doesn't exist.
I think (not sure) my problem come from the latency caused by the 404 error...
but I don't know how to resolve this. Have you an idea?
Squid log example (purge request for a 64x64px image - not rescale):
xxx.xxx.xxx.xxx - - [27/May/2007:09:56:47 +0200] "PURGE
http://mydomain.tld/w/images/thumb/7/7b/Image.png/64px-Image.png HTTP/1.0" 404
109 TCP_MISS:NONE
PS: sorry my english is bad - I'm french ^^
How can I change the cache control for javascript / css pages. I don't
want them to have 'must-revalidate' pragma.
Thanks,
Ittay
--
*Ittay Dror*
Chief Architect,
R&D, Qlusters Inc.
Web: qlusters.com <http://www.qlusters.com/>
Email: ittayd(a)qlusters.com <mailto:ittayd@qlusters.com>
Phone: +972-3-6081994
openQRM <www.openqrm.org> - Data Center Provisioning
------
I own this number: D0E008A921FF04A9DB8C12668E4315F4. Get your own at
http://www.freedom-to-tinker.com
Hallo,
ich bin so langsam am Verzweifeln mit meiner mediawiki
Installation und hoffe, es kann mir hier jemand weiterhelfen.
Gleich zu Beginn erhalte ich folgende Meldung, die verhindert,
dass ich überhapt mediawiki installieren kann.
> Your session save path appears to be invalid or is not writable.
> PHP needs to be able to save data to this location in order for
> correct session operation. Please check that session.save_path
> in PHP.ini points to a valid path, and is read/write/execute for the
> user your web server is running under.
Laut phpinfo ist der Session Path hier:
> /var/lib/php5
Die Rechte sind:
> drwx-wx-wt 2 root root 1024 May 21 23:07 php5
Kann mir hier vieleicht jemand sagen wo das Problem liegt, damit
ich das mediawiki installieren kann? Hatte bisher nie Probleme bei
der installation und echt ratlos. :-(
Liebe Grüße. Sebastian
I am trying to upgrade but the update.php script always seems to stop
functioning at this line:
Adding rev_len field to table revision ..
note: i am using SSH to do the upgrade so, i should have no timeout issue,
or should i ?
Thank you for your time,
Waleed A. Meligy
Occleve is an open content mobile phone computer based learning (CBL)
system with the tests stored in XML in a mediawiki. It's hosted on berlios
at
http://occleve.berlios.de/
but is also available through a redirect at http://www.pocketchinese.com
An emulator-based demo of the mobile phone client is at
http://occleve.berlios.de/demo.html
And the wiki is at
http://occleve.berlios.de/wiki/
I launched the system back in February.
The mobile phone client (written in Java) connects directly to the wiki
through the Internet, retrieves a list of available tests, and then allows
the user to select which ones to download. Once downloaded, the tests are
stored in the mobile phone's memory.
As far as I know this is the first time that mediawiki has been used as:
*The backend for a mobile phone application.
*To store XML data rather than mediawiki-formatted text.
But please correct me if I'm wrong!
I live in Shanghai, China, and am learning Chinese. So at this time, the
main application for Occleve is for learning and testing Mandarin Chinese
vocabulary. However, there is nothing in the software which precludes it
being used for other language pairs. Indeed, I have also created a test
for English-Shanghainese (with audio clips), and a couple of friends have
done a very small amount of work on English-Hindi and English-Korean
tests. And ultimately, I'd like it to be used for other CBL subject areas
too. A particular one I have in mind is for memorizing equations: this
will require adding MathML rendering support to the J2ME client.
The current release is 0.9.2. The forthcoming 0.9.3 release adds support
for audio clips. When viewing a test, if an audio clip is available for a
particular phrase, you can click a Listen button. If the clip is already
in the phone's memory it will be played, otherwise it will be fetched from
the wiki and saved for re-use. The clips are stored as MP3 files in the
uploaded files section of the wiki. This functionality is already
available if you build the client from the CVS source. The current 0.9.2
release ignores the audio clips. The audio clips will give the system a
"talking phrasebook" functionality which I imagine will be appealing even
to those who aren't interested in learning Chinese.
After 0.9.3, the next big development will be on-phone editing and
uploading of the changes directly from the phone to the wiki. I don't
think this has been done before, either.
A particular question I can imagine that people will have is, how does
this relate to wiktionary, and doesn't it duplicate it? I think these are
the important differences:
*Occleve is not just about learning a language (eventually).
*When used for languages, Occleve is not a dictionary. It's closer to a
phrasebook.
*Occleve stores its data in XML and the wiki is specifically designed to
act as the backend to a CBL system.
A quick look at the wiki will show that so far, I've done most of the work
on this. A few Chinese friends have helped with putting Chinese characters
into the tests, and recording audio clips. But PLEASE, if you like this
project, get involved! Please see the to-do list on the wiki:
http://occleve.berlios.de/wiki/index.php/To-do_list_and_road_map
for the future developments I have in mind. In particular, I'd like to add
server-side mediawiki extensions to validate the XML against the DTD, and
save users from having to work directly in XML. If you have other ideas,
add them to that page. The project needs volunteers both on the software
development side, and the content provision side.
If you're learning a language (any language), why not create a test on the
vocab you're currently trying to memorize? Then you'll be able to test
yourself on the bus, the train, etc... All the software is GPL-licensed,
and all the content is GFDL-licensed.
Sincerely,
Joe Gittings
I'm trying to set up a system of Infoboxes for use on a few pages (with
a running theme) on my Wiki, but all my searches on how to actually go
about creating an Infobox are turning up nil. A Google search only
revealed other Wiki's infoboxes and their Talk pages on them. I couldn't
find a wiki page in the MediaWiki meta on how to do it, so I'm turning
here for help. I don't think just copy-pasting the source of the
infoboxes I need from Wikipedia is a good idea, as Wikipedia uses a
different version of the software than me (I can only use up to 1.6.10),
and there is so much syntax and other templates there in use that I'm
not aware of. Does anyone have any pointers?
Thanks in advance,
-Azurite
>I have precisely the same setup. I have the add-on domain set to
>directory - let's call it /test - and inside test I have /wiki, which
>contains MediaWiki. /test is treated like public_html so put a
>.htaccess file there.
I have an .htaccess file there to point to the wiki using a Redirect.
Redirect /index.html http://www.trunker.org/wiki/
Should it be something else?
> Works for me (set the rewrite rules &
>$wgScoiptPath correctly)
$wgScriptPath is set to "wiki/"
$wgScriptPath = "/wiki";
What rewrite rules are you using?
----
Support your LOCAL scanner frequency site and groups!
http://www.wpascanner.comhttp://www.tampascanner.infohttp://www.trunker.info - Trunker support
http://groups.yahoo.com/group/800_MHz_Rebanding_scanners/ - Rebanding for SCANNERS ONLY!
-------------------------------------------------------
http://www.gulfcoastdish.net
> Arthur wrote: I have been following this
> discussion for the past few days and it
> seems to be going round in circles and
> getting no ware ...
Peter Blaise responds: I love puns! ;-)
> Arthur wrote: ... http://httpd.apache.org/,
> http://www.php.net/, http://www.mysql.com/,
> Finally MediaWiki ... contact the relevant
> forums or mailing lists relating to the
> piece of software that is causing you problems ...
Peter Blaise responds: Thanks, but I'm ONLY trying to install MediaWiki
(and whatever it takes to support it), so everyone says, "ask somewhere
else"! Go to Apache and say, "my goal is to support MediaWiki" and they
say, "ask MediaWiki!" Go to PHP and say, "my goal is to support
MediaWiki, and they say, "ask MediaWiki!" And so on. What you're
saying is like asking for car performance tuning help and being told,
"did you ask the highway department about their road and how it's
supposed to handle?" Argh!
> Arthur wrote: ... Alternatively you can try
> a WAMP package ...
Peter Blaise responds: Thanks, but do you now of any that *include*
MediaWiki ... since I'm trying to support MediaWiki?
As mentioned:
Cornelius Herzog's Wiki-on-WOS (WOS = Web server On a usb Stick) works
just fine on Windows without admin rights, and can run from a USB flash
drive or from an MS-DOS "subst" drive:
http://www.chsoftware.net/en/useware/wos/wos.htm?action=download
It does not require admin rights nor does it hammer the Windows registry
or Windows program and system file areas. Wiki on WOS is a truly
portable uber MediaWiki!
However, it defaults to a single-user wiki! It requires a manually
created list of IP addresses so it can be shared with more than one
user, so it has a narrow audience with ongoing support requirements to
expand it.
In a mere 6 hours, using Wiki on WOS and Word2Wiki (see: Gunter
Schmidt's and Fernando Correia 's Word2Wiki extension:
http://www.mediawiki.org/wiki/Extension:Word2MediaWikiPlus ), I built a
working MediaWiki on it with ~500,000 words containing the entire US
Trademark Manual of Examining Procedure* AND the all supporting law (see
http://tess2.uspto.gov/tmdb/tmep/ )
Thanks for the confirmation of a synopsis and confirmation that you also
have not found a concise, complete and accurate itemized checklist of
all decisions supporting "WAMPP/MW" - Windows, Apache, MySQL, PHP,
PHPMyAdmin, MediaWiki.
-- Peter Blaise
PS - 6 MediaWiki references at apache.org, 25 at php.net ... they don't
really support each other. I was hoping MediaWiki.org would be the
penultimate place to find focused, purposeful support all the
appropriate choices for all the underpinnings of MediaWiki, but ...
> Dave wrote: I am looking (have searched
> but not found) for an extension that would
> 'NOTIFY' the users that a page is currently
> being edited if they try to go into edit mode.
Hi Dave,
How about a plan B - make a template that says
"editing as of (date) by (name), please wait for this message to
disappear before adding your own edits"
and put it in the page top, then edit off line, hope for the best, and
hope someone else isn't also editing off line at the same time.
If you have admin rights (I know, I know, a sore subject around here!)
you can lock the pave temporarily, but I think you're after a work
around.
Eh? Eh?
Now, people can ignore and delete your warning (say, you forget to ever
upload your off line edits, eh?).
Are you familiar with this?
http://en.wikipedia.org/wiki/Wikipedia:Technical_FAQ#What_happens_if_two
_or_more_people_are_editing_the_same_page.3F
-----
What happens if two or more people are editing the same page?
When the second person (and later persons) attempts to save the page
mediawiki will attempt to merge their changes into the current version
of the text. If the merge fails then the user will receive an "edit
conflict" message, and the opportunity to merge their changes manually.
The wiki will also check for a conflict if you are editing and do a
preview of the edit. Multiple consecutive conflicts are noticed, and
will generate a slightly different message. This is similar to
Concurrent Versions System (CVS), a widely used software version
management system.
-----
Let us know how it goes for you.
- Peter Blaise
Hmm:
http://en.wikipedia.org/wiki/Template:Inuse
( http://en.wikipedia.org/wiki/Template:Inuse/doc )
But NOTHING at MediaWiki.org?!?
Maybe that's my problem - most support for MediaWiki is NOT on
MediaWiki.org
- Peter Blaise
PS, just to document the above link:
Template:Inuse
>From Wikipedia, the free encyclopedia
Jump to: navigation, search
This template page is actively undergoing a major edit for a short
while.
As a courtesy, please do not edit this page while this message is
displayed. The user who added this notice will be listed in the page
history. If this page has not been edited for several hours, please
remove this template, or replace it with {{underconstruction}}. This
message is intended to help reduce edit conflicts; please remove it
between editing sessions to allow others to edit the page.
This documentation is transcluded from Template:Inuse/doc (edit)
Wikipedia main articles: Wikipedia:How to edit a page,
Wikipedia:Template messages, and Wikipedia:Template messages/Maintenance
See also: Template:Inuse-section/doc and Template:Underconstruction
[edit] Usage
The Inuse template message is placed at the top of a page you are
actively editing for a short period of time. The tag is intended to
inform people that someone is currently working on the article, thereby
reducing edit conflicts. Please do not leave it in place for more than
the few hours at most that should be necessary, as doing so may
unnecessarily discourage others from contributing to the article. If it
has been up for more than two hours since the last edit, it should be
removed. Specifying periods of several days or longer for this template
goes against the spirit of simply avoiding edit conflicts; please only
use it for sessions where you are actively editing the article.
If you wish to indicate that an article is being rebuilt over a longer
period of time consider the {{underconstruction}} template. That
template encourages others to edit the article while indicating that it
is a work in progress.
To use, just add {{inuse}} at the top of the article you want to work
on. If you want to reserve it for a specific length of time and
optionally, a message, use {{inuse|time (message)}}.
Please remember to remove the Inuse note as soon as you're finished
editing.
[edit] Examples
{{inuse}}
This template page is actively undergoing a major edit for a short
while.
As a courtesy, please do not edit this page while this message is
displayed. The user who added this notice will be listed in the page
history. If this page has not been edited for several hours, please
remove this template, or replace it with {{underconstruction}}. This
message is intended to help reduce edit conflicts; please remove it
between editing sessions to allow others to edit the page.
{{inuse|5 minutes}}
This template page is actively undergoing a major edit for 5 minutes.
As a courtesy, please do not edit this page while this message is
displayed. The user who added this notice will be listed in the page
history. If this page has not been edited for several hours, please
remove this template, or replace it with {{underconstruction}}. This
message is intended to help reduce edit conflicts; please remove it
between editing sessions to allow others to edit the page.
{{inuse|30 minutes to fix the information in the History section}}
This template page is actively undergoing a major edit for 30 minutes
to fix the information in the History section.
As a courtesy, please do not edit this page while this message is
displayed. The user who added this notice will be listed in the page
history. If this page has not been edited for several hours, please
remove this template, or replace it with {{underconstruction}}. This
message is intended to help reduce edit conflicts; please remove it
between editing sessions to allow others to edit the page.
Retrieved from "http://en.wikipedia.org/wiki/Template:Inuse"
Category: Under-construction templates
=====
Wanna revisit how to use Templates?
http://en.wikipedia.org/wiki/Wikipedia:Template_namespace