Index: trunk/extensions/ProofreadPage/ProofreadPage.i18n.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | |
12 | 12 | $messages['en'] = array( |
13 | 13 | 'indexpages' => 'List of index pages', |
14 | | - 'nakedpages' => 'Texts without scans', |
| 14 | + 'pageswithoutscans' => 'Pages without scans', |
15 | 15 | 'proofreadpage_desc' => 'Allow easy comparison of text to the original scan', |
16 | 16 | 'proofreadpage_namespace' => 'Page', |
17 | 17 | 'proofreadpage_index_namespace' => 'Index', |
Index: trunk/extensions/ProofreadPage/SpecialNakedPages.php |
— | — | @@ -23,23 +23,23 @@ |
24 | 24 | * |
25 | 25 | */ |
26 | 26 | |
27 | | -class NakedPages extends SpecialPage { |
| 27 | +class PagesWithoutScans extends SpecialPage { |
28 | 28 | |
29 | 29 | function __construct() { |
30 | | - parent::__construct( 'NakedPages' ); |
| 30 | + parent::__construct( 'PagesWithoutScans' ); |
31 | 31 | } |
32 | 32 | |
33 | 33 | function execute( $parameters ) { |
34 | 34 | global $wgOut, $wgRequest, $wgDisableTextSearch; |
35 | 35 | $this->setHeaders(); |
36 | 36 | list( $limit, $offset ) = wfCheckLimits(); |
37 | | - $cnl = new NakedPagesQuery( ); |
| 37 | + $cnl = new PagesWithoutScansQuery( ); |
38 | 38 | $cnl->doQuery( $offset, $limit ); |
39 | 39 | } |
40 | 40 | } |
41 | 41 | |
42 | 42 | |
43 | | -class NakedPagesQuery extends QueryPage { |
| 43 | +class PagesWithoutScansQuery extends QueryPage { |
44 | 44 | |
45 | 45 | function __construct( ) { |
46 | 46 | wfLoadExtensionMessages( 'ProofreadPage' ); |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | } |
50 | 50 | |
51 | 51 | function getName() { |
52 | | - return 'NakedPages'; |
| 52 | + return 'PagesWithoutScans'; |
53 | 53 | } |
54 | 54 | |
55 | 55 | function isExpensive() { |
Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -44,9 +44,9 @@ |
45 | 45 | $wgSpecialPageGroups['IndexPages'] = 'pages'; |
46 | 46 | |
47 | 47 | # special page |
48 | | -$wgAutoloadClasses['NakedPages'] = dirname( __FILE__ ) . '/SpecialNakedPages.php'; |
49 | | -$wgSpecialPages['NakedPages'] = 'NakedPages'; |
50 | | -$wgSpecialPageGroups['NakedPages'] = 'maintenance'; |
| 48 | +$wgAutoloadClasses['PagesWithoutScans'] = dirname( __FILE__ ) . '/SpecialNakedPages.php'; |
| 49 | +$wgSpecialPages['PagesWithoutScans'] = 'PagesWithoutScans'; |
| 50 | +$wgSpecialPageGroups['PagesWithoutScans'] = 'maintenance'; |
51 | 51 | |
52 | 52 | # Bump the version number every time you change proofread.js |
53 | 53 | $wgProofreadPageVersion = 27; |