0

Currently, we have about 100 pages under a certain namespace, let's say 'Foo:'. Much more pages contain references to such pages, like so: [[Foo:Hello|Hello]]. If we change the namespace from 'Foo:' to 'Foo2:', all links like [[Foo:Hello|Hello]] are broken because they should now be [[Foo2:Hello|Hello]].

Before I manually search for all such broken links, is there a maintenance script that can be used?

2 Answers2

1

Extension:Replace Text will do that

Rob Kam
  • 10,063
  • 14
  • 55
  • 65
0

Why don't you just set $wgNamespaceAliases['Old namespace name'] = NS_WHATEVER_NAMESPACE?

Alexander Mashin
  • 3,892
  • 1
  • 9
  • 15