李琴 wrote:
> 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.

You're outside the PHP section, so $wgScriptPath isn't being replaced.

You would do something like:
<form action="<?php echo "$wgScriptPath/extensions/update/update.php";
?>" method="post" id="updateform">

and move update.php to a folder called update on extension folder.


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to