![]() I use this extension to find all the existing occurrences of the current category name and replace it with the new category name. The Replace Text is under the ‘Other special pages’ section. Replace Text ExtensionĪfter installing, the extension can be used by navigating to ‘Special Pages’ and ‘Replace Text’. The Replace Text extension provides a form to let the administrators do string replacements on the entire wiki. I use the Replace Text Extension to rename my categories. Which could be a little hard to get your hands on. As far as I know Wikipedia uses a bot to rename their category. Renaming a category in Media Wiki can be a bit painful specially if you have a lot of existing references of that category as moving of categories are not allowed (Pages can be moved but not categories). TagAsCategory How to Rename a Category in Media Wiki It gives you a small text box like the following screen shot to enter categories to your Media Wiki page. I use the TagAsCategory extension and it is pretty good. You can just search for category extension for Mediawiki and try out some of them. There are many extensions that you can use to add a page or article to a Category in a MediaWiki installed site. ] Option 2: The Easier Way (Using an Extension) To put a page under multiple categories just add more Categories to the page like below: Where ‘Category Name’ is the name of the Category. Scroll down to the bottom of the page and add the following and Save the page.Open the page that you want to add a category to in edit mode.How to Add Categories to Any Page in MediaWiki Option 1: The Easy Way (Without the use of any Extension)Īdd ] to the bottom of the page in order to add that page to the category But I couldn’t find a simple step by step instructions when I searched for it in Google so I decided to write a post on it. I was looking for a simple way to add a page to a category in one of my sites that uses MediaWiki. It also explains who the renaming of a category in MediaWiki can be done without much hassle. You can create as many categories, and subcategories, as are needed to correctly categorize image and media files.This article shows two ways as to how you can easily add a page in MediaWiki to a category or multiple categories. There will now be a red link at the bottom of the file.ģ. Put the new category name at the bottom of a file while in edit mode:Ģ. Save the page (i.e., click the Publish page button).ġ.You may also add other explanatory text about the category, but this is usually not necessary.Add the following text to specify the parent category for the new category: An editor page for the new category is displayed.Click the link labeled " Create the page " Category:NEW CATEGORY NAME" on this wiki!".(If there are matching pages, then the category name you have chosen already exists.) ![]() A Search page will be displayed, which should have produced no matching results, i.e., the message " There were no results matching the query" is displayed near the bottom of the page.Then click the search icon or press the Enter key. Enter the name of the category in the Search field, prefixed with "Category:", e.g., as Category:NEW CATEGORY NAME.If an image or media file needs to be put in a new category or subcategory, then you will have to create the new category to create a new category: Note: See Commons:Categories#Creating a new category for more info. ![]()
0 Comments
Leave a Reply. |