jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/403169 )
Change subject: Make "Category name" field on Special:CreateClass page as
optional
......................................................................
Make "Category name" field on Special:CreateClass page as optional
Bug: T183996
Change-Id: I21606107788d2bcca118a1471252b7d5f1886e64
---
M specials/PF_CreateClass.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Fz-29: Looks good to me, but someone else must approve
Yaron Koren: Looks good to me, approved
jenkins-bot: Verified
diff --git a/specials/PF_CreateClass.php b/specials/PF_CreateClass.php
index 4a31c2f..b714cbb 100644
--- a/specials/PF_CreateClass.php
+++ b/specials/PF_CreateClass.php
@@ -42,7 +42,7 @@
$form_name = trim( $req->getVal( "form_name" ) );
$category_name = trim( $req->getVal( "category_name" )
);
}
- if ( $template_name === '' || ( !$template_multiple && (
$form_name === '' || $category_name === '' ) ) ||
+ if ( $template_name === '' || ( !$template_multiple &&
$form_name === '' ) ||
( $use_cargo && ( $cargo_table === '' ) ) ) {
$out->addWikiMsg( 'pf_createclass_missingvalues' );
return;
--
To view, visit https://gerrit.wikimedia.org/r/403169
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I21606107788d2bcca118a1471252b7d5f1886e64
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/PageForms
Gerrit-Branch: master
Gerrit-Owner: Eflyjason <[email protected]>
Gerrit-Reviewer: Eflyjason <[email protected]>
Gerrit-Reviewer: Fz-29 <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits