Last modified: 2010-05-15 15:48:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9049 - One Articel redirects to 404 all other works
One Articel redirects to 404 all other works
Status: CLOSED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Redirects (Other open bugs)
1.9.x
All Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.theologiewiki.de/wiki/Code...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-21 13:25 UTC by André Mondri
Modified: 2010-05-15 15:48 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description André Mondri 2007-02-21 13:25:18 UTC
Hi,

our Articel redirects into a 404. 

The full URL : http://www.theologiewiki.de/wiki/index.php?title=Codex_Iuris_Canonici 
works .

The correct URL is : http://www.theologiewiki.de/wiki/Codex_Iuris_Canonici and fails.

Every other URL like http://www.theologiewiki.de/wiki/Martin_Luther as Example works 
correct or some Thing like http://www.theologiewiki.de/wiki/Martin_Luther_Test .


I have deleted the Article and created him again. Same Result.

My Rewrite Rule : 

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*[^wiki/])/?$ /wiki/index.php?title=$1 [PT,QSA,L]

my LocalSettings.php edit for ShortUrl´s : 

$wgArticlePath = "/wiki/$1";

I think Article works before updating to 1.9.3 from 1.9.2 - but i am not really sure.

Attention : Don´t wonder why you are redirected to http://www.politikstube.de if URL 
fails. This is our 404 Errorpath.
Comment 1 André Mondri 2007-02-21 15:58:04 UTC
More Articles same Error : Dianetik, Esoterik, Isai, Isaak, Jesu Christi, Movimenti
Comment 2 Brion Vibber 2007-02-21 17:24:56 UTC
Offhand I would suspect you have either files of these names or additional
rewrite rules which are taking them, or some other local configuration problem.

A 404 response of this sort will come from the web server, not from the wiki, so
you need to check your web server's configuration.
Comment 3 André Mondri 2007-02-21 20:40:15 UTC
Brion - it is happened after Updating Wikipedia to 1.9.3 from 1.9.2 . This
morning all other Links worked. There is nothing else changed only the Corefiles
and a Update with the Installer.
Comment 4 André Mondri 2007-02-21 20:45:33 UTC
Brion - it is happened after Updating Wikipedia to 1.9.3 from 1.9.2 . This
morning all other Links worked. There is nothing else changed only the Corefiles
and a Update with the Installer.
Comment 5 Rob Church 2007-02-21 20:47:56 UTC
1. This is not a blocker
2. Does the problem occur if rewrite rules are disabled? If so, consult an
appropriate forum for support with this
Comment 6 André Mondri 2007-02-21 22:34:11 UTC
Not longer needed - i fixed it and updated the Instructions :

You can rewrite the URL, so the server will invisibly load
"w/index.php?title=article" for "wiki/article".
1. 	Edit or create .htaccess in public_html with the following content.

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?title=$1 [L,QSA]

'RewriteBase' defines where the rewrite will start; the example above will match
after 'domain.ext/~username'. If your wiki is just under public_html (ie,
domain.ext/wiki), remove the 'RewriteBase' line. 'RewriteCond' makes sure that
links to files (like stylesheets or images) are not rewritten, which can break
MediaWiki's formatting in some cases. 'RewriteRule' defines the rewrite; in the
example above, '^wiki/(.*)' will invisibly load 'w/index.php?title=$1', where
anything after 'wiki/' will replace '$1'.
2. 	Add or edit the following setting in LocalSettings.php. This causes the HTML
generated by MediaWiki to refer to "/wiki/Articlename" instead of the default.

$wgArticlePath = "$wgScriptPath/$1";  

The old ArticlePath Formatting in Instructions causes this Error.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links