Extension:Auto Create Category Pages/fi
Auto Create Category Pages Julkaisustatus: vakaa |
|
---|---|
Toteutus | Sivutoiminto |
Kuvaus | Luo alaluokkasivuja automaattisesti |
Tekijä(t) | Dror S. [FFS] (maintainer), created by Merrick Schaefer,Mark Johnston Evan Wheeler & Adam Mckaig at UNICEF |
Viimeisin versio | 1.0.3 (2017-05-10) |
Yhteensopivuuskäytäntö | Master maintains backward compatibility. |
MediaWiki | 1.25+ (see #MediaWiki compatibility) |
Lisenssi | GNU General Public License 3.0 |
Lataa | README |
$wgAutoCreateCategoryStub |
|
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Voit kääntää Auto Create Category Pages-laajennuksen mikäli se on saatavilla translatewiki.netissä | |
Ongelmat | Avoimet tehtävät · Raportoi ongelmasta |
Auto Create Category Pages (what a mouthful!) automatically creates stub pages for non-existent categories as soon as they are linked to, avoiding the confusing default behavior of "There is currently no text in this page..." or redirecting to the edit page.
Lataa
For MediaWiki 1.25+, use the master branch - that is always the most recent stable version. You can download it by clicking on "Download snapshot" and then selecting "master".
MediaWiki-yhteensopivuus
Version 1.0.0 and above only works with MediaWiki 1.25.0+. Version 1.0.3 was successfully tested with MW 1.29, 1.34 & 1.35.
Asennus
- <translate> [[<tvar name=2>Special:ExtensionDistributor/AutoCreateCategoryPages</tvar>|Download]] and move the extracted <tvar name=name>
AutoCreateCategoryPages
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AutoCreateCategoryPages - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'AutoCreateCategoryPages' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Kokoonpano
Auto Create Category Pages has the following 3 messages in the MediaWiki namespace, which can be changed to accommodate your preferences:
Viesti | Käyttö |
---|---|
autocreatecategorypages-stub | Used as stub when creating a category page. Parameter $1 is replaced with the category's title. |
autocreatecategorypages-createdby | Used as an "edit summary" when creating a category page. |
autocreatecategorypages-editor | Used as username when creating a category page automatically.
If the user does not exist, it will be created automatically. |
The text of 'autocreatecategorypages-stub' can also be overridden using $wgAutoCreateCategoryStub
, which can contain wikitext as well.
It is recommended to use a template as the stub, so you always change the default text for all created stubs.
Credits
Auto Create Category Pages was originally created as "Uniwiki Auto Create Category Pages" by Merrick Schaefer, Mark Johnston, Evan Wheeler & Adam Mckaig, as part of the Uniwiki project for UNICEF.
As Uniwiki extensions for MediaWiki are not maintained by the original developers anymore, according to an e-mail by Mark Johnston from Nov 9, 2012, the maintenance of this one extension was taken up by Dror S. [FFS].
Muutosloki
- Version 1.0.3, 2017-05-10: [bugfix] The extension caused page save to fail if no it had no categories
- Version 1.0.2, 2017-03-25: A much improved query of pre-existing categories, by Brent Laabs (labster)
- Version 1.0.1, 2016-02-01: Fix bug where only the first new category page was actually created
- Version 1.0.0, 2015-05-24: Convert to extension registration for MW 1.25
- Version 0.2.0, 2013-10-28: updated to work with MW 1.21.x & MW 1.22alpha.
- Version 0.1.0, 2008-08-01: original release.
Katso myös
- Extension:CategoryBlueLinks by Wikia is an alternative, which instead of creating the actual category pages, tells MediaWiki to treat the links as "known" (existing pages).
- Extension:AutoCreatePage
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
- Pages with script errors
- Pages with broken file links
- Stable extensions/fi
- Page action extensions/fi
- Extensions with manual MediaWiki version
- GPL licensed extensions/fi
- Extensions in Wikimedia version control/fi
- PageSaveComplete extensions/fi
- UserGetReservedNames extensions/fi
- All extensions/fi
- Extensions not in ExtensionJson
- Page creation extensions/fi