-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PageImages support for mode=gallery on non file pages (#275)
In gallery mode, attempting to automatically detect whether: - PageImages is enabled - If it is, if a non file page has a PageImage If both are true, it should try to use the PageImage for the gallery and the page name for the image caption. Right now, it also makes the page name in the caption a link, and points the image link to the page as well. Could not figure out how to make this behavior optional. Gallery mode for file pages should be untouched. Notes: - This behavior is similar, but not a perfect match to DPL_(Wikimedia)'s PageImages in gallery mode. - Unsure if some of the solutions are the most optimal. The way its detecting if PageImages is enabled is a bit clumsy. Co-authored-by: CosmicAlpha <[email protected]>
- Loading branch information
1 parent
b58a5cb
commit df4ff96
Showing
2 changed files
with
52 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters