Extension:CategoryIntersection
From MediaWiki.org
|
Release status: unknown |
|||
|---|---|---|---|
| Implementation | Special page, Search, Data extraction | ||
| Description | Maintains a table with hash values for category intersections within a page to allow searching category intersections | ||
| Author(s) | Magnus ManskeTalk | ||
| License | GPL | ||
| Download | Download snapshot Subversion [Help] |
||
|
|||
|
Check usage (experimental) |
|||
[edit] What can this extension do?
This template creates a special page - Special:CategoryIntersection. You put in a list of categories to this page (separated by newlines), and the extension returns the articles that are in all the categories listed. It stores hashes of what categories a page is in in a separate table in db to (I assume) make things efficient. Somewhat akin to the DynamicPageList extensions (but probably much more efficient).
Note this extension might not handle a single page being in a large number of categories very well.
[edit] Installation
To install this extension, do the following:
- add the following to LocalSettings.php:
-
require_once("$IP/extensions/CategoryIntersection/CategoryIntersection.php");
-
- Run the update.php maintenance script
- Run the refreshLinks.php maintenance script (Warning: This may take a long time if you have a lot of pages on your wiki. If you don't do this step, the extension will only find pages that had their categories added after the extension was installed)
Categories:
- Extensions with unknown status
- Special page extensions
- Search extensions
- Data extraction extensions
- Extensions in Wikimedia version control
- LinksUpdate extensions
- ArticleDelete extensions
- LoadExtensionSchemaUpdates extensions
- ParserTestTables extensions
- All extensions
- 2012 Q1 Extension Page Review Drive
- Category intersection extensions
