Index: branches/wmf/1.17wmf1/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -205,8 +205,8 @@ |
206 | 206 | $wgRemoveGroups['bureaucrat'][] = 'reviewer'; |
207 | 207 | |
208 | 208 | # URL location for flaggedrevs.css and flaggedrevs.js |
209 | | -# Use a literal $wgScriptPath as a placeholder for the runtime value of $wgScriptPath |
210 | | -$wgFlaggedRevsStylePath = '$wgScriptPath/extensions/FlaggedRevs/client'; |
| 209 | +# Use a literal $wgExtensionAssetsPath as a placeholder for the runtime value of $wgExtensionAssetsPath |
| 210 | +$wgFlaggedRevsStylePath = '$wgExtensionAssetsPath/FlaggedRevs/client'; |
211 | 211 | |
212 | 212 | # How far the logs for overseeing quality revisions and depreciations go |
213 | 213 | $wgFlaggedRevsOversightAge = 30 * 24 * 3600; |
— | — | @@ -250,7 +250,7 @@ |
251 | 251 | $wgAvailableRights[] = 'stablesettings'; |
252 | 252 | |
253 | 253 | # Bump this number every time you change flaggedrevs.css/flaggedrevs.js |
254 | | -$wgFlaggedRevStyleVersion = 86; |
| 254 | +$wgFlaggedRevStyleVersion = 87; |
255 | 255 | |
256 | 256 | $wgExtensionFunctions[] = 'efLoadFlaggedRevs'; |
257 | 257 | |
Index: branches/wmf/1.17wmf1/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -361,8 +361,8 @@ |
362 | 362 | * @return string |
363 | 363 | */ |
364 | 364 | public static function styleUrlPath() { |
365 | | - global $wgFlaggedRevsStylePath, $wgScriptPath; |
366 | | - return str_replace( '$wgScriptPath', $wgScriptPath, $wgFlaggedRevsStylePath ); |
| 365 | + global $wgFlaggedRevsStylePath, $wgExtensionAssetsPath; |
| 366 | + return str_replace( '$wgExtensionAssetsPath', $wgExtensionAssetsPath, $wgFlaggedRevsStylePath ); |
367 | 367 | } |
368 | 368 | |
369 | 369 | # ################ Permission functions ################# |
Index: branches/wmf/1.17wmf1/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -145,9 +145,9 @@ |
146 | 146 | 'Watchlist', 'Recentchanges', 'Contributions', 'Recentchangeslinked' ); |
147 | 147 | foreach ( $spPages as $key ) { |
148 | 148 | if ( $title->isSpecial( $key ) ) { |
149 | | - global $wgScriptPath, $wgFlaggedRevsStylePath, $wgFlaggedRevStyleVersion; |
150 | | - $stylePath = str_replace( '$wgScriptPath', |
151 | | - $wgScriptPath, $wgFlaggedRevsStylePath ); |
| 149 | + global $wgExtensionAssetsPath, $wgFlaggedRevsStylePath, $wgFlaggedRevStyleVersion; |
| 150 | + $stylePath = str_replace( '$wgExtensionAssetsPath', |
| 151 | + $wgExtensionAssetsPath, $wgFlaggedRevsStylePath ); |
152 | 152 | $encCssFile = htmlspecialchars( "$stylePath/flaggedrevs.css?" . |
153 | 153 | $wgFlaggedRevStyleVersion ); |
154 | 154 | $out->addExtensionStyle( $encCssFile ); |
Index: branches/wmf/1.17wmf1/extensions/FlaggedRevs/client/flaggedrevs.css |
— | — | @@ -38,6 +38,10 @@ |
39 | 39 | width: 100%; |
40 | 40 | clear: both; |
41 | 41 | } |
| 42 | +.rtl table.flaggedrevs_editnotice, |
| 43 | +.rtl table.flaggedrevs_viewnotice { |
| 44 | + text-align: right; |
| 45 | +} |
42 | 46 | |
43 | 47 | div.flaggedrevs_diffnotice, |
44 | 48 | div.flaggedrevs_preview { |