Elliptic Curve Crypto:About: Difference between revisions

From Elliptic Curve Crypto
Short URLs
Line 9: Line 9:
* [https://www.mediawiki.org/wiki/MediaWiki MediaWiki]
* [https://www.mediawiki.org/wiki/MediaWiki MediaWiki]
* [https://www.postgresql.org/ PostgreSQL]
* [https://www.postgresql.org/ PostgreSQL]
== Configuration for short publishable URLs ==
=== Caddyfile ===
Something like this seems to be required.
    rewrite    {path} /index.php?title={path}
=== MediaWiki Local Settings ===
This catches and translates most of the URLs with long gobbledegook query strings.
* https://www.mediawiki.org/wiki/Manual:Short_URL
* https://www.mediawiki.org/wiki/Manual:$wgActionPaths#action_at_the_end
<syntaxhighlight lang="php">
$actions = [
        'edit',
        'watch',
        'unwatch',
        'delete',
        'revert',
        'rollback',
        'protect',
        'unprotect',
        'markpatrolled',
        'render',
        'submit',
        'history',
        'purge',
        'info',
];
foreach ( $actions as $action ) {
  $wgActionPaths[$action] = "/$1/$action";
}
$wgActionPaths['view'] = "/$1";
$wgArticlePath = $wgActionPaths['view'];
</syntaxhighlight>

Revision as of 03:26, 20 December 2024

The mark or logo for Elliptic Curve Crypto on the net is the capital letter ‘E’ from the QT Arabian font, navy blue on a transparent background.

The software stack that currently runs this site

Configuration for short publishable URLs

Caddyfile

Something like this seems to be required.

   rewrite    {path} /index.php?title={path}

MediaWiki Local Settings

This catches and translates most of the URLs with long gobbledegook query strings.

$actions = [
        'edit',
        'watch',
        'unwatch',
        'delete',
        'revert',
        'rollback',
        'protect',
        'unprotect',
        'markpatrolled',
        'render',
        'submit',
        'history',
        'purge',
        'info',
];

foreach ( $actions as $action ) {
  $wgActionPaths[$action] = "/$1/$action";
}
$wgActionPaths['view'] = "/$1";
$wgArticlePath = $wgActionPaths['view'];