Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add style loading compatibility for 1.35
Using wgVersion determine the current version of MediaWiki. In the case of < 1.35 use initPage (has been around since 1.31) instead of setupSkinUserCss (deprecated since 1.31) For > 1.35 use skin styles registration via options in SetupAfterCache. When support is dropped for < 1.35 all the version guarded code can be dropped. Fixes: #202 Fixes: #110
- Loading branch information
1 parent
64284f4
commit 40a60c9
Showing
3 changed files
with
28 additions
and
34 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
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