Index: trunk/phase3/maintenance/syntaxChecker.php |
— | — | @@ -26,6 +26,7 @@ |
27 | 27 | |
28 | 28 | // List of files we're going to check |
29 | 29 | private $mFiles = array(), $mFailures = array(), $mWarnings = array(); |
| 30 | + private $mIgnorePaths = array(), $mNoStyleCheckPaths = array(); |
30 | 31 | |
31 | 32 | public function __construct() { |
32 | 33 | parent::__construct(); |
— | — | @@ -70,6 +71,25 @@ |
71 | 72 | private function buildFileList() { |
72 | 73 | global $IP; |
73 | 74 | |
| 75 | + $this->mIgnorePaths = array( |
| 76 | + // Compat stuff, explodes on PHP 5.3 |
| 77 | + "includes/NamespaceCompat.php$", |
| 78 | + "DiscussionThreading/REV", |
| 79 | + ); |
| 80 | + |
| 81 | + $this->mNoStyleCheckPaths = array( |
| 82 | + // Third-party code we don't care about |
| 83 | + "/activemq_stomp/", |
| 84 | + "EmailPage/phpMailer", |
| 85 | + "FCKeditor/fckeditor/", |
| 86 | + '\bphplot-', |
| 87 | + "/svggraph/", |
| 88 | + "\bjsmin.php$", |
| 89 | + "OggHandler/PEAR/", |
| 90 | + "QPoll/Excel/", |
| 91 | + "/smarty/", |
| 92 | + ); |
| 93 | + |
74 | 94 | if ( $this->hasOption( 'path' ) ) { |
75 | 95 | $path = $this->getOption( 'path' ); |
76 | 96 | if ( !$this->addPath( $path ) ) { |
Index: trunk/phase3/maintenance/language/transstat.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | * @author Ashar Voultoiz <thoane@altern.org> |
11 | 11 | * |
12 | 12 | * Output is posted from time to time on: |
13 | | - * http://meta.wikimedia.org/wiki/Localization_statistics |
| 13 | + * http://www.mediawiki.org/wiki/Localisation_statistics |
14 | 14 | */ |
15 | 15 | $optionsWithArgs = array( 'output' ); |
16 | 16 | |
Index: trunk/phase3/docs/skin.txt |
— | — | @@ -47,7 +47,7 @@ |
48 | 48 | This feature has led to a wide variety of "user styles" becoming available, |
49 | 49 | which change the appearance of Monobook or MySkin: |
50 | 50 | |
51 | | -http://meta.wikimedia.org/wiki/Gallery_of_user_styles |
| 51 | +http://www.mediawiki.org/wiki/Manual:Gallery_of_user_styles |
52 | 52 | |
53 | 53 | If you want a different look for your wiki, that gallery is a good place to start. |
54 | 54 | |
Index: trunk/phase3/HISTORY |
— | — | @@ -5756,7 +5756,7 @@ |
5757 | 5757 | groups. Note that this does *not* allow you to make pages which are only |
5758 | 5758 | accessible to certain groups. |
5759 | 5759 | |
5760 | | - For details see: http://meta.wikimedia.org/wiki/Help:User_rights |
| 5760 | + For details see: http://www.mediawiki.org/wiki/Manual:User_rights |
5761 | 5761 | |
5762 | 5762 | E-mail: |
5763 | 5763 | User-to-user e-mail can now be restricted to require a mail-back confirmation |
— | — | @@ -6006,8 +6006,8 @@ |
6007 | 6007 | |
6008 | 6008 | * 'live preview' reduces preview reload burden on supported browsers |
6009 | 6009 | * support for external editors for files and wiki pages: |
6010 | | - http://meta.wikimedia.org/wiki/Help:External_editors |
6011 | | -* Schema reworking: http://meta.wikimedia.org/wiki/Proposed_Database_Schema_Changes/October_2004 |
| 6010 | + http://www.mediawiki.org/wiki/Manual:External_editors |
| 6011 | +* Schema reworking: http://www.mediawiki.org/wiki/Proposed_Database_Schema_Changes/October_2004 |
6012 | 6012 | * (bug 15) Allow editors to view diff of their change before actually submitting an edit |
6013 | 6013 | * (bug 190) Hide your own edits on the watchlist |
6014 | 6014 | * (bug 510): Special:Randompage now works for other namespaces than NS_MAIN. |
— | — | @@ -6690,7 +6690,7 @@ |
6691 | 6691 | If you have trouble, remember to read this whole file and the online FAQ page |
6692 | 6692 | before asking for help: |
6693 | 6693 | |
6694 | | -http://meta.wikimedia.org/wiki/MediaWiki_FAQ |
| 6694 | +http://www.mediawiki.org/wiki/Manual:FAQ |
6695 | 6695 | |
6696 | 6696 | |
6697 | 6697 | === READ THIS FIRST: Upgrading === |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1263,7 +1263,7 @@ |
1264 | 1264 | * as a valid article? If $wgUseCommaCount is set to true, it will be |
1265 | 1265 | * counted if it contains at least one comma. If it is set to false |
1266 | 1266 | * (default), it will only be counted if it contains at least one [[wiki |
1267 | | - * link]]. See http://meta.wikimedia.org/wiki/Help:Article_count |
| 1267 | + * link]]. See http://www.mediawiki.org/wiki/Manual:Article_count |
1268 | 1268 | * |
1269 | 1269 | * Retroactively changing this variable will not affect |
1270 | 1270 | * the existing count (cf. maintenance/recount.sql). |
— | — | @@ -3449,7 +3449,7 @@ |
3450 | 3450 | |
3451 | 3451 | /** |
3452 | 3452 | * Activate external editor interface for files and pages |
3453 | | - * See http://meta.wikimedia.org/wiki/Help:External_editors |
| 3453 | + * See http://www.mediawiki.org/wiki/Manual:External_editors |
3454 | 3454 | */ |
3455 | 3455 | $wgUseExternalEditor = true; |
3456 | 3456 | |
Index: trunk/extensions/gis/gisversion.php |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | $wgOut->setPagetitle( "Version" ); |
42 | 42 | $wgOut->addHTML( ' |
43 | 43 | <p><b><a href="http://www.mediawiki.org/">MediaWiki</a></b> |
44 | | - <a href="http://meta.wikimedia.org/wiki/Gis">GIS extension</a>, |
| 44 | + <a href="http://www.mediawiki.org/wiki/Extension:Gis">GIS extension</a>, |
45 | 45 | copyright (C) 2005 by Egil Kvaleberg.</p> |
46 | 46 | |
47 | 47 | <p>The GIS extension is free software; you can redistribute it and/or modify |
Index: trunk/extensions/SemanticMediaWiki/INSTALL |
— | — | @@ -93,7 +93,7 @@ |
94 | 94 | [SMW_path]/maintenance/README for details on how to run such scripts. |
95 | 95 | |
96 | 96 | '''Remark:''' Semantic MediaWiki uses ten additional namespace indexes (see |
97 | | -http://meta.wikimedia.org/wiki/Help:Custom_namespaces), in the range from |
| 97 | +http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces), in the range from |
98 | 98 | 100 to 109. 100 and 101 are not used (they were used in early beta versions). |
99 | 99 | 106 and 107 are reserved for the SemanticForms extension. If you have your own |
100 | 100 | custom namespaces, you have to set the parameter $smwgNamespaceIndex before |
Index: trunk/extensions/ConfirmEdit/MathCaptcha |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | extensions/ directory, within your wiki root. |
36 | 36 | |
37 | 37 | Edit LocalSettings.php and add the following lines near the bottom of the |
38 | | -file, above the closing ?> tag: |
| 38 | +file, above the closing ?> tag, if any: |
39 | 39 | |
40 | 40 | require_once( 'extensions/ConfirmEdit.php' ); |
41 | 41 | require_once( 'extensions/MathCaptcha.php' ); |
— | — | @@ -71,6 +71,6 @@ |
72 | 72 | == 7. References == |
73 | 73 | |
74 | 74 | i. http://en.wikipedia.org/wiki/Captcha |
75 | | -ii. http://meta.wikimedia.org/wiki/ConfirmEdit |
76 | | -iii. http://meta.wikimedia.org/wiki/Enable_TeX |
| 75 | +ii. http://www.mediawiki.org/wiki/Extension:ConfirmEdit |
| 76 | +iii. http://www.mediawiki.org/wiki/Manual:Enable_TeX |
77 | 77 | iv. http://www.mediawiki.org/wiki/Subversion |
Index: trunk/extensions/SemanticForms/INSTALL |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | include_once('extensions/SemanticForms/includes/SF_Settings.php'); |
32 | 32 | |
33 | 33 | '''Remark:''' Semantic Forms creates an additional custom namespace, "Form" |
34 | | -(see http://meta.wikimedia.org/wiki/Help:Custom_namespaces). If you have your |
| 34 | +(see http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces). If you have your |
35 | 35 | own custom namespaces, you have to set the parameter $sfgNamespaceIndex before |
36 | 36 | including SF_Settings.php. See SF_Settings.php for more details. |
37 | 37 | |
Index: trunk/extensions/Blahtex/README |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | tags. It also recognizes some additional LaTeX commands. |
14 | 14 | |
15 | 15 | See the manual (in the file manual.tex) and |
16 | | -http://meta.wikimedia.org/wiki/Blahtex for more details. |
| 16 | +http://www.mediawiki.org/wiki/Extension:Blahtex for more details. |
17 | 17 | |
18 | 18 | |
19 | 19 | Brief installation instructions: |
Index: trunk/extensions/SpamDiffTool/README |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | mediawiki=1.6+ |
9 | 9 | Allows users to add entries to the Spam blacklist right off of a diff page |
10 | 10 | |
11 | | -This extension allows users to add URLs to the Spam Blacklist (see the Spamblacklist Extension http://meta.wikimedia.org/wiki/SpamBlacklist_extension) easily without learning how to format entries for the blacklist and copy and paste, etc. By inserting a link on each diff page, if an editor sees that a given page has been the victim of spam, they can click on "add to spam", which extracts all of the URLs the spammer has placed on the page, going back over their most recent edits on the article (similar to Rollback). Then, for each URL detected, the tool prompts the user the degree to which they want to blacklist the URL. The options are block: |
| 11 | +This extension allows users to add URLs to the Spam Blacklist (see the Spamblacklist Extension http://www.mediawiki.org/wiki/Extension:SpamBlacklist) easily without learning how to format entries for the blacklist and copy and paste, etc. By inserting a link on each diff page, if an editor sees that a given page has been the victim of spam, they can click on "add to spam", which extracts all of the URLs the spammer has placed on the page, going back over their most recent edits on the article (similar to Rollback). Then, for each URL detected, the tool prompts the user the degree to which they want to blacklist the URL. The options are block: |
12 | 12 | |
13 | 13 | # all links from the domain |
14 | 14 | # all links from the specific subdomain |
Index: trunk/extensions/ee/ee.pl |
— | — | @@ -5,8 +5,8 @@ |
6 | 6 | # |
7 | 7 | # written by Erik M�ller - public domain |
8 | 8 | # |
9 | | -# User documentation: http://meta.wikimedia.org/wiki/Help:External_editors |
10 | | -# Technical documentation: http://meta.wikimedia.org/wiki/Help:External_editors/Tech |
| 9 | +# User documentation: http://www.mediawiki.org/wiki/Manual:External_editors |
| 10 | +# Technical documentation: http://www.mediawiki.org/wiki/Manual:External_editors:_control_files |
11 | 11 | # |
12 | 12 | # To do: Edit conflicts |
13 | 13 | # |
Index: trunk/extensions/FCKeditor/plugins/mediawiki/dialogs/special.html |
— | — | @@ -151,7 +151,7 @@ |
152 | 152 | if (tagName == 'inputbox') |
153 | 153 | { |
154 | 154 | if (!FCKLang.inputboxHelp) FCKLang.inputboxHelp = 'Inputbox allows to create a form for users to create new pages. The new pages edit box can be pre-loaded with any template. See %link for details'; |
155 | | - GetE('xDefinition').innerHTML = FCKLang.inputboxHelp.replace( /%link/g, '<a href="#" onclick="javascript:window.open(\'http://meta.wikimedia.org/wiki/Help:Inputbox\')">manual</a>' ) ; |
| 155 | + GetE('xDefinition').innerHTML = FCKLang.inputboxHelp.replace( /%link/g, '<a href="#" onclick="javascript:window.open(\'http://www.mediawiki.org/wiki/Extension:InputBox\')">manual</a>' ) ; |
156 | 156 | } |
157 | 157 | } |
158 | 158 | |
Index: trunk/extensions/FCKeditor/plugins/mediawiki/fckplugin.js |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | * http://meta.wikimedia.org/wiki/Help:Advanced_editing |
27 | 27 | * |
28 | 28 | * MediaWiki Sandbox: |
29 | | - * http://meta.wikimedia.org/wiki/Meta:Sandbox |
| 29 | + * http://www.mediawiki.org/wiki/Sandbox |
30 | 30 | */ |
31 | 31 | |
32 | 32 | // Rename the "Source" buttom to "Wikitext". |
Index: trunk/extensions/SemanticDrilldown/INSTALL |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | include_once('extensions/SemanticDrilldown/includes/SD_Settings.php'); |
33 | 33 | |
34 | 34 | '''Remark:''' Semantic Drilldown creates an additional custom namespace, |
35 | | -"Filter" (see http://meta.wikimedia.org/wiki/Help:Custom_namespaces). If |
| 35 | +"Filter" (see http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces). If |
36 | 36 | you have your own custom namespaces, you have to set the parameter |
37 | 37 | $sdgNamespaceIndex before including SD_Settings.php. See SD_Settings.php |
38 | 38 | for more details. |
Index: trunk/extensions/Poem/Poem.php |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | # MediaWiki Poem extension v1.0cis |
4 | 4 | # |
5 | 5 | # Based on example code from |
6 | | -# http://meta.wikimedia.org/wiki/Write_your_own_MediaWiki_extension |
| 6 | +# http://www.mediawiki.org/wiki/Manual:Extending_wiki_markup |
7 | 7 | # |
8 | 8 | # All other code is copyright © 2005 Nikola Smolenski <smolensk@eunet.yu> |
9 | 9 | # (with modified parser callback and attribute additions) |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | # To use, put some text between <poem></poem> tags |
18 | 18 | # |
19 | 19 | # For more information see its page at |
20 | | -# http://meta.wikimedia.org/wiki/Poem_Extension |
| 20 | +# http://www.mediawiki.org/wiki/Extension:Poem |
21 | 21 | |
22 | 22 | $wgHooks['ParserFirstCallInit'][] = 'wfPoemExtension'; |
23 | 23 | $wgExtensionCredits['parserhook'][] = array( |
Index: trunk/extensions/DynamicPageList/DPLMain.php |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | |
44 | 44 | $dplStartTime= microtime(true); |
45 | 45 | |
46 | | - // Local parser created. See http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ#How_do_I_render_wikitext_in_my_extension.3F |
| 46 | + // Local parser created. See http://www.mediawiki.org/wiki/Extensions_FAQ#How_do_I_render_wikitext_in_my_extension.3F |
47 | 47 | $localParser = new Parser(); |
48 | 48 | $pOptions = $parser->mOptions; |
49 | 49 | $pTitle = $parser->mTitle; |