MediaWiki-API-Ergebnis

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": "SAPUI5_Getting_Started_(SAP_HANA)",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> 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": {
            "260": {
                "pageid": 260,
                "ns": 0,
                "title": "RegEx",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "== Introduction ==\n\nThis article contains notes for RegEx respectively Regular Expressions and also some useful ressources.\n\nRegEx are not Regular Expressions in the narrower sense of the word but today both tearms are used more or less interchangably. More on that: https://www.rexegg.com/regex-vs-regular-expression.html\n\n== General Rules ==\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | Meta Characters\n! Meta Character !! Example\n|-\n| Single Character  || .\n|-\n| Character class digit  || \\d\n|-\n| Character class character  || \\w\n|-\n| \nCharacter class whitespace <br>\n(Space, tab, new line, carriage return) \n|| \\s\n|-\n| Inversion of character classes (Not) || \\D, \\W, \\S\n|-\n| Word and text boundaries  || b ^ $\n|}\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | Ranges\n! Range !! Example\n|-\n| Character class range||  [a-c]\n|-\n| Inversion of character class range || [^abc]\n|}\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | Quantifiers\n! Quantifier !! Example\n|-\n| Zero or one character  || ?\n|-\n| Zero or more characters (Kleene Star) || *\n|-\n| One or more characters  (Kleene Plus) || +\n|-\n| Three characters || {3}\n|-\n| Four to 20 characters || {4,20}\n|}\n\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | White Space Characters\n! White Space !! Example\n|-\n| Space || _\n|-\n| Tab || \\t\n|-\n| New line || \\n\n|-\n| Carriage return || \\r\n|-\n| Any white space character || \\s\n|}\n\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | Line start and end\n! Type !! Example\n|-\n| Start of line || ^\n|-\n| End of line || $\n|}\n\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | Groups and nested groups\n! Type !! String !! Expression !! Results\n|-\n| Group Example 1 || IMG1000.png || ^(IMG\\d+\\.png)$ || IMG1000.png\n|-\n| Group Example 2 || IMG1000.png || ^(IMG\\d+)\\.png$ || IMG1000\n|-\n| Nested group || IMG1000.png || ^(IMG(\\d+))\\.png$ || \nGroup 1: IMG1000 <br>\nGroup 2: 1000\n|-\n| Multiple groups || 1920x1080 || (\\d+)x(\\d+) || \nGroup 1: IMG1000 <br>\nGroup 2: 1000\n|-\n| Grouping with alternatives  || Monday or Tuesday || (Mon&#124;Tues)day || \nMatch 1: Monday <br>\nGroup 1: Mon <br>\nMatch 2: Tuesday <br>\nGroup 2: Tues\n|}\n\n== Online Regex Tools ==\n\n* Interpreter\n** https://regexr.com/\n** https://regex101.com/\n* Visualization\n** https://regexper.com/\n\n== Tutorials and Guides ==\n\nGuide (german): https://t3n.de/news/regex-guide-t3n-552858/\n\nQuick Start Cheat Sheet: https://www.rexegg.com/regex-quickstart.html\n\nAdvanced tutorial: https://www.rexegg.com/regex-disambiguation.html\n\nPractical tutorial: https://regexone.com/\n\nRegex with JavaScript: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/#regular-expressions\n\n\n[[Category:RegEx]]"
                    }
                ]
            },
            "140": {
                "pageid": 140,
                "ns": 0,
                "title": "Roundcube als Webmail-Client (Debian)",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "== Installation ==\n\n=== Webserver ===\n\nEntweder eine vollst\u00e4ndige Installation durchf\u00fchren, vgl. mit [[Webserver installieren (Debian)]], oder die nachfolgende kleine Installation durchf\u00fchren:\n\n apt-get install apache2 mariadb-server php-mysql\n\nAnschlie\u00dfend Verschl\u00fcsselung aktivieren. Dies kann entweder mit den nachfolgenden Zeilen passieren:\n\n mkdir /etc/apache2/ssl \n make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem \n a2ensite default-ssl \n a2enmod ssl\n\nAlternativ kann Let's encrypt genutzt werden: [[Let's encrypt|Anleitung f\u00fcr Let's encrypt]].\n\n=== Roundcube ===\n apt-get install roundcube roundcube-core roundcube-mysql roundcube-plugins\n\nW\u00e4hrend der Installation die Konfiguration durch dbconfig-common durchf\u00fchren lassen, und Standardwerte \u00fcbernehmen. \n\nBei der Datenbankauswahl \"MySQL\" ausw\u00e4hlen.\n\nFolgende Verzeichnisse werden in Debian angelegt:\n\n /etc/roundcube --> Konfigurationsdateien\n /usr/share/roundcube --> Anwendungspaket selbst\n /var/lib/roundcube --> Anwendung zur Anzeige im Webserver\n\n== Konfiguration ==\n\n=== Servername f\u00fcr Login ===\n\nDamit der User nicht den Servernamen beim Login eingeben muss, kann dieser in der Konfiguration hinterlegt werden. \n\nDatei ''/etc/roundcube/config.inc.php'' bearbeiten und localhost hinterlegen:\n $config['default_host'] = 'localhost';\n\n=== Produktname ===\n\nName des Produkts, der beim Anwender in der Titelleiste des Browsers erscheinen soll:\n\nDatei ''/etc/roundcube/config.inc.php'' bearbeiten:\n\n // Name your service. This is displayed on the login screen and in the window title\n $config['product_name'] = 'Roundcube Webmail';\n\n=== Uploadgr\u00f6\u00dfe f\u00fcr E-Mail-Anh\u00e4nge ===\n\nWird gepflegt in ''/etc/roundcube/htaccess''\n\nFolgende Zeilen bearbeiten:\n\n php_value   upload_max_filesize   5M\n php_value   post_max_size         6M\n php_value   memory_limit          64M\n\nWichtig: Der Webserver muss in so eingestellt sein, dass die .htaccess-Dateien in den Webseite-Verzeichnissen gelesen werden. Dies passiert irgendwo in ''/etc/apache2'' (Entweder php.ini, apache.conf, conf-enabled, mods-enabled oder sites-enabled.\n\n=== Session-L\u00e4nge erweitern ===\n\nEs ist unklar, ob das etwas bringt.\n\nWird gepflegt in ''/etc/roundcube/htaccess''\n\nFolgende Zeilen bearbeiten:\n\n php_value   session.gc_maxlifetime   21600\n\nWichtig: Der Webserver muss in so eingestellt sein, dass die .htaccess-Dateien in den Webseite-Verzeichnissen gelesen werden. Dies passiert irgendwo in ''/etc/apache2'' (Entweder php.ini, apache.conf, conf-enabled, mods-enabled oder sites-enabled.\n\n== Installation Plugins ==\n=== Identity SMTP Plugin ===\nQuelle: https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin\n cd /path/to/roundcube/plugins\n git clone [git://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin https://github.com/deflomu/Roundcube-SMTP-per-Identity-Plugin] identity_smtp\nKonfigurationsdatei '''/path/to/roundcube/config/config.inc.php''' anpassen. Zeile hinzuf\u00fcgen:\n $config['plugins'] = array( \n   ...,\n   'identity_smtp',\n );\nAu\u00dferdem muss f\u00fcr das Identity SMTP-Plugin ein Default-SMTP-Server in der Roundcube-Konfiguration hinterlegt werden, z. B.:\n $config['smtp_server'] = 'localhost';\n\n\n=== Managesieve ===\n\nDas Roundcube-Plugin Managesieve erm\u00f6glicht es Usern, ihre eigenen Sieve-Regeln zu definieren, die vom Dovecot-Server ausgef\u00fchrt werden, wenn eine neue E-Mail eingeht. Diese Sieve-Regeln werden im User-Profil gespeichert.\n\nInstallation:\n\n apt-get install roundcube-plugins\n\nAktivieren des Plugins in ''/etc/roundcube/config.inc.php'':\n\n $config['plugins'] = array(     \n  ...,\n  'managesieve',                                                                      \n ); \n\n=== Kontaktsynchronisierung mit Carddav ===\n\nQuellcode ins VAR-Verzeichnis laden mit:\n\n cd /path/to/roundcube/plugins\n git clone [git://github.com/blind-coder/rcmcarddav https://github.com/blind-coder/rcmcarddav] \n\nPlugin-Verzeichnis umbenennen nach carddav.\n\nInstallation Voraussetzungen:\n\n apt-get install php-curl\n\nAnpassung Konfiguration: ''/path/to/roundcube/config/config.inc.php''\n\n $config['plugins'] = array(\n   ...\n   'carddav',\n );\n\n\n\n\n[[Category:Linux]]\n[[Kategorie:E-Mail]]"
                    }
                ]
            }
        }
    }
}