Index: trunk/phase3/maintenance/dumpHTML.inc |
— | — | @@ -9,6 +9,10 @@ |
10 | 10 | require_once( 'includes/CategoryPage.php' ); |
11 | 11 | require_once( 'includes/RawPage.php' ); |
12 | 12 | |
| 13 | +# Explicitly disable article view counter (bug 6823) |
| 14 | +global $wgDisableCounters; |
| 15 | +$wgDisableCounters = true; |
| 16 | + |
13 | 17 | class DumpHTML { |
14 | 18 | # Destination directory |
15 | 19 | var $dest; |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1337,7 +1337,11 @@ |
1338 | 1338 | /** Lots of debugging output from SquidUpdate.php */ |
1339 | 1339 | $wgDebugSquid = false; |
1340 | 1340 | |
| 1341 | +/** Whereas to count the number of time an article is viewed. |
| 1342 | + * Does not work if pages are cached (for example with squid). |
| 1343 | + */ |
1341 | 1344 | $wgDisableCounters = false; |
| 1345 | + |
1342 | 1346 | $wgDisableTextSearch = false; |
1343 | 1347 | $wgDisableSearchContext = false; |
1344 | 1348 | /** |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -51,8 +51,8 @@ |
52 | 52 | == Maintenance script changes since 1.10 == |
53 | 53 | |
54 | 54 | * Add support for wgMaxTocLevel option in parserTests |
| 55 | +* (bug 6823) dumpHTML: explicitly disable article view counter |
55 | 56 | |
56 | | - |
57 | 57 | == Languages updated since 1.10 == |
58 | 58 | |
59 | 59 | * Arabic (ar) |