Manual talk:CleanupTitles.php

Jump to navigation Jump to search

Hours and hours and hours[edit]

And not a single website with the answer I need. Really, I'm about to shoot myself because I need to run cleanupTitles after a restore. Now most of the titles are corrupted with html characters (Spanish) and links are broken, but when I run this in Putty, nothing happens! It just counts the articles as if its name was countTitles (Finished page... 0 of 10653 rows updated).

Anyway, I tried every single option I found online and it doesn't do what's supposed to:

  • /web/cgi-bin/php5 "cleanupTitles.php" [--fix]
  • /web/cgi-bin/php5 "cleanupTitles.php [--fix]"
  • /web/cgi-bin/php5 "cleanupTitles.php[--fix]"
  • /web/cgi-bin/php5 "cleanupTitles.php" --fix
  • /web/cgi-bin/php5 "cleanupTitles.php"--fix
  • /web/cgi-bin/php5 "--fix cleanupTitles.php"
  • /web/cgi-bin/php5 --fix "cleanupTitles.php"

Please, someone help me with this. Is the script deprecated? (And Yes, I have to use the /web/cgi-bin/php5 part or script don't run) Help! --Mark 04:08, 9 December 2009 (UTC)

The correct version is "php", then the script name, then optionally parameters. So:
php cleanupTitles.php --fix
would be fine. However, this script has not been written to detect and fix character set problems like yours. Running it most likely won't solve your issue. -- 23:14, 19 February 2016 (UTC)

What is the functional difference between this script and namespaceDupes.php?[edit]

Leucosticte (talk) 11:35, 11 November 2012 (UTC)