MediaWiki HSL Migration: Difference between revisions

From Traxel Wiki
Jump to navigation Jump to search
(Created page with "= 2024-03-30 Attempt = == Fixing Broken Categories == == Perl Regex for Page Names == <pre> perl -ne 'print "$2\n" while m|<a href="[^"]*"( class="mw-redirect")* title="[^"]*">([^<>]*)</|g' < pages-02.html </pre> == Perl Regex for File Links == <pre> a href="/wiki/File:01mendel-ABS_solid-bed-height-spacer-31m.jpg" </pre>")
 
Line 1: Line 1:
= 2024-03-30 Attempt =
= 2024-03-30 Attempt =
== Fixing Broken Categories ==
== Fixing Broken Categories ==
<pre>
cd /var/www/mediawiki/maintenance/
php update.php
php rebuildall.php
</pre>
== Perl Regex for Page Names ==
== Perl Regex for Page Names ==
<pre>
<pre>

Revision as of 22:37, 30 March 2024

2024-03-30 Attempt

Fixing Broken Categories

cd /var/www/mediawiki/maintenance/
php update.php
php rebuildall.php

Perl Regex for Page Names

perl -ne 'print "$2\n" while m|<a href="[^"]*"( class="mw-redirect")* title="[^"]*">([^<>]*)</|g' < pages-02.html

Perl Regex for File Links

a href="/wiki/File:01mendel-ABS_solid-bed-height-spacer-31m.jpg"