r77875 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77874‎ | r77875 | r77876 >
Date:13:30, 6 December 2010
Author:tstarling
Status:ok (Comments)
Tags:
Comment:
* Reformatted several text documents to be a hybrid between wikitext and plain text, so that they look nicer in the new installer.
* Removed the specialised getFileContents() functions, they are unnecessary now that I have reformatted COPYING into wikitext.

In WebInstaller_Document::formatTextFile():
* Introduced new tab-indented syntax, which is equivalent to colon indents in ordinary wikitext. This was useful for reformatting the GPL.
* Removed the special case for spaces preceding URLs, used tabs instead, with the above feature.
* Removed the "numbers in square brackets" feature. The place where this was used, in README, was an unfortunate case where the square brackets originally indicated a footnote and its reference. Then another two "footnotes" were added with no corresponding reference, they just talked about random license-related stuff that happened to be similar to the footnote. It was never actually meant to be a numbered list. Fixed in README.
* Convert from DOS line endings to UNIX early on, to simplify the regexes.
Modified paths:
  • /trunk/phase3/COPYING (modified) (history)
  • /trunk/phase3/README (modified) (history)
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/UPGRADE (modified) (history)
  • /trunk/phase3/includes/installer/WebInstallerPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/UPGRADE
@@ -1,3 +1,4 @@
 2+
23 This file provides an overview of the MediaWiki upgrade process. For help with
34 specific problems, check
45
@@ -118,10 +119,8 @@
119120 from the list on Special:Recentchanges, although the deletions themselves
120121 will be hidden by default. (Click "show bot edits" to list them.)
121122
122 -
123123 See RELEASE-NOTES for more details about new and changed options.
124124
125 -
126125 == Upgrading from 1.7 wikis ==
127126
128127 $wgDefaultUserOptions now contains all the defaults, not only overrides.
@@ -131,9 +130,6 @@
132131 == Upgrading from 1.6 wikis ==
133132
134133 $wgLocalTZoffset was in hours, it is now using minutes.
135 -Link autonumbering got fixed (#5918) for protocols other than http.
136 - - 'irc://irc.server.tld/' render as a link with a chat icon
137 - - '[irc://irc.server.tld]' render as an autonumbered link: [1]
138134
139135 == Upgrading from pre-1.5 wikis ==
140136
@@ -259,20 +255,21 @@
260256 As well as new messages, the processing of some messages has changed.
261257 If you have customized them, please compare the new format using
262258 Special:Allmessages or the relevant LanguageXX.php files:
263 - copyrightwarning
264 - dberrortext
265 - editingcomment (was named commentedit)
266 - editingsection (was named sectionedit)
267 - numauthors
268 - numedits
269 - numtalkauthors
270 - numtalkedits
271 - numwatchers
272 - protectedarticle
273 - searchresulttext
274 - showhideminor
275 - unprotectedarticle
276259
 260+* copyrightwarning
 261+* dberrortext
 262+* editingcomment (was named commentedit)
 263+* editingsection (was named sectionedit)
 264+* numauthors
 265+* numedits
 266+* numtalkauthors
 267+* numtalkedits
 268+* numwatchers
 269+* protectedarticle
 270+* searchresulttext
 271+* showhideminor
 272+* unprotectedarticle
 273+
277274 Note that the 1.3 beta releases included a potential vulnerability if PHP
278275 is configured with register_globals on and the includes directory is
279276 served to the web. For general safety, turn register_globals *off* if you
Index: trunk/phase3/includes/installer/WebInstallerPage.php
@@ -979,6 +979,7 @@
980980
981981 public function execute() {
982982 $text = $this->getFileContents();
 983+ $text = $this->formatTextFile( $text );
983984 $this->parent->output->addWikiText( $text );
984985 $this->startForm();
985986 $this->endForm( false );
@@ -989,24 +990,21 @@
990991 }
991992
992993 protected function formatTextFile( $text ) {
993 - $text = str_replace( array( '<', '{{', '[[' ),
994 - array( '&lt;', '&#123;&#123;', '&#91;&#91;' ), $text );
995 - // replace numbering with [1], [2], etc with MW-style numbering
996 - $text = preg_replace( "/\r?\n(\r?\n)?\\[\\d+\\]/m", "\\1#", $text );
 994+ // Use Unix line endings, escape some wikitext stuff
 995+ $text = str_replace( array( '<', '{{', '[[', "\r" ),
 996+ array( '&lt;', '&#123;&#123;', '&#91;&#91;', '' ), $text );
997997 // join word-wrapped lines into one
998998 do {
999999 $prev = $text;
1000 - $text = preg_replace( "/\n([\\*#])([^\r\n]*?)\r?\n([^\r\n#\\*:]+)/", "\n\\1\\2 \\3", $text );
 1000+ $text = preg_replace( "/\n([\\*#\t])([^\n]*?)\n([^\n#\\*:]+)/", "\n\\1\\2 \\3", $text );
10011001 } while ( $text != $prev );
 1002+ // Replace tab indents with colons
 1003+ $text = preg_replace( '/^\t\t/m', '::', $text );
 1004+ $text = preg_replace( '/^\t/m', ':', $text );
10021005 // turn (bug nnnn) into links
10031006 $text = preg_replace_callback('/bug (\d+)/', array( $this, 'replaceBugLinks' ), $text );
10041007 // add links to manual to every global variable mentioned
10051008 $text = preg_replace_callback('/(\$wg[a-z0-9_]+)/i', array( $this, 'replaceConfigLinks' ), $text );
1006 - // special case for <pre> - formatted links
1007 - do {
1008 - $prev = $text;
1009 - $text = preg_replace( '/^([^\\s].*?)\r?\n[\\s]+(https?:\/\/)/m', "\\1\n:\\2", $text );
1010 - } while ( $text != $prev );
10111009 return $text;
10121010 }
10131011
@@ -1023,49 +1021,18 @@
10241022 }
10251023
10261024 class WebInstaller_Readme extends WebInstaller_Document {
1027 -
10281025 protected function getFileName() { return 'README'; }
1029 -
1030 - public function getFileContents() {
1031 - return $this->formatTextFile( parent::getFileContents() );
1032 - }
1033 -
10341026 }
10351027
10361028 class WebInstaller_ReleaseNotes extends WebInstaller_Document {
1037 -
10381029 protected function getFileName() { return 'RELEASE-NOTES'; }
1039 -
1040 - public function getFileContents() {
1041 - return $this->formatTextFile( parent::getFileContents() );
1042 - }
1043 -
10441030 }
10451031
10461032 class WebInstaller_UpgradeDoc extends WebInstaller_Document {
1047 -
10481033 protected function getFileName() { return 'UPGRADE'; }
1049 -
1050 - public function getFileContents() {
1051 - return $this->formatTextFile( parent::getFileContents() );
1052 - }
1053 -
10541034 }
10551035
10561036 class WebInstaller_Copying extends WebInstaller_Document {
1057 -
10581037 protected function getFileName() { return 'COPYING'; }
1059 -
1060 - public function getFileContents() {
1061 - $text = parent::getFileContents();
1062 - $text = str_replace( "\x0C", '', $text );
1063 - $text = preg_replace_callback( '/\n[ \t]+/m', array( 'WebInstaller_Copying', 'replaceLeadingSpaces' ), $text );
1064 - $text = '<tt>' . nl2br( $text ) . '</tt>';
1065 - return $text;
1066 - }
1067 -
1068 - private static function replaceLeadingSpaces( $matches ) {
1069 - return "\n" . str_repeat( '&#160;', strlen( $matches[0] ) );
1070 - }
1071 -
10721038 }
 1039+
Index: trunk/phase3/COPYING
@@ -1,14 +1,15 @@
2 - GNU GENERAL PUBLIC LICENSE
3 - Version 2, June 1991
 2+== GNU GENERAL PUBLIC LICENSE ==
43
5 - Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6 - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
7 - Everyone is permitted to copy and distribute verbatim copies
8 - of this license document, but changing it is not allowed.
 4+Version 2, June 1991
95
10 - Preamble
 6+Copyright (C) 1989, 1991 Free Software Foundation, Inc.
 7+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 8+Everyone is permitted to copy and distribute verbatim copies
 9+of this license document, but changing it is not allowed.
1110
12 - The licenses for most software are designed to take away your
 11+=== Preamble ===
 12+
 13+The licenses for most software are designed to take away your
1314 freedom to share and change it. By contrast, the GNU General Public
1415 License is intended to guarantee your freedom to share and change free
1516 software--to make sure the software is free for all its users. This
@@ -18,48 +19,47 @@
1920 the GNU Library General Public License instead.) You can apply it to
2021 your programs, too.
2122
22 - When we speak of free software, we are referring to freedom, not
 23+When we speak of free software, we are referring to freedom, not
2324 price. Our General Public Licenses are designed to make sure that you
2425 have the freedom to distribute copies of free software (and charge for
2526 this service if you wish), that you receive source code or can get it
2627 if you want it, that you can change the software or use pieces of it
2728 in new free programs; and that you know you can do these things.
2829
29 - To protect your rights, we need to make restrictions that forbid
 30+To protect your rights, we need to make restrictions that forbid
3031 anyone to deny you these rights or to ask you to surrender the rights.
3132 These restrictions translate to certain responsibilities for you if you
3233 distribute copies of the software, or if you modify it.
3334
34 - For example, if you distribute copies of such a program, whether
 35+For example, if you distribute copies of such a program, whether
3536 gratis or for a fee, you must give the recipients all the rights that
3637 you have. You must make sure that they, too, receive or can get the
3738 source code. And you must show them these terms so they know their
3839 rights.
3940
40 - We protect your rights with two steps: (1) copyright the software, and
 41+We protect your rights with two steps: (1) copyright the software, and
4142 (2) offer you this license which gives you legal permission to copy,
4243 distribute and/or modify the software.
4344
44 - Also, for each author's protection and ours, we want to make certain
 45+Also, for each author's protection and ours, we want to make certain
4546 that everyone understands that there is no warranty for this free
4647 software. If the software is modified by someone else and passed on, we
4748 want its recipients to know that what they have is not the original, so
4849 that any problems introduced by others will not reflect on the original
4950 authors' reputations.
5051
51 - Finally, any free program is threatened constantly by software
 52+Finally, any free program is threatened constantly by software
5253 patents. We wish to avoid the danger that redistributors of a free
5354 program will individually obtain patent licenses, in effect making the
5455 program proprietary. To prevent this, we have made it clear that any
5556 patent must be licensed for everyone's free use or not licensed at all.
5657
57 - The precise terms and conditions for copying, distribution and
 58+The precise terms and conditions for copying, distribution and
5859 modification follow.
59 -
60 - GNU GENERAL PUBLIC LICENSE
61 - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6260
63 - 0. This License applies to any program or other work which contains
 61+== TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION ==
 62+
 63+'''0.''' This License applies to any program or other work which contains
6464 a notice placed by the copyright holder saying it may be distributed
6565 under the terms of this General Public License. The "Program", below,
6666 refers to any such program or work, and a "work based on the Program"
@@ -76,7 +76,7 @@
7777 Program (independent of having been made by running the Program).
7878 Whether that is true depends on what the Program does.
7979
80 - 1. You may copy and distribute verbatim copies of the Program's
 80+'''1.''' You may copy and distribute verbatim copies of the Program's
8181 source code as you receive it, in any medium, provided that you
8282 conspicuously and appropriately publish on each copy an appropriate
8383 copyright notice and disclaimer of warranty; keep intact all the
@@ -87,30 +87,30 @@
8888 You may charge a fee for the physical act of transferring a copy, and
8989 you may at your option offer warranty protection in exchange for a fee.
9090
91 - 2. You may modify your copy or copies of the Program or any portion
 91+'''2.''' You may modify your copy or copies of the Program or any portion
9292 of it, thus forming a work based on the Program, and copy and
9393 distribute such modifications or work under the terms of Section 1
9494 above, provided that you also meet all of these conditions:
9595
96 - a) You must cause the modified files to carry prominent notices
97 - stating that you changed the files and the date of any change.
 96+ '''a)''' You must cause the modified files to carry prominent notices
 97+ stating that you changed the files and the date of any change.
9898
99 - b) You must cause any work that you distribute or publish, that in
100 - whole or in part contains or is derived from the Program or any
101 - part thereof, to be licensed as a whole at no charge to all third
102 - parties under the terms of this License.
 99+ '''b)''' You must cause any work that you distribute or publish, that in
 100+ whole or in part contains or is derived from the Program or any
 101+ part thereof, to be licensed as a whole at no charge to all third
 102+ parties under the terms of this License.
103103
104 - c) If the modified program normally reads commands interactively
105 - when run, you must cause it, when started running for such
106 - interactive use in the most ordinary way, to print or display an
107 - announcement including an appropriate copyright notice and a
108 - notice that there is no warranty (or else, saying that you provide
109 - a warranty) and that users may redistribute the program under
110 - these conditions, and telling the user how to view a copy of this
111 - License. (Exception: if the Program itself is interactive but
112 - does not normally print such an announcement, your work based on
113 - the Program is not required to print an announcement.)
114 -
 104+ '''c)''' If the modified program normally reads commands interactively
 105+ when run, you must cause it, when started running for such
 106+ interactive use in the most ordinary way, to print or display an
 107+ announcement including an appropriate copyright notice and a
 108+ notice that there is no warranty (or else, saying that you provide
 109+ a warranty) and that users may redistribute the program under
 110+ these conditions, and telling the user how to view a copy of this
 111+ License. (Exception: if the Program itself is interactive but
 112+ does not normally print such an announcement, your work based on
 113+ the Program is not required to print an announcement.)
 114+
115115 These requirements apply to the modified work as a whole. If
116116 identifiable sections of that work are not derived from the Program,
117117 and can be reasonably considered independent and separate works in
@@ -131,26 +131,26 @@
132132 a storage or distribution medium does not bring the other work under
133133 the scope of this License.
134134
135 - 3. You may copy and distribute the Program (or a work based on it,
 135+'''3.''' You may copy and distribute the Program (or a work based on it,
136136 under Section 2) in object code or executable form under the terms of
137137 Sections 1 and 2 above provided that you also do one of the following:
138138
139 - a) Accompany it with the complete corresponding machine-readable
140 - source code, which must be distributed under the terms of Sections
141 - 1 and 2 above on a medium customarily used for software interchange; or,
 139+ '''a)''' Accompany it with the complete corresponding machine-readable
 140+ source code, which must be distributed under the terms of Sections
 141+ 1 and 2 above on a medium customarily used for software interchange; or,
142142
143 - b) Accompany it with a written offer, valid for at least three
144 - years, to give any third party, for a charge no more than your
145 - cost of physically performing source distribution, a complete
146 - machine-readable copy of the corresponding source code, to be
147 - distributed under the terms of Sections 1 and 2 above on a medium
148 - customarily used for software interchange; or,
 143+ '''b)''' Accompany it with a written offer, valid for at least three
 144+ years, to give any third party, for a charge no more than your
 145+ cost of physically performing source distribution, a complete
 146+ machine-readable copy of the corresponding source code, to be
 147+ distributed under the terms of Sections 1 and 2 above on a medium
 148+ customarily used for software interchange; or,
149149
150 - c) Accompany it with the information you received as to the offer
151 - to distribute corresponding source code. (This alternative is
152 - allowed only for noncommercial distribution and only if you
153 - received the program in object code or executable form with such
154 - an offer, in accord with Subsection b above.)
 150+ '''c)''' Accompany it with the information you received as to the offer
 151+ to distribute corresponding source code. (This alternative is
 152+ allowed only for noncommercial distribution and only if you
 153+ received the program in object code or executable form with such
 154+ an offer, in accord with Subsection b above.)
155155
156156 The source code for a work means the preferred form of the work for
157157 making modifications to it. For an executable work, complete source
@@ -168,8 +168,8 @@
169169 access to copy the source code from the same place counts as
170170 distribution of the source code, even though third parties are not
171171 compelled to copy the source along with the object code.
172 -
173 - 4. You may not copy, modify, sublicense, or distribute the Program
 172+
 173+'''4.''' You may not copy, modify, sublicense, or distribute the Program
174174 except as expressly provided under this License. Any attempt
175175 otherwise to copy, modify, sublicense or distribute the Program is
176176 void, and will automatically terminate your rights under this License.
@@ -177,7 +177,7 @@
178178 this License will not have their licenses terminated so long as such
179179 parties remain in full compliance.
180180
181 - 5. You are not required to accept this License, since you have not
 181+'''5.''' You are not required to accept this License, since you have not
182182 signed it. However, nothing else grants you permission to modify or
183183 distribute the Program or its derivative works. These actions are
184184 prohibited by law if you do not accept this License. Therefore, by
@@ -186,7 +186,7 @@
187187 all its terms and conditions for copying, distributing or modifying
188188 the Program or works based on it.
189189
190 - 6. Each time you redistribute the Program (or any work based on the
 190+'''6.''' Each time you redistribute the Program (or any work based on the
191191 Program), the recipient automatically receives a license from the
192192 original licensor to copy, distribute or modify the Program subject to
193193 these terms and conditions. You may not impose any further
@@ -194,7 +194,7 @@
195195 You are not responsible for enforcing compliance by third parties to
196196 this License.
197197
198 - 7. If, as a consequence of a court judgment or allegation of patent
 198+'''7.''' If, as a consequence of a court judgment or allegation of patent
199199 infringement or for any other reason (not limited to patent issues),
200200 conditions are imposed on you (whether by court order, agreement or
201201 otherwise) that contradict the conditions of this License, they do not
@@ -225,8 +225,8 @@
226226
227227 This section is intended to make thoroughly clear what is believed to
228228 be a consequence of the rest of this License.
229 -
230 - 8. If the distribution and/or use of the Program is restricted in
 229+
 230+'''8.''' If the distribution and/or use of the Program is restricted in
231231 certain countries either by patents or by copyrighted interfaces, the
232232 original copyright holder who places the Program under this License
233233 may add an explicit geographical distribution limitation excluding
@@ -234,7 +234,7 @@
235235 countries not thus excluded. In such case, this License incorporates
236236 the limitation as if written in the body of this License.
237237
238 - 9. The Free Software Foundation may publish revised and/or new versions
 238+'''9.''' The Free Software Foundation may publish revised and/or new versions
239239 of the General Public License from time to time. Such new versions will
240240 be similar in spirit to the present version, but may differ in detail to
241241 address new problems or concerns.
@@ -247,7 +247,7 @@
248248 this License, you may choose any version ever published by the Free Software
249249 Foundation.
250250
251 - 10. If you wish to incorporate parts of the Program into other free
 251+'''10.''' If you wish to incorporate parts of the Program into other free
252252 programs whose distribution conditions are different, write to the author
253253 to ask for permission. For software which is copyrighted by the Free
254254 Software Foundation, write to the Free Software Foundation; we sometimes
@@ -255,9 +255,9 @@
256256 of preserving the free status of all derivatives of our free software and
257257 of promoting the sharing and reuse of software generally.
258258
259 - NO WARRANTY
 259+=== NO WARRANTY ===
260260
261 - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
 261+'''11.''' BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
262262 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
263263 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
264264 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
@@ -267,7 +267,7 @@
268268 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
269269 REPAIR OR CORRECTION.
270270
271 - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
 271+'''12.''' IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
272272 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
273273 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
274274 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
@@ -277,46 +277,47 @@
278278 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
279279 POSSIBILITY OF SUCH DAMAGES.
280280
281 - END OF TERMS AND CONDITIONS
282 -
283 - How to Apply These Terms to Your New Programs
 281+ '''END OF TERMS AND CONDITIONS'''
284282
285 - If you develop a new program, and you want it to be of the greatest
 283+== How to Apply These Terms to Your New Programs ==
 284+
 285+If you develop a new program, and you want it to be of the greatest
286286 possible use to the public, the best way to achieve this is to make it
287287 free software which everyone can redistribute and change under these terms.
288288
289 - To do so, attach the following notices to the program. It is safest
 289+To do so, attach the following notices to the program. It is safest
290290 to attach them to the start of each source file to most effectively
291291 convey the exclusion of warranty; and each file should have at least
292292 the "copyright" line and a pointer to where the full notice is found.
293293
294 - <one line to give the program's name and a brief idea of what it does.>
295 - Copyright (C) <year> <name of author>
 294+ <one line to give the program's name and a brief idea of what it does.>
296295
297 - This program is free software; you can redistribute it and/or modify
298 - it under the terms of the GNU General Public License as published by
299 - the Free Software Foundation; either version 2 of the License, or
300 - (at your option) any later version.
 296+ Copyright (C) <year> <name of author>
301297
302 - This program is distributed in the hope that it will be useful,
303 - but WITHOUT ANY WARRANTY; without even the implied warranty of
304 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
305 - GNU General Public License for more details.
 298+ This program is free software; you can redistribute it and/or modify
 299+ it under the terms of the GNU General Public License as published by
 300+ the Free Software Foundation; either version 2 of the License, or
 301+ (at your option) any later version.
306302
307 - You should have received a copy of the GNU General Public License
308 - along with this program; if not, write to the Free Software
309 - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 303+ This program is distributed in the hope that it will be useful,
 304+ but WITHOUT ANY WARRANTY; without even the implied warranty of
 305+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 306+ GNU General Public License for more details.
310307
 308+ You should have received a copy of the GNU General Public License
 309+ along with this program; if not, write to the Free Software
 310+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
311311
 312+
312313 Also add information on how to contact you by electronic and paper mail.
313314
314315 If the program is interactive, make it output a short notice like this
315316 when it starts in an interactive mode:
316317
317 - Gnomovision version 69, Copyright (C) year name of author
318 - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
319 - This is free software, and you are welcome to redistribute it
320 - under certain conditions; type `show c' for details.
 318+ Gnomovision version 69, Copyright (C) year name of author
 319+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
 320+ This is free software, and you are welcome to redistribute it
 321+ under certain conditions; type `show c' for details.
321322
322323 The hypothetical commands `show w' and `show c' should show the appropriate
323324 parts of the General Public License. Of course, the commands you use may
@@ -327,12 +328,13 @@
328329 school, if any, to sign a "copyright disclaimer" for the program, if
329330 necessary. Here is a sample; alter the names:
330331
331 - Yoyodyne, Inc., hereby disclaims all copyright interest in the program
332 - `Gnomovision' (which makes passes at compilers) written by James Hacker.
 332+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
 333+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
333334
334 - <signature of Ty Coon>, 1 April 1989
335 - Ty Coon, President of Vice
 335+ <signature of Ty Coon>, 1 April 1989
336336
 337+ Ty Coon, President of Vice
 338+
337339 This General Public License does not permit incorporating your program into
338340 proprietary programs. If your program is a subroutine library, you may
339341 consider it more useful to permit linking proprietary applications with the
Index: trunk/phase3/README
@@ -39,7 +39,7 @@
4040 * Several others (view CREDITS for a more complete list)
4141
4242 The contributors hold the copyright to this work, and it is licensed under the
43 -terms of the GNU General Public License, version 2 or later[1] (see
 43+terms of the GNU General Public License, version 2 or later (see
4444 http://www.fsf.org/licensing/licenses/gpl.html). Derivative works and later
4545 versions of the code must be free software licensed under the same or a
4646 compatible license. This includes "extensions" that use MediaWiki functions or
@@ -48,66 +48,65 @@
4949
5050 The Wikimedia Foundation currently has no legal rights to the software.
5151
52 -[1] Sections of code written exclusively by Lee Crocker or Erik Moeller are also
 52+Sections of code written exclusively by Lee Crocker or Erik Moeller are also
5353 released into the public domain, which does not impair the obligations of users
5454 under the GPL for use of the whole code or other sections thereof.
5555
56 -[2] MediaWiki makes use of the Sajax Toolkit by modernmethod,
57 - http://www.modernmethod.com/sajax/
58 - which has the following license:
 56+MediaWiki makes use of the Sajax Toolkit by modernmethod,
 57+http://www.modernmethod.com/sajax/ which has the following license:
5958
60 - 'This work is licensed under the Creative Commons Attribution
61 - License. To view a copy of this license, visit
62 - http://creativecommons.org/licenses/by/2.0/ or send a letter
63 - to Creative Commons, 559 Nathan Abbott Way,
64 - Stanford, California 94305, USA.'
 59+ 'This work is licensed under the Creative Commons Attribution
 60+ License. To view a copy of this license, visit
 61+ http://creativecommons.org/licenses/by/2.0/ or send a letter
 62+ to Creative Commons, 559 Nathan Abbott Way,
 63+ Stanford, California 94305, USA.'
6564
66 -[3] MediaWiki use Creative Commons license marks to points to their online
 65+MediaWiki use Creative Commons license marks to points to their online
6766 licenses. This content is trademarked and used under a specific license
6867 available at http://creativecommons.org/policies#trademark
6968 The restricted content is:
70 - skins/common/images/cc-by-nc-sa.png
71 - skins/common/images/cc-by-sa.png
7269
 70+* skins/common/images/cc-by-nc-sa.png
 71+* skins/common/images/cc-by-sa.png
7372
7473 Many thanks to the Wikimedia regulars for testing and suggestions.
7574
7675 The official website for MediaWiki is located at:
7776
78 - http://www.mediawiki.org/
 77+ http://www.mediawiki.org/
7978
8079 The code is currently maintained in a Subversion repository at
8180 svn.wikimedia.org. See http://www.mediawiki.org/wiki/Subversion for details.
8281
8382 Please report bugs and make feature requests in our Bugzilla system:
8483
85 - https://bugzilla.wikimedia.org/
 84+* https://bugzilla.wikimedia.org/
8685
8786 Documentation and discussion on new features may be found at:
8887
89 - http://www.mediawiki.org/wiki/Manual:FAQ
90 - http://www.mediawiki.org/wiki/Documentation
91 - http://www.mediawiki.org/wiki/Development
 88+* http://www.mediawiki.org/wiki/Manual:FAQ
 89+* http://www.mediawiki.org/wiki/Documentation
 90+* http://www.mediawiki.org/wiki/Development
9291
9392 Extensions are listed at:
9493
95 - http://www.mediawiki.org/wiki/Category:Extensions
 94+* http://www.mediawiki.org/wiki/Category:Extensions
9695
9796 If you are setting up your own wiki based on this software, it is highly
9897 recommended that you subscribe to mediawiki-announce:
9998
100 - https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
 99+* https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
101100
102101 The mailing list is very low volume, and is intended primarily for announcements
103102 of new versions, bug fixes, and security issues.
104103
105104 A higher volume support mailing list can be found at:
106105
107 - https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
 106+* https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
108107
109108 Developer discussion takes place at:
110109
111 - https://lists.wikimedia.org/mailman/listinfo/wikitech-l
 110+* https://lists.wikimedia.org/mailman/listinfo/wikitech-l
112111
113112 There is also a development and support channel #mediawiki on irc.freenode.net,
114113 and an unoffical support forum at www.mwusers.com.
Index: trunk/phase3/RELEASE-NOTES
@@ -635,7 +635,7 @@
636636 License (except for pages that explicitly state that their contents are in
637637 the public domain) :
638638
639 - http://www.mediawiki.org/wiki/Documentation
 639+ http://www.mediawiki.org/wiki/Documentation
640640
641641
642642 === Mailing list ===
@@ -643,11 +643,11 @@
644644 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
645645 wikitech-l list:
646646
647 - http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
 647+ http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
648648
649649 A low-traffic announcements-only list is also available:
650650
651 - http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
 651+ http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
652652
653653 It's highly recommended that you sign up for one of these lists if you're
654654 going to run a public MediaWiki, so you can be notified of security fixes.

Comments

#Comment by 😂 (talk | contribs)   13:36, 6 December 2010

Wow, that looks great now, thanks!

Status & tagging log