I am writing a custom extension. What is the best way in PHP to get the
current page's/article title in PHP? I've seen that Title::getText()
will work but I've also seen something called MagicWord with a PAGENAME
attribute ...
Something that will work even when doing a 'preview'.
Thanks,
Jc
Dear friends
Thank you for all the input concerning my problem with the Umlaut in German
language on Wikimedia. I tryed all the problem solving inputs you send to
me, but the problem still exists. My problem ist not on my database. There
it works perfectly. The problem is on Wikimedia. I suppose that the problem
could be due to my hosting provider? Mai be a version conflict? I would very
appreciate your further inputs to my problem. Thank you in advance.
Andrea
Folks,
Sorry for poking my head in on the list here, but I have probably been
wracking Google with variants of search terms for several hours now
with absolutely no success.
I have configured MediaWiki for local use on my machine for a local,
personal wiki. (What can I say ... I *love* the interface.) However,
I am really trying to do something and unsure if I can.
I use a Unix application called Remind that takes care of my
calendaring needs. (I'm on a Mac OS X system.) I have the system set
up via cron to output today's and tomorrow's schedules to text files,
and I'd like to include those in the wiki text of my main page.
However, that text will change dynamically whenever I alter my
calendar, so a one-time import is obviously non-optimal. Local links
is a fallback position but one I'd like to avoid if possible.
So how do I include the text of a local file in a MediaWiki entry?
Any help would be much appreciated. As you may tell, I'm sort of new
to MediaWiki.
Mike
Is it possible to have mediawiki load content from an external file that
resides on the same server? Something akin to an include, not an http URL.
If having mediawiki load a file as content is not possible, is it
possible to have it load content given a URL (http or other)?
I ask because I have some dynamically generated content I want on my
mediawiki but the content changes almost every day.
Thanks,
Jc
The wikipedia-interwiki.sql is uptodate... right from the CVS...
All the link themself are working... But they are not in the tool bar
on the left... And the categorie link are on the top of article as they
are supposed to be at the end of the article, in a blue box... But the
link work !!!
Any other idea ???
Le 24-Nov-04, à 3:23 PM, mediawiki-l-request(a)Wikimedia.org a écrit :
> You need to set up the interwiki prefixes for Wikipedia's in-project
> interwiki links. These are not installed by default because, usually,
> you're not Wikipedia.
>
> There's a sample (probably not 100% up to date) in
> maintenance/wikipedia-interwiki.sql
>
> -- brion vibber (brion @ pobox.com)
Au Plaisir !
--
David Fredette
"Je viens d’apprendre que les ventes d’automobiles neuves ont encore
baissé de 4%. Encore un coup des pirates qui téléchargent des voitures
sur Internet !"
- Jean-François, courrier des lecteurs
du Télérama -
I would like to know what you think is he best way to do a list of links
with description ?
I did for example:
* LaTeX - Fortgeschrittene Anwendungen
[ftp://ftp.fernuni-hagen.de/pub/pdf/urz-broschueren/broschueren/a0279510.pdf]
* LaTeX Kurzbeschreibung
l2kurz.pdf [http://www.ctan.org/tex-archive/info/lshort/german/l2kurz.pdf]
but that is complete unsatifactory.
1. The ftp:// ist displayed completely, whereas with http:// only a
numbered mark is shown - I need the standard HTML Behavior instead:
Link description with link behind the description.
2. The List is left with the next line. So that the next item is not
indented anymore. And there seems to be no way to put everything in one <p>
tag, as one would do in HTML ?
Please help me to get a decent link list layout with mediawiki. (How to do
this in HTML with CSS is clear...)
What I did in the past with simple HTML: UL LI environments and CSS could be
seen here:
http://www.cqa.de/partner/http://www.matthiaspospiech.de/latex/links/
Matthias
--
---------------------------------
www.matthiaspospiech.de
I have a program I use to generate documentation for a project of mine.
I've been putting all the generated documentation into my wiki but then
I started wondering if it might be possible to somehow pipe the programs
output into mediawiki automatically.
Has anyone worked on such a tool?
Thanks,
Jc
PS please excuse my company's disclaimer ...
Note: This e-mail contains privileged and confidential information and is for the sole use of the intended recipient(s). If you are not an intended recipient, you are hereby kindly requested to refrain from printing, copying, or distributing the information contained herein. Furthermore, any other use of the information contained herein is strictly prohibited. If you have received this transmission in error, please kindly notify the sender immediately and destroy all copies of the original message.
Hi...
First this statement: I have no shell access..
Ok, I download the TeX binairy from the sourceforge page, I downloaded
imagemagick en chmodded it to 777 (the convert file) so, when does the
convert do its work? I enabled it in the LocalOptions.php file and
uploaded a big image but it does not resize the image.
Also I get this error:
PNG conversion failed; check for correct installation of latex, dvips,
gs, and convert
I have no dvips, and I cannot find it (a binairy)
Gs is in /usr/bin or something like that.
There are files with .tex extension in /images/tmp but not in
images/math
Does someone know what is going on?
Thanks!
Jonas
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.786 / Virus Database: 532 - Release Date: 29/10/2004
Thanks for the response. However,
"Try setting the ServerName directive in httpd.conf" - I cannot find the
httpd.conf file
Also, "$wgServer variable in LocalSettings.php like this:
$wgServer = 'http://myrealhostname.myrealdomain.com'" I cannot find
this variable as well.
Any suggestions?
Thanks,
Simon
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Brion Vibber
Sent: Monday, November 22, 2004 3:05 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] After saving the changes,it doesn't go back
to the original page...
On Nov 22, 2004, at 2:15 PM, Simon Tse wrote:
> e.g. say the page I am trying to update is
> /abc/wiki/index.php/Main_Page, then, after I submitted the changes,
> instead of going back to /abc/wiki/index.php/Main_Page, I am stuck in
a
> page /abc/wiki/index.php?title=Main_Page&action=submit with the "page
> cannot be displayed" error. However, the changes I submitted was made
> if
> to go to /abc.wiki/index.php/Main_Page and view the page.
Can you confirm that the web server is reporting the correct hostname?
It's annoyingly common for Apache to think it's running on "localhost"
or a non-fully-qualified or internal-only hostname, and this invalid
hostname gets handed to PHP and we use it when constructing redirect
headers.
Try setting the ServerName directive in httpd.conf, or override the
$wgServer variable in LocalSettings.php like this:
$wgServer = 'http://myrealhostname.myrealdomain.com';
(You need the http:// or https:// on the front here.) You might have
similar problems if running on a non-standard port over some kind of
port redirect mechanism or proxy such that the web server doesn't know
what port number the clients use.
If this doesn't clear it up, you might use the 'Live HTTP Headers'
extension for Mozilla or Firefox, or a network traffic sniffer capable
of interpreting HTTP (like Ethereal) to double-check exactly what's
being sent between the browser and the server. I find the Live HTTP
Headers extension to be an invaluable web debugging tool, and it's very
easy to switch on when you need it: http://livehttpheaders.mozdev.org/
-- brion vibber (brion @ pobox.com)