Back to Blog
Semantic mediawiki5/17/2023 ![]() ![]() Post installation: hope installation was successful and fully operational begin extensive testing open to production and user requests (not ManageWiki) when it is tested and fully works monitor performance.Verify SemanticMediaWiki is installed correctly with src/Maintenance/MaintenanceCheck.php (not an essential step if this can't be manually ran like this, we'll know if it failed soon enough).Run the maintenance/setupStore.php script (which is an equivalent to upgrade.php but only for SemanticMediaWiki, avoiding us having to use upgrade.php if I am correct).Add wfLoadExtension( 'SemanticMediaWiki' ) and enableSemantics( '' ).Create SemanticMediaWiki.php in miraheze/mw-config for SemanticMediaWiki-only configuration (only load on betawiki for now).Install submodule in miraheze/mediawiki.In addition, categories tend to be used more exactly: a page like "Digital city" might end up in a category like "City-related terms" instead of "Cities", so that it wouldn't show up in a query on the "Cities" category.Installation steps from what I can tell (some of this is undocumented, or at least I didn't see documentation, as it is meant to run update.php, but the following should work without that looking at source directly) ![]() For example, a subcategory like Large cities could be replaced by a query for articles with Category:Cities with an area larger than 10 km², or a population larger than 1,000,000. In Semantic MediaWiki-using sites, categories tend to be used much more sparingly, since inline queries make many categories superfluous. For example, the Cities category contains both individual cities, related subcategories like "City nicknames" and abstract concepts like "Digital city". On wikis like Wikipedia, categories are used for many different purposes. The category's article can be empty, but it is strongly recommended to add a description that explains which articles should go into the category. Every page can be assigned to a category by writing ] anywhere in the source text of the page. The name of the category (here, "Example category") is arbitrary but, of course, you should try to use categories that already exist instead of creating new ones. To add an article to a category Example category, just writeĪnywhere in the article. Categories are used as universal "tags" for articles, describing that the article belongs to a certain group of articles. ![]() This feature is explained in the section on inline queries.Ĭategories are an editing feature of MediaWiki, and the main reference for their use is the MediaWiki documentation on categories. Thereby, readers of the wiki can view ready-made query results without having to learn the SMW query language. The user manual explains basic annotations with properties, the creation of custom units for numerical properties, and the use of MediaWiki templates to simplify annotation.īesides annotations, SMW also allows editors to embed semantic queries into articles. that Berlin is the capital of Germany, is now provided in a formal way accessible to software tools. Information that was provided in an article anyway, e.g. Since categories and properties merely emphasize a particular part of an article's content, they are often called (semantic) annotations. Usage and possible problems with using these features are similar to the existing category system. This addition enables users to go beyond mere categorisation of articles. The property capital of is different from on national football team of, just as the property population is different from annual income. This turns links and text into explicit properties of an article. ![]() SMW allows you to annotate any link or text on the page to describe the meaning of the hyperlink or text. For example, «is the capital of Germany with a population of 3,396,990» means something very different from «plays football for Germany and earns 3,396,990 dollars a year». Wiki pages have links and text values in them, but only a human reader knows what the link or text represents. Semantic MediaWiki provides a further means of structuring the wiki. MediaWiki can use this information to generate a list of all cities in a wiki, and thus help users to browse the information. For example, by adding ] to an article, the page is tagged as describing a city. Semantic MediaWiki's internal database structure has changed and requires some adjustments to be fully functional. Categories are a means to classify articles according to certain criteria. Some annotations being edited using the wikiEditorĪnnotations in Semantic MediaWiki can be viewed as an extension of the existing category system in MediaWiki. ![]()
0 Comments
Read More
Leave a Reply. |