MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "SOM_file",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "323": {
                "pageid": 323,
                "ns": 0,
                "title": "SET file",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "A [[SET file]] is a [[Wikipedia:Unicode|Unicode]] text file recognized by its .set [[Wikipedia:filename extension|filename extension]]. The name \"set\", pronounced like the word set, is not an acronym; it simply refers to [[Wikipedia:set theory|set theory]], or more simply, a ''set'' of some things. More importantly, Set files are used to assign [[Profile|Sword of Moonlight profiles]] (eg. [[PRF]] and [[PRT]]) to one or more such sets. The resulting sets can then be used to include or exclude profiles from project spaces, search and or browse for profiles, and so on, all according to sets.\n\n==History==\nSet files were not part of [[Sword of Moonlight 2000]], or Som2k. They were invented later, to cope with scale and make it feasible to collaborate on and distribute [[SOM]] projects. Som2k's profiles were first organized into sets in early 2014, as part of a [[SomEx]] release that focused on the textual content of Som2k's profiles. \n\n==Anatomy==\nThe standard file consists of its [[Wikipedia:filename|filename]] and any lines of text within the file that begin with a [[Wikipedia:+|plus sign]]. Lines beginning with [[Wikipedia:;|semicolons]] consist of commentary that is ignored.[http://svn.swordofmoonlight.net/data/npc/prof/man%20secure%20men.set]\n\nThe filename determines the names of the set or sets in question. The .set file extension is discarded and any spaces ( ) in its filename divide it up into sets&mdash;plural. It is important that the name of the sets involved are part of the filename itself, because the filename is [[Wikipedia:meta data|meta data]], meaning that if none of the sets named are interesting the file can be passed over without delay.\n\nThe lines of the file assign profiles residing within the same [[Wikipedia:Directory (computing)|computer file directory]] as the set file itself according to their local filenames alone; one per line. Nonstandard lines&mdash;not beginning with +&mdash;should be ignored.\n\nSince February 2021 [[Wikipedia:Glob_(programming)|glob]] wildcards are allowed for private use but should not be used in public SET files.\n\n==Utilities==\nA simple tool called SetComp can scan a directory and from that make a SET file representing its contents. Its basic workflow can require making temporary directories for this purpose and/or editing/decomposing the resulting SET file into smaller sets.\n\n==See Also==\n*[[SomEx/list_of_extensions#sort_]] extension sets up groupings and headings for SOM_PRM's profile menus.\n*[[SOM_file/list_of_environment_variables#DATASET]] SOM file variable for including or excluding individual profiles and or sets of profiles.\n\n==External Links==\n*[http://svn.swordofmoonlight.net/data/item/prof/ An online file directory containing numerous set files and profiles]\n*[http://svn.swordofmoonlight.net/data/npc/prof/man%20secure%20men.set A typical multi-set file]\n*[http://svn.swordofmoonlight.net/data/my/prof/Ex.ini A configuration file that uses the SomEx sort_ extension]\n*[http://svn.swordofmoonlight.net/tool/SetComp.exe SetComp.exe SET file generator utility]\n\n[[Category:Sword of Moonlight]]"
                    }
                ]
            },
            "314": {
                "pageid": 314,
                "ns": 0,
                "title": "SOM EX",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{DISPLAYTITLE:SOM_EX}}\nSOM_EX (or SOM_EX.exe on [[Windows]]) launches [[Sword of Moonlight]] and then serves as a communication console from thereon out. Its job is to load the [[SomEx]] module into the host application, however what it actually does at start up is simply prepare the environment before loading SomEx (SomEx.dll on Windows) into itself, which in turn launches the host application with another instance of SomEx loaded into it, and so on, as is the normal course of events for the classical school of Sword of Moonlight applications ([[SOM_MAIN]] begets [[SOM_EDIT]] begets [[SOM_PRM]], [[SOM_MAP]], and [[SOM_SYS]]. And so on.)\n\n==Usage==\nWhether invoking from the [[Wikipedia:Command-line interface|command-line]] or a [[Wikipedia:File shortcut|Windows Shortcut]] SOM_EX accepts four kinds of inputs, all optional and in any order, with a fifth kind where inputs begin with dashes (-) being reserved.\n\n*The address of a project's [[SOM file]] recognized by its .som file extension ending. Relative addresses are relative to the initial directory. Also known as the current or starting directory.\n\n*The address of the host application. The title of the file must be one of SOM_MAIN, SOM_RUN, SOM_EDIT, SOM_PRM, SOM_MAP, MapComp, SOM_SYS, or SOM_DB. Future targets may include a subset of the Sword of Moonlight proprietary file editors that were later released via the Internet by [[From Software]]. While this argument can be a complete file system address, SomEx will likely simply discard all but the title at the end of the address.\n\n*The absolute address of a directory. This address is understood to be the Sword of Moonlight installation directory. If it is not provided the directory is taken from the [[Wikipedia:Windows Registry|Windows Registry]] as installed by the setup disc or script.\n\n*Any other text that does not begin with a dash (-) and does not include slashes (/ or \\). This text is understood to be the name of a map to be opened or playtested. The name is the name of the map's files in the DATA/MAP folder, not the map's descriptive title. The file extension must be excluded. The name does not pertain to any particular kind of map file, but the group of files as a whole. \n\nIf no host application is specified and SOM_EX is the name of the application being run (a standalone game may rename the SOM_EX file to the name of its game) then the host application is determined by default according to the following rules. If a SOM file is not provided then SOM_MAIN becomes the host. If a map is not specified then SOM_EDIT becomes the host. If a map is specified then SOM_DB becomes the host.\n\nAll of Sword of Moonlight's icons are embedded within the SOM_EX.exe file, so that it is very convenient to select the icon matching the host application of your shortcut. It should be noted that the host applications were never intended to be operated on an individual basis, however there is no harm inherent in doing so. The original inputs vary and tended toward the unconventional, perhaps intentionally so, in addition to being inflexible and offering no more options than were necessary. \n\n[[Category:Sword of Moonlight]]"
                    }
                ]
            }
        }
    }
}