Index: trunk/extensions/ChangeAuthor/ChangeAuthor.setup.php |
— | — | @@ -1,50 +0,0 @@ |
2 | | -<?php |
3 | | -/** |
4 | | - * This program is free software; you can redistribute it and/or modify |
5 | | - * it under the terms of the GNU General Public License as published by |
6 | | - * the Free Software Foundation; either version 3 of the License, or |
7 | | - * (at your option) any later version. |
8 | | - * |
9 | | - * @file |
10 | | - * @ingroup Extensions |
11 | | - * @author Roan Kattouw <roan.kattouw@home.nl> |
12 | | - * @copyright Copyright © 2007 Roan Kattouw |
13 | | - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License |
14 | | - * |
15 | | - * An extension that allows changing the author of a revision |
16 | | - * Written for the Bokt Wiki <http://www.bokt.nl/wiki/> by Roan Kattouw <roan.kattouw@home.nl> |
17 | | - * For information how to install and use this extension, see the README file. |
18 | | - */ |
19 | | -# Alert the user that this is not a valid entry point to MediaWiki if they try to access the extension file directly. |
20 | | -if( !defined( 'MEDIAWIKI' ) ) { |
21 | | - echo <<<EOT |
22 | | -To install the ChangeAuthor extension, put the following line in LocalSettings.php: |
23 | | -require_once( "\$IP/extensions/ChangeAuthor/ChangeAuthor.setup.php" ); |
24 | | -EOT; |
25 | | - exit( 1 ); |
26 | | -} |
27 | | - |
28 | | -// Extension credits that will show up on Special:Version |
29 | | -$wgExtensionCredits['specialpage'][] = array( |
30 | | - 'path' => __FILE__, |
31 | | - 'name' => 'ChangeAuthor', |
32 | | - 'author' => 'Roan Kattouw', |
33 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:ChangeAuthor', |
34 | | - 'version' => '1.1', |
35 | | - 'descriptionmsg' => 'changeauthor-desc', |
36 | | -); |
37 | | - |
38 | | -// Set up the new special page |
39 | | -$dir = dirname(__FILE__) . '/'; |
40 | | -$wgExtensionMessagesFiles['ChangeAuthor'] = $dir . 'ChangeAuthor.i18n.php'; |
41 | | -$wgExtensionAliasesFiles['ChangeAuthor'] = $dir . 'ChangeAuthor.alias.php'; |
42 | | -$wgAutoloadClasses['ChangeAuthor'] = $dir . 'ChangeAuthor.body.php'; |
43 | | - |
44 | | -$wgSpecialPages['ChangeAuthor'] = 'ChangeAuthor'; |
45 | | -$wgSpecialPageGroups['ChangeAuthor'] = 'pagetools'; |
46 | | - |
47 | | -// Add new log type |
48 | | -$wgLogTypes[] = 'changeauth'; |
49 | | -$wgLogNames['changeauth'] = 'changeauthor-logpagename'; |
50 | | -$wgLogHeaders['changeauth'] = 'changeauthor-logpagetext'; |
51 | | -$wgLogActions['changeauth/changeauth'] = 'changeauthor-logentry'; |
Index: trunk/extensions/ChangeAuthor/LEESMIJ |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | 3. INSTALLATIE |
25 | 25 | Download de .tar.gz genoemd onder (2.) en pak hem uit in /pad/naar/uw/wiki/extensions . Open dan LocalSettings.php, en voeg de volgende regel toe aan het einde: |
26 | 26 | |
27 | | -require_once("$IP/extensions/ChangeAuthor/ChangeAuthor.setup.php"); |
| 27 | +require_once("$IP/extensions/ChangeAuthor/ChangeAuthor.php"); |
28 | 28 | |
29 | 29 | Controleer nu op de speciale pagina Speciaal:Versie of "ChangeAuthor" aan de lijst van extensies toegevoegd is. |
30 | 30 | |
Index: trunk/extensions/ChangeAuthor/README |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | 3. INSTALLATION |
26 | 26 | Download the tarball mentioned in section 2, and extract it in /path/to/your/wiki/extensions . Open LocalSettings.php and add the following line at the end: |
27 | 27 | |
28 | | -require_once("$IP/extensions/ChangeAuthor/ChangeAuthor.setup.php"); |
| 28 | +require_once("$IP/extensions/ChangeAuthor/ChangeAuthor.php"); |
29 | 29 | |
30 | 30 | You should now see the ChangeAuthor extension listed on the Special:Version special page. |
31 | 31 | |
Index: trunk/extensions/ChangeAuthor/ChangeAuthor.php |
— | — | @@ -0,0 +1,50 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * This program is free software; you can redistribute it and/or modify |
| 5 | + * it under the terms of the GNU General Public License as published by |
| 6 | + * the Free Software Foundation; either version 3 of the License, or |
| 7 | + * (at your option) any later version. |
| 8 | + * |
| 9 | + * @file |
| 10 | + * @ingroup Extensions |
| 11 | + * @author Roan Kattouw <roan.kattouw@home.nl> |
| 12 | + * @copyright Copyright © 2007 Roan Kattouw |
| 13 | + * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License |
| 14 | + * |
| 15 | + * An extension that allows changing the author of a revision |
| 16 | + * Written for the Bokt Wiki <http://www.bokt.nl/wiki/> by Roan Kattouw <roan.kattouw@home.nl> |
| 17 | + * For information how to install and use this extension, see the README file. |
| 18 | + */ |
| 19 | +# Alert the user that this is not a valid entry point to MediaWiki if they try to access the extension file directly. |
| 20 | +if( !defined( 'MEDIAWIKI' ) ) { |
| 21 | + echo <<<EOT |
| 22 | +To install the ChangeAuthor extension, put the following line in LocalSettings.php: |
| 23 | +require_once( "\$IP/extensions/ChangeAuthor/ChangeAuthor.php" ); |
| 24 | +EOT; |
| 25 | + exit( 1 ); |
| 26 | +} |
| 27 | + |
| 28 | +// Extension credits that will show up on Special:Version |
| 29 | +$wgExtensionCredits['specialpage'][] = array( |
| 30 | + 'path' => __FILE__, |
| 31 | + 'name' => 'ChangeAuthor', |
| 32 | + 'author' => 'Roan Kattouw', |
| 33 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:ChangeAuthor', |
| 34 | + 'version' => '1.1', |
| 35 | + 'descriptionmsg' => 'changeauthor-desc', |
| 36 | +); |
| 37 | + |
| 38 | +// Set up the new special page |
| 39 | +$dir = dirname(__FILE__) . '/'; |
| 40 | +$wgExtensionMessagesFiles['ChangeAuthor'] = $dir . 'ChangeAuthor.i18n.php'; |
| 41 | +$wgExtensionAliasesFiles['ChangeAuthor'] = $dir . 'ChangeAuthor.alias.php'; |
| 42 | +$wgAutoloadClasses['ChangeAuthor'] = $dir . 'ChangeAuthor.body.php'; |
| 43 | + |
| 44 | +$wgSpecialPages['ChangeAuthor'] = 'ChangeAuthor'; |
| 45 | +$wgSpecialPageGroups['ChangeAuthor'] = 'pagetools'; |
| 46 | + |
| 47 | +// Add new log type |
| 48 | +$wgLogTypes[] = 'changeauth'; |
| 49 | +$wgLogNames['changeauth'] = 'changeauthor-logpagename'; |
| 50 | +$wgLogHeaders['changeauth'] = 'changeauthor-logpagetext'; |
| 51 | +$wgLogActions['changeauth/changeauth'] = 'changeauthor-logentry'; |
Property changes on: trunk/extensions/ChangeAuthor/ChangeAuthor.php |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 52 | + native |
Index: trunk/extensions/Configure/settings/Settings-ext.txt |
— | — | @@ -212,7 +212,6 @@ |
213 | 213 | url = http://www.mediawiki.org/wiki/Extension:CentralNotice |
214 | 214 | |
215 | 215 | ChangeAuthor |
216 | | -file = ChangeAuthor.setup.php |
217 | 216 | url = http://www.mediawiki.org/wiki/Extension:ChangeAuthor |
218 | 217 | |
219 | 218 | CharInsert |