Skip to content

Commit

Permalink
Add min/max values to priority
Browse files Browse the repository at this point in the history
  • Loading branch information
iMarbot committed Apr 20, 2024
1 parent 290eab1 commit 3766b3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/SpecialPage/SpecialResourceLoaderArticles.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ private function addPage() {
'type' => 'int',
'required' => true,
'default' => '0',
'min' => -1000,
'max' => 1000,
],
];

Expand Down Expand Up @@ -227,6 +229,8 @@ private function editPage( $id ) {
'type' => 'int',
'required' => true,
'default' => $row->rla_priority,
'min' => -1000,
'max' => 1000,
],
];

Expand Down

0 comments on commit 3766b3c

Please sign in to comment.