I have a template for images, which checks if they exist, but it doesn't
work for images retrived from commons via ForeignAPIRepo. The code:
{{ #ifexist:Image:Stylised Lithium Atom.svg | Yup | Nope }}
How can I achieve a correct result from the template also for foreign
file repos?
Regards,
// Rolf Lampa
Hi there,
I just set up a mediawiki instance, and I wanted to modify the
Special:Search no match behaviour slightly. I'd like to do the following:
1) check the title term for being a particular format, e.g. it is
exactly 13 digits (UPC barcode format)
2) if the title is not UPC format proceed as normal
3) if the title is UPC format, automatically create a page with default
contents and display that to the user
I think I know enough PHP to check the title term is a particular
format, but I am not sure how to create a page with particular default
contents. Does anyone have any suggestions?
I'd be very interested in any pointers to tutorials or overviews of the
wikimedia source internals.
Ideally I'd like to avoid any coding, but I haven't yet seen a way to
set default contents for new pages or adjust search match behaviour by
setting parameters - if there is some way to do this I'd love to hear
about it..
Many thanks in advance
CHEERS> SAM
I'm very happy to announce that the Wikimedia Foundation is now opening
hiring for the Wikipedia Usability Initiative!
Realized by a grant from the Stanton Foundation, the goal of this
initiative is to measurably increase the usability of Wikipedia for new
contributors by improving the underlying software on the basis of user
behavioral studies, thereby reducing barriers to public participation.
We have three positions open, all local in San Francisco. See the linked
pages for details and how to submit your CV:
http://wikimediafoundation.org/wiki/Job_openings/Interaction_Designer_(proj…http://wikimediafoundation.org/wiki/Job_openings/Sr._Software_Developer_(pr…http://wikimediafoundation.org/wiki/Job_openings/Software_Developer_(projec…
The new team will be lead by project manager Naoko Komura, who was very
helpful in organizing localization and translations for our recent
fundraiser, and will coordinate closely with me and the rest of
Wikimedia's core developers. Also joining the project will be Wikimedia
staff developer Trevor Parscal.
As always, all of Wikimedia's software development is open-source, and
we expect to be able to roll improvements into the live Wikipedia
environment and general MediaWiki releases over the course of the project.
-- brion vibber (brion @ wikimedia.org)
CTO, Wikimedia Foundation
San Francisco
Hi,
I've recently moved my wikis from shared hosting to an dedicated server.
All databases has been moved and are working.
I'm using the following setup:
One source-Directory for the source code: /var/www/DOMAIN.org/source/w/
I differentiate between wikis using the $_SERVER['SERVER_NAME'] variable
to point to the different databases.
My VHost configuration looks like this:
<VirtualHost *:80>
ServerName de.DOMAIN.org
DocumentRoot /var/www/DOMAIN.org/source/w/
Alias /wiki /var/www/DOMAIN.org/source/w/index.php
</VirtualHost>
For pretty URLs, I've setup the following in my LocalSettings.php:
# Short-URLs
$wgScriptPath = '/w'; # Path to the actual files. This should
already be there
$wgArticlePath = '/wiki/$1'; # Virtual path. This directory MUST be
different from the one used in $wgScriptPath
$wgUsePathInfo = true;
Everything works fine except the images and the skins. There aren't
going to be loaded.
Any advices how to make them work too?
Thanks in advance and best regards,
Marcus Stöhr
Just wondering if anyone has any idea how I can resolve this or any
pointers of pages that would help me as I'm pulling hair out over it.
Charlie
-----Original Message-----
When logged in as WikiSysop (the only user on the system so far) and I
try and upload an image in my Wiki (version 1.12.0) I get the following
message:-
"File uploads are disabled on Systems."
I have followed the instructions at:-
http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads
I have confirmed the following settings:-
file_uploads = On
Check Apache aliases - I have not been able to check, would this cause
the above message?
www.mydomain.com/wiki/images is set to 755
$wgEnableUploads = true;
As far as I can see there are no permissions set in LocalSettings.php in
fact no variables at all with the text "permissions" in them.
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );
upload_max_filesize is 8Mb
Can anyone help me sort this. Many Thanks
I hope this isn't a FAQ -- I did take the time to search through the
last year's worth of email, and a quick search of MediaWiki.org didn't
return anything obvious that didn't require an extension.
Is there a way to include a listing of pages that are in a particular
Category?
[[:Category:Xxx]] produces a link to the page Category:Xxx (of course)
{{:Category:Xxx}} includes the text of the Category:Xxx page, but NOT
the listing of pages in category xxx.
If this can only be done with an extension -- there seem to be a few
-- care to make a recommendation? All I want is the page titles, one
per line.
:::: I'm working on a plan for spontaneity. ::::
:::: Jan Steinman http://www.VeggieVanGogh.com ::::
I'm working on an upgrade from a 1.4.12 installation to 1.13.3 and the
upgrade1_5.php maintenance script is failing during "Migrating oldimage
table to oldimage_temp...".
As a test, I was able to run the upgrade1_5.php script from version 1.6.10
and it completes without error, but we're having some charset translation
problems when the update is complete so I'd like to see if the more recent
1.13.x version provide the correct output.
PHP: 5.2.0-8+etch13
MySQL: 5.0.32-Debian_7etch8
This is on a test server box duplicated from a production server as a test
run for the upgrade. The test server is running without problems under
1.4.12 before the upgrade. So I have it backed up but I'm not sure how to
proceed at this point.
log excerpt:
----
...
2009-01-07 04:02:18: 99.52% done on user_temp; ETA 2009-01-07 04:02:18
[61300/61598] 2104.96/sec
2009-01-07 04:02:18: 99.68% done on user_temp; ETA 2009-01-07 04:02:18
[61400/61598] 2105.42/sec
2009-01-07 04:02:18: 99.84% done on user_temp; ETA 2009-01-07 04:02:18
[61500/61598] 2106.07/sec
wikidb-mw_ 2009-01-07 04:02:18: 100.00% done on user_temp (last chunk 98
rows).
wikidb-mw_ 2009-01-07 04:02:18: Done converting user.
wikidb-mw_ 2009-01-07 04:02:18: Migrating image table to image_temp...
Warning: Missing argument 1 for UnregisteredLocalFile::getImageSize(),
called in
/valve/www/developer.valvesoftware.com/w/maintenance/FiveUpgrade.inc on line
728 and defined in
/valve/www/developer.valvesoftware.com/w/includes/filerepo/UnregisteredLocalFile.php
on line 77
Warning: Missing argument 1 for UnregisteredLocalFile::getImageSize(),
called in
/valve/www/developer.valvesoftware.com/w/maintenance/FiveUpgrade.inc on line
728 and defined in
/valve/www/developer.valvesoftware.com/w/includes/filerepo/UnregisteredLocalFile.php
on line 77
...
...
Warning: Missing argument 1 for UnregisteredLocalFile::getImageSize(),
called in
/valve/www/developer.valvesoftware.com/w/maintenance/FiveUpgrade.inc on line
728 and defined in
/valve/www/developer.valvesoftware.com/w/includes/filerepo/UnregisteredLocalFile.php
on line 77
Warning: Missing argument 1 for UnregisteredLocalFile::getImageSize(),
called in
/valve/www/developer.valvesoftware.com/w/maintenance/FiveUpgrade.inc on line
728 and defined in
/valve/www/developer.valvesoftware.com/w/includes/filerepo/UnregisteredLocalFile.php
on line 77
wikidb-mw_ 2009-01-07 04:02:21: 100.00% done on image_temp (last chunk 20
rows).
wikidb-mw_ 2009-01-07 04:02:21: Done converting image.
wikidb-mw_ 2009-01-07 04:02:21: Migrating oldimage table to
oldimage_temp...
...
...
Warning: Missing argument 1 for UnregisteredLocalFile::getImageSize(),
called in
/valve/www/developer.valvesoftware.com/w/maintenance/FiveUpgrade.inc on line
728 and defined in
/valve/www/developer.valvesoftware.com/w/includes/filerepo/UnregisteredLocalFile.php
on line 77
2009-01-07 04:02:21: 27.32% done on oldimage_temp; ETA 2009-01-07 04:02:21
[100/366] 1448.58/sec
Warning: Missing argument 1 for UnregisteredLocalFile::getImageSize(),
called in
/valve/www/developer.valvesoftware.com/w/maintenance/FiveUpgrade.inc on line
728 and defined in
/valve/www/developer.valvesoftware.com/w/includes/filerepo/UnregisteredLocalFile.php
on line 77
Warning: Missing argument 1 for UnregisteredLocalFile::getImageSize(),
called in
/valve/www/developer.valvesoftware.com/w/maintenance/FiveUpgrade.inc on line
728 and defined in
/valve/www/developer.valvesoftware.com/w/includes/filerepo/UnregisteredLocalFile.php
on line 77
...
...
Warning: Missing argument 1 for UnregisteredLocalFile::getImageSize(),
called in
/valve/www/developer.valvesoftware.com/w/maintenance/FiveUpgrade.inc on line
728 and defined in
/valve/www/developer.valvesoftware.com/w/includes/filerepo/UnregisteredLocalFile.php
on line 77
----
At this point the script halts and no more output is given. Then I tried
again by trucate the image, imagelinks, and imageold tables, and the script
completed without error. Though obviously that is not a workable final
solution.
Any suggestions on other information I can provide that would be helpful
diagnose the problem? The live 1.4.12 production server is public, but the
test server that I'm trying to upgrade is not.
--
View this message in context: http://www.nabble.com/upgrade1_5.php-failing-on-1.13.3-tp21364164p21364164.…
Sent from the WikiMedia General mailing list archive at Nabble.com.
Folks,
Is it possible to use MediaWiki with Kerberos?
I am currently using the MediaWiki HTTP_AUTH plugin and authenicating
via Apache (which uses mod_auth_kerb as it's backend). This works find
passing a password, which is checked against the Kerberos server because
Apache authenicates and PHP provides the userID via
$_SERVER[PHP_AUTH_USER]. This is then used by HTTP_AUTH.
The problem arsies if you do a kinit and use your kerberos ticket to
authenticate with Apache. For some reason, although authentication is
sucessful PHP does not put the userID into $_SERVER[PHP_AUTH_USER].
Therefore HTTP_AUTH does not get the userID and log you in.
So, I guess the questions are:
1) Why doesn't $_SERVER[PHP_AUTH_USER] get populated (I understand it's
something to do with different HTTP headers being used between password
auth (which is just BASIC auth) and ticket negociation)?
2) Is there a way that PHP can detect if Apache has carried out a
sucessful Kerberos authentication?
3) Is there another/better way to make MediaWiki play with Kerberos? I
understand there's a not terribly free as in Freedon PHP extention that
allows PHP to play with Kerberos but I'd like to steer clear of it.
Mike.
Hi,
is there a comprehensive, reliable, more profound description of the logical steps the internal search engine (or parser before the engine) undertakes to define:
- what is recognized as a single word in an entered search string (blanks - OK, but what about slash, back slash, hyphen, period?) ?
- what are "similar words" (closeness of words) ?
Different sources (www.mediawiki.org, xy.wikipedia.org/wiki/Help:Search, ...) tell more or less and then different things too.
:-(
Thank you all around - who helps.
--
Ich freue mich auf Deine/Ihre Antwort!
Uwe (Baumbach)
U.Baumbach(a)web.de
_______________________________________________________________________
Sensationsangebot verlängert: WEB.DE FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K15039B7069a
Hi, I just submitted my website to a directory and got this warning: The URL
you entered sent a redirect *Location: HEADER* response. Below are the
redirect *Location: HEADER* responses sent by your Web server which the
analyzer followed in the order received:
Redirect URL: *http://www.dummipedia.org/Main_Page*
I try to delete the redirect as follows by putting in the # symbol:
RewriteEngine On
# RewriteRule
^[^:]*\.(php|src|jpg|jpeg|png|gif|bmp|css|js|inc|phtml|pl|ico|html|shtml)$ -
[L,NC]
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^(.+)$ /index.php?title=$1 [L,QSA]
I ended up not able to even access my website! Is it advisable for me to
change now, after I have gathered quite a number of backlinks? I see most
wikis do use a short name.
PM Poon
**
*
*