Yaron Koren has uploaded a new change for review.
https://gerrit.wikimedia.org/r/317846
Change subject: Yet more fixes for string replacement
......................................................................
Yet more fixes for string replacement
Change-Id: I9e02ba69e15bd290c8c25cfce9cc0fe580575000
---
M includes/PF_ValuesUtils.php
M includes/forminputs/PF_CheckboxInput.php
M specials/PF_CreateCategory.php
M specials/PF_CreateForm.php
M specials/PF_UploadForm.php
5 files changed, 5 insertions(+), 5 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PageForms
refs/changes/46/317846/2
diff --git a/includes/PF_ValuesUtils.php b/includes/PF_ValuesUtils.php
index 9bd1247..c8ac4a2 100644
--- a/includes/PF_ValuesUtils.php
+++ b/includes/PF_ValuesUtils.php
@@ -184,7 +184,7 @@
// namespace
that no longer exists.
continue;
}
- $cur_value =
pFUtils::titleString( $cur_title );
+ $cur_value =
PFUtils::titleString( $cur_title );
if ( ! in_array(
$cur_value, $pages ) ) {
$pages[] =
$cur_value;
}
diff --git a/includes/forminputs/PF_CheckboxInput.php
b/includes/forminputs/PF_CheckboxInput.php
index 6e8de4e..27a2d99 100644
--- a/includes/forminputs/PF_CheckboxInput.php
+++ b/includes/forminputs/PF_CheckboxInput.php
@@ -3,7 +3,7 @@
* File holding the PFCheckboxInput class
*
* @file
- * @ingroup pF
+ * @ingroup PF
*/
/**
diff --git a/specials/PF_CreateCategory.php b/specials/PF_CreateCategory.php
index d18d767..20dd05e 100644
--- a/specials/PF_CreateCategory.php
+++ b/specials/PF_CreateCategory.php
@@ -110,7 +110,7 @@
$text .= Html::rawElement( 'p', null, $firstRow ) . "\n";
$secondRow = wfMessage( 'pf_createcategory_makesubcategory'
)->escaped() . ' ';
$selectBody = "\t" . Html::element( 'option', null, null ).
"\n";
- $categories = pFValuesUtils::getCategoriesForPage();
+ $categories = PFValuesUtils::getCategoriesForPage();
foreach ( $categories as $category ) {
$category = str_replace( '_', ' ', $category );
$selectBody .= "\t" . Html::element( 'option', null,
$category ) . "\n";
diff --git a/specials/PF_CreateForm.php b/specials/PF_CreateForm.php
index d2025bd..40381f3 100644
--- a/specials/PF_CreateForm.php
+++ b/specials/PF_CreateForm.php
@@ -5,7 +5,7 @@
*
* @author Yaron Koren
* @file
- * @ingroup pF
+ * @ingroup PF
*/
/**
diff --git a/specials/PF_UploadForm.php b/specials/PF_UploadForm.php
index 965f381..df50356 100644
--- a/specials/PF_UploadForm.php
+++ b/specials/PF_UploadForm.php
@@ -101,7 +101,7 @@
}
$descriptor['UploadFile'] = array(
- 'class' => 'pFUploadSourceField',
+ 'class' => 'PFUploadSourceField',
'section' => 'source',
'type' => 'file',
'id' => 'wpUploadFile',
--
To view, visit https://gerrit.wikimedia.org/r/317846
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e02ba69e15bd290c8c25cfce9cc0fe580575000
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/PageForms
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits