https://bugzilla.wikimedia.org/show_bug.cgi?id=32621
--- Comment #3 from Voyagerfan5761 / dgw <[email protected]> 2011-11-28 03:26:49 UTC --- As of r104385 action paths defined in $wgActionPaths are still being intercepted as article titles. Setting $wgActionPaths['edit'] = "/edit/$1": Page is treated as if the title is "Edit/$1", and displayed (though non-existent). Setting above plus $wgActionPaths['view'] = "/view/$1": Redirect loop to "/view/View/View/View/View/View/View/View/View/View/View/View/View/View/View/View/View/View/View/View/View/View/$1" I might not be setting the options correctly; my article-path-related LocalSettings.php code is below. Leaving as Resolved Fixed for now. ## The URL base path to the directory containing the wiki; ## defaults for all runtime URL paths are based off of this. ## For more information on customizing the URLs please see: ## http://www.mediawiki.org/wiki/Manual:Short_URL $wgScriptPath = ""; $wgScriptExtension = ".php"; $wgScript = "$wgScriptPath/index.php"; $wgArticlePath = "/$1"; # Action paths $actions = array( /*'view', causes redirect loop*/ 'edit', 'watch', 'unwatch', 'delete','revert', 'rollback', 'protect', 'unprotect', 'markpatrolled', 'render', 'submit', 'history', 'purge' ); foreach ( $actions as $action ) { $wgActionPaths[$action] = "/$action/$1"; } // $wgArticlePath = $wgActionPaths['view']; # causes redirect loop -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
