If I verify the "..\includes\update\update.php" to
"$wgScriptPath/extensions/update/update.php"
and move update file to extensions.The address bar will show that
http://localhost/mediawiki/index.php/$wgScriptPath/extensions/update/update…
I don't think this is right.
-----Original Message-----
From: Platonides <Platonides(a)gmail.com>
To: wikitech-l(a)lists.wikimedia.org
Date: Tue, 10 Nov 2009 00:10:07 +0100
Subject: Re: [Wikitech-l] editpage error
Roan Kattouw wrote:
2009/11/9 李琴 <qli(a)ica.stc.sh.cn>cn>:
<form
action="..\includes\update\update.php" method="post"
id="updateform"><div>
* Replace the backslashes by forward
slashes
* Verify that ../includes/update/update.php is the correct relative
path to update.php
Being for the sidebar, it won't be. The .. is very likely wrong (path is
relative to the entry point). And using tiny urls, it will break with
articles like [[Foo/bar]].
Use $wgScriptPath/includes/update/update.php Or better yet,
$wgScriptPath/extensions/update/update.php instead of touching includes
folder.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l