From a6cda4b42b7734f546678c86ff2e7c71e212ed02 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Sat, 5 Dec 2009 15:03:20 +0000 Subject: [PATCH] Updated links for pages moved from Meta to mw.org, tweaked doc a bit in one case (extensions/ConfirmEdit/MathCaptcha) --- HISTORY | 8 ++++---- docs/skin.txt | 2 +- includes/DefaultSettings.php | 4 ++-- maintenance/language/transstat.php | 2 +- maintenance/syntaxChecker.php | 20 ++++++++++++++++++++ 5 files changed, 28 insertions(+), 8 deletions(-) diff --git a/HISTORY b/HISTORY index 6d6f35d2e3..4ab85bd9e8 100644 --- a/HISTORY +++ b/HISTORY @@ -5756,7 +5756,7 @@ User accounts: groups. Note that this does *not* allow you to make pages which are only accessible to certain groups. - For details see: http://meta.wikimedia.org/wiki/Help:User_rights + For details see: http://www.mediawiki.org/wiki/Manual:User_rights E-mail: User-to-user e-mail can now be restricted to require a mail-back confirmation @@ -6006,8 +6006,8 @@ Various bugfixes, small features, and a few experimental things: * 'live preview' reduces preview reload burden on supported browsers * support for external editors for files and wiki pages: - http://meta.wikimedia.org/wiki/Help:External_editors -* Schema reworking: http://meta.wikimedia.org/wiki/Proposed_Database_Schema_Changes/October_2004 + http://www.mediawiki.org/wiki/Manual:External_editors +* Schema reworking: http://www.mediawiki.org/wiki/Proposed_Database_Schema_Changes/October_2004 * (bug 15) Allow editors to view diff of their change before actually submitting an edit * (bug 190) Hide your own edits on the watchlist * (bug 510): Special:Randompage now works for other namespaces than NS_MAIN. @@ -6690,7 +6690,7 @@ release for relevant bug fixes; see the changelog later in this file. If you have trouble, remember to read this whole file and the online FAQ page before asking for help: -http://meta.wikimedia.org/wiki/MediaWiki_FAQ +http://www.mediawiki.org/wiki/Manual:FAQ === READ THIS FIRST: Upgrading === diff --git a/docs/skin.txt b/docs/skin.txt index 524a039750..a42369ce90 100644 --- a/docs/skin.txt +++ b/docs/skin.txt @@ -47,7 +47,7 @@ These can also be customised on a per-user basis, by editing This feature has led to a wide variety of "user styles" becoming available, which change the appearance of Monobook or MySkin: -http://meta.wikimedia.org/wiki/Gallery_of_user_styles +http://www.mediawiki.org/wiki/Manual:Gallery_of_user_styles If you want a different look for your wiki, that gallery is a good place to start. diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index c87bc5409e..1ee9c12ab4 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1263,7 +1263,7 @@ $wgSidebarCacheExpiry = 86400; * as a valid article? If $wgUseCommaCount is set to true, it will be * counted if it contains at least one comma. If it is set to false * (default), it will only be counted if it contains at least one [[wiki - * link]]. See http://meta.wikimedia.org/wiki/Help:Article_count + * link]]. See http://www.mediawiki.org/wiki/Manual:Article_count * * Retroactively changing this variable will not affect * the existing count (cf. maintenance/recount.sql). @@ -3449,7 +3449,7 @@ $wgMinimalPasswordLength = 1; /** * Activate external editor interface for files and pages - * See http://meta.wikimedia.org/wiki/Help:External_editors + * See http://www.mediawiki.org/wiki/Manual:External_editors */ $wgUseExternalEditor = true; diff --git a/maintenance/language/transstat.php b/maintenance/language/transstat.php index c6175f44c1..68ff9e2e48 100644 --- a/maintenance/language/transstat.php +++ b/maintenance/language/transstat.php @@ -9,7 +9,7 @@ * @author Ashar Voultoiz * * Output is posted from time to time on: - * http://meta.wikimedia.org/wiki/Localization_statistics + * http://www.mediawiki.org/wiki/Localisation_statistics */ $optionsWithArgs = array( 'output' ); diff --git a/maintenance/syntaxChecker.php b/maintenance/syntaxChecker.php index 48bbee03bc..732bc649ed 100644 --- a/maintenance/syntaxChecker.php +++ b/maintenance/syntaxChecker.php @@ -26,6 +26,7 @@ class SyntaxChecker extends Maintenance { // List of files we're going to check private $mFiles = array(), $mFailures = array(), $mWarnings = array(); + private $mIgnorePaths = array(), $mNoStyleCheckPaths = array(); public function __construct() { parent::__construct(); @@ -70,6 +71,25 @@ class SyntaxChecker extends Maintenance { private function buildFileList() { global $IP; + $this->mIgnorePaths = array( + // Compat stuff, explodes on PHP 5.3 + "includes/NamespaceCompat.php$", + "DiscussionThreading/REV", + ); + + $this->mNoStyleCheckPaths = array( + // Third-party code we don't care about + "/activemq_stomp/", + "EmailPage/phpMailer", + "FCKeditor/fckeditor/", + '\bphplot-', + "/svggraph/", + "\bjsmin.php$", + "OggHandler/PEAR/", + "QPoll/Excel/", + "/smarty/", + ); + if ( $this->hasOption( 'path' ) ) { $path = $this->getOption( 'path' ); if ( !$this->addPath( $path ) ) { -- 2.20.1