archi-strasbourg / archi-mediawiki-redirect
This package is abandoned and no longer maintained.
No replacement package was suggested.
Script that redirects old Archi-Wiki URLs to new MediaWiki URLs
1.0.1
2018-02-07 21:11 UTC
Requires
- archi-strasbourg/archi-wiki: dev-master
- dshafik/php7-mysql-shim: ~1.0.0@beta
- slim/slim: ~3.5.0
Requires (Dev)
- squizlabs/php_codesniffer: ~2.7.0
- symfony/var-dumper: ~3.1.0
This package is auto-updated.
Last update: 2024-02-10 04:26:41 UTC
README
Script that redirects old Archi-Wiki URLs to new MediaWiki URLs
Usage
Copy ArchiWiki's config.php
at the root of the MediaWiki project.
Add these rules to MediaWiki's .htaccess
:
RewriteRule adresse-(.+)-([0-9]+)\.html vendor/archi-strasbourg/archi-mediawiki-redirect/redirect.php?archiAffichage=adresseDetail&archiIdAdresse=$2 [QSA,L] RewriteRule personnalite-(.+)-([0-9]+)\.html vendor/archi-strasbourg/archi-mediawiki-redirect/redirect.php?archiAffichage=evenementListe&selection=personne&id=$2 [QSA,L]