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.php

I don't think this is right.

-----Original Message-----
From: Platonides <[email protected]>
To: [email protected]
Date: Tue, 10 Nov 2009 00:10:07 +0100
Subject: Re: [Wikitech-l] editpage error


Roan Kattouw wrote:
> 2009/11/9 李琴 <[email protected]>:
>>   <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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to