Umherirrender has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/379288 )
Change subject: Fix case of SpecialRecentChanges class
..
Fix case of SpecialRecentChanges class
In comments, file name and test
Change-Id: Ib8cd202d36d35a36e7513f81cea4a7f8346661bc
---
M autoload.php
M includes/FormOptions.php
M includes/api/ApiFeedRecentChanges.php
M includes/changetags/ChangeTags.php
R includes/specials/SpecialRecentChanges.php
R includes/specials/SpecialRecentChangesLinked.php
M maintenance/archives/patch-bot.sql
M maintenance/archives/patch-watchlist.sql
M tests/phpunit/includes/specialpage/ChangesListSpecialPageTest.php
R tests/phpunit/includes/specials/SpecialRecentChangesTest.php
10 files changed, 11 insertions(+), 11 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/88/379288/1
diff --git a/autoload.php b/autoload.php
index 4dd5f12..b8da5bb 100644
--- a/autoload.php
+++ b/autoload.php
@@ -1408,8 +1408,8 @@
'SpecialRandomInCategory' => __DIR__ .
'/includes/specials/SpecialRandomInCategory.php',
'SpecialRandomredirect' => __DIR__ .
'/includes/specials/SpecialRandomredirect.php',
'SpecialRandomrootpage' => __DIR__ .
'/includes/specials/SpecialRandomrootpage.php',
- 'SpecialRecentChanges' => __DIR__ .
'/includes/specials/SpecialRecentchanges.php',
- 'SpecialRecentChangesLinked' => __DIR__ .
'/includes/specials/SpecialRecentchangeslinked.php',
+ 'SpecialRecentChanges' => __DIR__ .
'/includes/specials/SpecialRecentChanges.php',
+ 'SpecialRecentChangesLinked' => __DIR__ .
'/includes/specials/SpecialRecentChangesLinked.php',
'SpecialRedirect' => __DIR__ . '/includes/specials/SpecialRedirect.php',
'SpecialRedirectToSpecial' => __DIR__ .
'/includes/specialpage/RedirectSpecialPage.php',
'SpecialRemoveCredentials' => __DIR__ .
'/includes/specials/SpecialRemoveCredentials.php',
diff --git a/includes/FormOptions.php b/includes/FormOptions.php
index 53c8d3b..cb1eb8a 100644
--- a/includes/FormOptions.php
+++ b/includes/FormOptions.php
@@ -29,7 +29,7 @@
/**
* Helper class to keep track of options when mixing links and form elements.
*
- * @todo This badly needs some examples and tests :) The usage in
SpecialRecentchanges class is a
+ * @todo This badly needs some examples and tests :) The usage in
SpecialRecentChanges class is a
* good ersatz in the meantime.
*/
class FormOptions implements ArrayAccess {
diff --git a/includes/api/ApiFeedRecentChanges.php
b/includes/api/ApiFeedRecentChanges.php
index 2a80dd5..46ee9ea 100644
--- a/includes/api/ApiFeedRecentChanges.php
+++ b/includes/api/ApiFeedRecentChanges.php
@@ -38,7 +38,7 @@
}
/**
-* Format the rows (generated by SpecialRecentchanges or
SpecialRecentchangeslinked)
+* Format the rows (generated by SpecialRecentChanges or
SpecialRecentChangesLinked)
* as an RSS/Atom feed.
*/
public function execute() {
diff --git a/includes/changetags/ChangeTags.php
b/includes/changetags/ChangeTags.php
index fa98124..1af082c 100644
--- a/includes/changetags/ChangeTags.php
+++ b/includes/changetags/ChangeTags.php
@@ -976,7 +976,7 @@
// tags cannot contain commas (used as a delimiter in
tag_summary table),
// pipe (used as a delimiter between multiple tags in
- // SpecialRecentchanges and friends), or slashes (would break
tag description messages in
+ // SpecialRecentChanges and friends), or slashes (would break
tag description messages in
// MediaWiki namespace)
if ( strpos( $tag, ',' ) !== false || strpos( $tag, '|' ) !==
false
|| strpos( $tag, '/' ) !== false ) {
diff --git a/includes/specials/SpecialRecentchanges.php
b/includes/specials/SpecialRecentChanges.php
similarity index 100%
rename from includes/specials/SpecialRecentchanges.php
rename to includes/specials/SpecialRecentChanges.php
diff --git a/includes/specials/SpecialRecentchangeslinked.php
b/includes/specials/SpecialRecentChangesLinked.php
similarity index 100%
rename from includes/specials/SpecialRecentchangeslinked.php
rename to includes/specials/SpecialRecentChangesLinked.php
diff --git a/maintenance/archives/patch-bot.sql
b/maintenance/archives/patch-bot.sql
index 7625889..354cf33 100644
--- a/maintenance/archives/patch-bot.sql
+++ b/maintenance/archives/patch-bot.sql
@@ -3,7 +3,7 @@
-- marked 1 in rc_bot.
-- Change made 2002-12-15 by Brion VIBBER
--- this affects code in Article.php, User.php SpecialRecentchanges.php
+-- this affects code in Article.php, User.php SpecialRecentChanges.php
-- column also added to buildTables.inc
ALTER TABLE /*$wgDBprefix*/recentchanges
diff --git a/maintenance/archives/patch-watchlist.sql
b/maintenance/archives/patch-watchlist.sql
index 83826b7..359c310