Added @todo items
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 14 Sep 2011 17:15:07 +0000 (17:15 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 14 Sep 2011 17:15:07 +0000 (17:15 +0000)
includes/WikiPage.php

index 1e750f4..ffdf8f7 100644 (file)
@@ -98,6 +98,8 @@ class WikiPage extends Page {
         * (and only when) $wgActions[$action] === true. This allows subclasses
         * to override the default behavior.
         *
+        * @todo: move this UI stuff somewhere else
+        *
         * @return Array
         */
        public function getActionOverrides() {
@@ -1294,6 +1296,8 @@ class WikiPage extends Page {
        /**
         * Update the article's restriction field, and leave a log entry.
         *
+        * @todo: seperate the business/permission stuff out from backend code
+        *
         * @param $limit Array: set of restriction keys
         * @param $reason String
         * @param &$cascade Integer. Set to false if cascading protection isn't allowed.