diff --git a/inc/common.php b/inc/common.php
index 02ed2432be5eef888091762e2b15e711c60fc501..33da2523a4c3db139e9bf80c3c97a9a18b9d807c 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -495,12 +495,13 @@ function ml($id = '', $more = '', $direct = true, $sep = '&', $abs = false)
 }
 
 /**
- * Just builds a link to a script
+ * Returns the URL to the DokuWiki base script
+ *
+ * Consider using wl() instead, unless you absoutely need the doku.php endpoint
  *
- * @todo   maybe obsolete
  * @author Andreas Gohr <andi@splitbrain.org>
  */
-function script($script = 'doku.php') {
+function script() {
     return DOKU_BASE.DOKU_SCRIPT;
 }