Patricia Barden | 1 Feb 2010 19:51
Favicon

"File does not exist" error messages in Apache error log

Hello:

I'm having a persistent problem with my wiki. Daily, the Apache error  
log is showing tons of error messages like the following:

www.mywiki.org [Sun Jan 31 23:11:23 2010] [error] [client  
67.142.163.20] File does not exist: /path/to/wiki/mywiki/sort_up.gif,  
referer: http://www.mywiki.org/index.php?title=A_Page_On_My_Wiki
www.mywiki.org [Sun Jan 31 23:11:23 2010] [error] [client  
67.142.163.20] File does not exist: /path/to/wiki/mywiki/ 
sort_down.gif, referer: http://www.mywiki.org/index.php?title=A_Page_On_My_Wiki
www.mywiki.org [Sun Jan 31 23:11:23 2010] [error] [client  
67.142.163.20] File does not exist: /path/to/wiki/mywiki/ 
sort_none.gif, referer: http://www.mywiki.org/index.php?title=A_Page_On_My_Wiki
www.mywiki.org [Sun Jan 31 23:11:23 2010] [error] [client  
67.142.163.20] File does not exist: /path/to/wiki/mywiki/bullet.gif,  
referer: http://www.mywiki.org/index.php?title=A_Page_On_My_Wiki
www.mywiki.org [Sun Jan 31 23:11:23 2010] [error] [client  
67.142.163.20] File does not exist: /path/to/wiki/mywiki/headbg.jpg,  
referer: http://www.mywiki.org/index.php?title=A_Page_On_My_Wiki
www.mywiki.org [Sun Jan 31 23:11:23 2010] [error] [client  
67.142.163.20] File does not exist: /path/to/wiki/mywiki/ 
file_icon.gif, referer: http://www.mywiki.org/index.php?title=A_Page_On_My_Wiki
www.mywiki.org [Sun Jan 31 23:11:23 2010] [error] [client  
67.142.163.20] File does not exist: /path/to/wiki/mywiki/ 
lock_icon.gif, referer: http://www.mywiki.org/index.php?title=A_Page_On_My_Wiki
www.mywiki.org [Sun Jan 31 23:11:23 2010] [error] [client  
67.142.163.20] File does not exist: /path/to/wiki/mywiki/ 
mail_icon.gif, referer: http://www.mywiki.org/index.php?title=A_Page_On_My_Wiki
www.mywiki.org [Sun Jan 31 23:11:23 2010] [error] [client  
(Continue reading)

Platonides | 1 Feb 2010 23:13
Picon

Re: api.php action=edit problem badtoken

Tim McKenna wrote:
> Hi,
> I went through the sample steps in the API
> example<http://www.mediawiki.org/wiki/API:Edit_-_Create%2526Edit_pages#Example>
> on using the api to edit a page:
> 
> 1. login your bot: ( I just used my admin login) - it succeeds
> 2. get a token - it suceeds
> 3. post to api.php - this is the form I
> use<http://pathboston.com/forms/mw/append21.html>- after I get the
> token I replace the +\ with %2B%5C

Wrong.
All form items must be urlescaped. That process will convert +\ to
%2B%5C, spaces to %20, etc.
Process each value, do not perform blind string replaces.

Since you are using a web form, when submitting *your browser already
urlescapes it*. So you must place the original text.
Thus, you are sending the token ababab%2B%5C (sent as ababab%252B%255C)
instead of ababab+\
Platonides | 1 Feb 2010 23:17
Picon

Re: "File does not exist" error messages in Apache error log

Patricia Barden wrote:
> Hello:
> 
> I'm having a persistent problem with my wiki. Daily, the Apache error  
> log is showing tons of error messages like the following:

You mean the file http://www.mywiki.org/skins/monobook/Opera6Fixes.css
does not exist? It should.
Are you using a custom stylesheet?
Do you have some url rewriting?

Also check http://www.mediawiki.org/wiki/Manual:$wgStylePath if you have
changed it on localsettings.php
Platonides | 1 Feb 2010 23:44
Picon

Re: Suggestion: Meta tag for description for search engines

Eric K wrote:
> 70% of web traffic on any page of my wiki (I assume the same is true for most other wikis and sites) comes from a
search engine. In search results, people see two things and use them to decide in a few seconds whether to
click on the link or not: 
> 1- page title
> 2- meta tag description (if defined) OR the first sentence of the page.
>  
> #1, the page title is fine in Mediawiki. It is: {{PAGENAME}} - "the wiki name".
> #2 is not right. For example if we search "America", we see:
> - "This article is about the United States of America. For other uses of terms redirecting here, see US
(disambiguation), USA (disambiguation), ..."
> Ideally this should be something that the editors put into the page like other article text.Let them
handle the description such as "An article about the USA, its history, government and politics, culture,
economy and other topics". This is better than the disamb. notice that comes up currently in search.
>  
> We can install an external extension to define meta description however this should be a built-in feature
of Mediawiki where people should be able to use: <metadesc> for making sure our search engine results are
what we want them to be.
>  
> Eric

I'm not sure it's a good idea. This way  And it isn't that bad. You
search for America and see that it's about America, the United States of
America.

You could have a different disambiguation convention on your site.
I agree though that those texts shouldn't appear if you don't come via a
redirection.

For people wanting metas:
(Continue reading)

Philipp Lies | 2 Feb 2010 09:47

Redirect to index.php/Main_Page invalidates url

Hi,

I have a problem with MediaWiki 1.15. Mediawiki is installed on server A 
which is an apache2 server. Accessing MediaWiki via:
http://A/mediawiki
works, the url is correctly redirected to
http://A/mediawiki/index.php/Main_Page

Now here is the problem. Server A is externally accessible via
http://www.somedomain.com/somefolder/

Now when I try to access the wiki from the outside world via
http://www.somedomain.com/somefolder/mediawiki/
I also get redirected to
http://internal-ip-of-server-A/mediawiki/index.php/Main_Page

which will obviously not work. Accessing the page directly via
http://www.somedomain.com/somefolder/mediawiki/index.php/Main_Page

loads the page but without the style, so just vanilla html style.

Is there some way to tell MediaWiki to check which url was used and that 
it should use this as base url?

Cheers

Philipp
Maximiliano Milicich | 2 Feb 2010 14:01
Picon

Re: Making only a part of the content visible for a group of users

Thanks, Platonides...the thing is that we've never used any
user.namespaces...
We're going to check it out, too

Thanks
Regards

MA_Xx

On Thu, Jan 28, 2010 at 8:03 PM, Platonides <Platonides <at> gmail.com> wrote:

> Maximiliano Milicich wrote:
> > I see...
> > Thank you !
> >
> > In fact, thanks to the clue you gave me, I've just found this extension
> > http://www.mediawiki.org/wiki/Extension:WhiteList
> >
> > We're gonna check it out to see if it's what we're needing.
> >
> > Any other options ?
> >
> > Thanks indeed
> >
> > Regards
> > MA_Xx
>
>
> You may prefer to use Lockdown
> <http://www.mediawiki.org/wiki/Extension:Lockdown> and have public a
(Continue reading)

Eric K | 2 Feb 2010 14:04
Picon
Favicon

Suggestion: Meta tag for description for search engines

[sorry, resending, got mistakenly posted in a reply thread earlier]
 
70% of web traffic on any page of my wiki (I assume the same is true for most other wikis and sites) comes
from a search engine. In search results, people see two things and use them to decide in a few seconds
whether to click on the link or not: 
1- page title
2- meta tag description (if defined) OR the first sentence of the page.
 
#1, the page title is fine in Mediawiki. It is: {{PAGENAME}} - "the wiki name".
#2 is not right. For example if we search "America", we see:
- "This article is about the United States of America. For other uses of terms redirecting here, see US
(disambiguation), USA (disambiguation), ..."
Ideally this should be something that the editors put into the page like other article text.Let them handle
the description such as "An article about the USA, its history, government and politics, culture,
economy and other topics". This is better than the disamb. notice that comes up currently in search.
 
We can install an external extension to define meta description however this should be a built-in feature
of Mediawiki where people should be able to use: <metadesc> for making sure our search engine results are
what we want them to be.
 
Eric

      
Brent Palmer | 2 Feb 2010 15:29

Wikipedia mirror speedup

      Hi,

    We are creating an off-line English Wikipedia mirror. By off-line, I
    only mean that it is not available from the Internet; only from a
    LAN which is not connected to the Internet. This will be deployed in
    locations where there is little or no Internet access (schools and
    universities in Africa for example). More info:
    http://en.wikipedia.org/wiki/EGranary_Digital_Library

    The machines hosting the mirror are often lower-end machines without
    a lot of spare memory and we are tight on disk space. Generally
    there won't be a lot of traffic though. Also, the Wikipedia mirror
    is read-only; The main problem is that it is incredibly slow (even
    on our relatively fast server). Articles like Abraham_Lincoln can
    take several minutes. The longer the article and the more templates
    it uses, the longer it takes. I know that this is a common problem
    that people ask about for mediawiki installations and Wikipedia uses
    various levels of caching. Because of the above constraints, using
    Squid and the file cache don't really seem like viable options. We
    tried PHP accelerators without much benefit.  Looking at the
    profiler log, it seems as if the the most time is spent by the
    parser. Pages speed up considerably after the initial access when we
    have the parser cache set to the CACHE_DB.

    The plan:
    We want to deliver the Wikipedia in a form that makes it as fast as
    possible for the end user. The plan is to try and pre-cache all the
    articles. In other words, set the parser cache not to expire at all
    and try to hit all the articles one time to set the parser cache
    before we deploy the mirror. The assumption is that this will
(Continue reading)

Patricia Barden | 2 Feb 2010 18:47
Favicon

Re: "File does not exist" error messages in Apache error log

On Feb 2, 2010, at 6:00 AM, mediawiki-l-request <at> lists.wikimedia.org  
wrote:
> Message: 3
> Date: Mon, 01 Feb 2010 23:17:00 +0100
> From: Platonides <Platonides <at> gmail.com>
> Subject: Re: [Mediawiki-l] "File does not exist" error messages in
> 	Apache	error log
> To: mediawiki-l <at> lists.wikimedia.org
> Message-ID: <hk7jsq$eff$2 <at> ger.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1
>>
>>> Hello Platonides:
>
> Patricia Barden wrote:
>> Hello:
>>
>> I'm having a persistent problem with my wiki. Daily, the Apache error
>> log is showing tons of error messages like the following:
>
>
> You mean the file http://www.mywiki.org/skins/monobook/Opera6Fixes.css
> does not exist? It should.
>>> The files do exist and they exist in the correct place but the  
>>> referring page can't find them.
> Are you using a custom stylesheet?
>>> No, we are using Monobook theme pretty much straight out of the  
>>> box -- we've changed the logo but have not touched the location of  
>>> the default stylesheets and are not using a custom stylesheet.
> Do you have some url rewriting?
>>> Actually, we still using "ugly" urls.
(Continue reading)

Picon

Database Lost

Hi,

I have a wiki and the database has been lost for an accident. Now, I
must create a new schema, but I don't know how attach this one to the
wiki to create the wikitables another time. Thanks!

Gmane