Difference between revisions of "Notes"
From Critiques Of Libertarianism
Line 15: | Line 15: | ||
* A few templates create debugging categories, which are hidden with __HIDDENCAT__. | * A few templates create debugging categories, which are hidden with __HIDDENCAT__. | ||
* Page building services written in JavaScript that automatically construct wiki page code and open the page to paste it into. [[http://dl.dropbox.com/u/20086520/js/new_external.html Indexable Page/Quote]] | * Page building services written in JavaScript that automatically construct wiki page code and open the page to paste it into. [[http://dl.dropbox.com/u/20086520/js/new_external.html Indexable Page/Quote]] | ||
− | * A | + | * A short hack to the mediawiki OutputPage.php code that makes the categories links at the bottom of each page go directly to a main namespace page instead of a category namespace page when the main namespace page exists. |
+ | <code> | ||
+ | # MRH Make category listings at bottom of page go directly to page with the | ||
+ | # MRH name of the category. Can still use the Go box to get to the categories. | ||
+ | # MRH $title = Title::makeTitleSafe( NS_CATEGORY, $category ); | ||
+ | $title = Title::makeTitleSafe( NS_MAIN, $category ); | ||
+ | if ( ! $title->isknown() ) { | ||
+ | $title = Title::makeTitleSafe( NS_CATEGORY, $category ); | ||
+ | } | ||
+ | # MRH end of changes | ||
+ | </code> | ||
+ | Thus, no sending people to category pages or having category pages redirect to regular pages. You can still go to Category pages directly. | ||
The end result is: | The end result is: |