Forgot to add the actual special file, whoops
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 24 Apr 2004 06:27:16 +0000 (06:27 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 24 Apr 2004 06:27:16 +0000 (06:27 +0000)
includes/SpecialSearch.php [new file with mode: 0644]

diff --git a/includes/SpecialSearch.php b/includes/SpecialSearch.php
new file mode 100644 (file)
index 0000000..f0a326b
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+# Token special page for marking search requests properly in the skin.
+# 
+# Copyright (C) 2004 Brion Vibber <brion@pobox.com>
+# http://www.mediawiki.org/
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or 
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# http://www.gnu.org/copyleft/gpl.html
+
+function wfSpecialSearch( $par ) {
+       global $wgOutput;
+       wfSearch( $par );
+}
+
+# Hey, it could be worse. It could be /bin/true on Solaris!
+
+?>
\ No newline at end of file