And when query data corrupting posted forms becomes an issue, what happens?
Remember the old quote: "Don't fix what is not broken."
MediaWiki does all the handling of the urls anyways, there is no gain in speed performance or anything at all by hunting through the code and removing action="..." where it might be possible to get away with using the default self-reference. Rather it could make an unexpected and potentially hazardous bug crop up when there was no positive reason for creating that bug.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://nadir-seen-fire.com] -Nadir-Point (http://nadir-point.com) -Wiki-Tools (http://wiki-tools.com) -MonkeyScript (http://monkeyscript.nadir-point.com) -Animepedia (http://anime.wikia.com) -Narutopedia (http://naruto.wikia.com) -Soul Eater Wiki (http://souleater.wikia.com)
jidanni@jidanni.org wrote:
Gentlemen, I notice several places where the code makes <form action="..."> URIs where the result would just be the default URI anyway. Perhaps one could just get away with <form action=""> in those cases? http://www.thefutureoftheweb.com/blog/use-empty-form-action-submit-to-curren... http://www.google.com/search?q=HTML+form+action+empty http://www.carehart.org/blog/client/index.cfm/2007/1/2/form_self_post