Skip to content

Commit

Permalink
T11069: Add $wgPageImagesLeadSectionOnly to ManageWikiSettings (#5350)
Browse files Browse the repository at this point in the history
Requested on https://phabricator.miraheze.org/T11069. I think the seo
category is the most adecuate for this one.
  • Loading branch information
redbluegreenhat authored Jan 4, 2024
1 parent 84bba1f commit 1cf095b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ManageWikiSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,15 @@
'help' => 'Allows to change the page language for MediaWiki pages.',
'requires' => [],
],
'wgPageImagesLeadSectionOnly' => [
'name' => 'Only choose images from section 0',
'from' => 'pageimages',
'type' => 'check',
'overridedefault' => true,
'section' => 'seo',
'help' => 'Uncheck if the PageImages extension should take into account images from all sections',
'requires' => [],
],

// Maps (E.G navigation)
'wgKartographerWikivoyageMode' => [
Expand Down

0 comments on commit 1cf095b

Please sign in to comment.