Updated links for pages moved from Meta to mw.org, tweaked doc a bit in one case...
authorMax Semenik <maxsem@users.mediawiki.org>
Sat, 5 Dec 2009 15:03:20 +0000 (15:03 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Sat, 5 Dec 2009 15:03:20 +0000 (15:03 +0000)
HISTORY
docs/skin.txt
includes/DefaultSettings.php
maintenance/language/transstat.php
maintenance/syntaxChecker.php

diff --git a/HISTORY b/HISTORY
index 6d6f35d..4ab85bd 100644 (file)
--- 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 ===
index 524a039..a42369c 100644 (file)
@@ -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.
 
index c87bc54..1ee9c12 100644 (file)
@@ -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;
 
index c6175f4..68ff9e2 100644 (file)
@@ -9,7 +9,7 @@
  * @author Ashar Voultoiz <thoane@altern.org>
  *
  * 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' );
 
index 48bbee0..732bc64 100644 (file)
@@ -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 ) ) {