Index: trunk/extensions/LinkFilter/LinkPage.php |
— | — | @@ -142,7 +142,7 @@ |
143 | 143 | $dbr = wfGetDB( DB_MASTER ); |
144 | 144 | $createDate = $dbr->selectField( |
145 | 145 | 'revision', |
146 | | - array( 'rev_timestamp' ), |
| 146 | + 'rev_timestamp', |
147 | 147 | array( 'rev_page' => intval( $pageId ) ), |
148 | 148 | __METHOD__, |
149 | 149 | array( 'ORDER BY' => 'rev_timestamp ASC' ) |
Index: trunk/extensions/LinkFilter/SpecialLinksHome.php |
— | — | @@ -154,7 +154,8 @@ |
155 | 155 | |
156 | 156 | // Add CSS & JS |
157 | 157 | if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) { |
158 | | - $wgOut->addModules( 'ext.linkFilter' ); |
| 158 | + $wgOut->addModuleStyles( 'ext.linkFilter' ); |
| 159 | + $wgOut->addModuleScripts( 'ext.linkFilter' ); |
159 | 160 | } else { |
160 | 161 | $wgOut->addExtensionStyle( $wgLinkFilterScripts . '/LinkFilter.css' ); |
161 | 162 | $wgOut->addScriptFile( $wgLinkFilterScripts . '/LinkFilter.js' ); |
Index: trunk/extensions/LinkFilter/SpecialLinkApprove.php |
— | — | @@ -123,7 +123,8 @@ |
124 | 124 | |
125 | 125 | // Add CSS & JS |
126 | 126 | if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) { |
127 | | - $wgOut->addModules( 'ext.linkFilter' ); |
| 127 | + $wgOut->addModuleStyles( 'ext.linkFilter' ); |
| 128 | + $wgOut->addModuleScripts( 'ext.linkFilter' ); |
128 | 129 | } else { |
129 | 130 | $wgOut->addExtensionStyle( $wgLinkFilterScripts . '/LinkFilter.css' ); |
130 | 131 | $wgOut->addScriptFile( $wgLinkFilterScripts . '/LinkFilter.js' ); |
Index: trunk/extensions/LinkFilter/SpecialLinkEdit.php |
— | — | @@ -37,7 +37,8 @@ |
38 | 38 | |
39 | 39 | // Add CSS & JS |
40 | 40 | if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) { |
41 | | - $wgOut->addModules( 'ext.linkFilter' ); |
| 41 | + $wgOut->addModuleStyles( 'ext.linkFilter' ); |
| 42 | + $wgOut->addModuleScripts( 'ext.linkFilter' ); |
42 | 43 | } else { |
43 | 44 | $wgOut->addExtensionStyle( $wgLinkFilterScripts . '/LinkFilter.css' ); |
44 | 45 | $wgOut->addScriptFile( $wgLinkFilterScripts . '/LinkFilter.js' ); |
Index: trunk/extensions/LinkFilter/SpecialLinkSubmit.php |
— | — | @@ -49,7 +49,8 @@ |
50 | 50 | |
51 | 51 | // Add CSS & JS (JS is required by displayAddForm()) |
52 | 52 | if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) { |
53 | | - $wgOut->addModules( 'ext.linkFilter' ); |
| 53 | + $wgOut->addModuleStyles( 'ext.linkFilter' ); |
| 54 | + $wgOut->addModuleScripts( 'ext.linkFilter' ); |
54 | 55 | } else { |
55 | 56 | $wgOut->addExtensionStyle( $wgLinkFilterScripts . '/LinkFilter.css' ); |
56 | 57 | $wgOut->addScriptFile( $wgLinkFilterScripts . '/LinkFilter.js' ); |