From d0a6dd09b9cd9d1c493c15adfd25b880f505e9af Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sat, 2 Jan 2016 07:46:05 +0000 Subject: [PATCH] Update mediawiki to v1.26 branch --- cookbooks/mediawiki/providers/extension.rb | 2 +- cookbooks/mediawiki/providers/site.rb | 19 +++++++++++++++++-- cookbooks/mediawiki/resources/site.rb | 2 +- .../templates/default/LocalSettings.php.erb | 1 - .../default/mw-ext-AbuseFilter.inc.php.erb | 2 +- .../default/mw-ext-Babel.inc.php.erb | 2 +- .../default/mw-ext-CheckUser.inc.php.erb | 2 +- .../default/mw-ext-CirrusSearch.inc.php.erb | 2 +- .../templates/default/mw-ext-Cite.inc.php.erb | 4 ---- .../default/mw-ext-CleanChanges.inc.php.erb | 2 +- .../default/mw-ext-ConfirmEdit.inc.php.erb | 2 +- .../default/mw-ext-DisableAccount.inc.php.erb | 2 +- .../mw-ext-LocalisationUpdate.inc.php.erb | 2 +- .../default/mw-ext-MobileFrontend.inc.php.erb | 2 +- .../mw-ext-ParserFunctions.inc.php.erb | 2 +- .../default/mw-ext-PdfHandler.inc.php.erb | 2 +- .../default/mw-ext-SpamBlacklist.inc.php.erb | 2 +- .../default/mw-ext-TitleBlacklist.inc.php.erb | 2 +- 18 files changed, 32 insertions(+), 22 deletions(-) delete mode 100644 cookbooks/mediawiki/templates/default/mw-ext-Cite.inc.php.erb diff --git a/cookbooks/mediawiki/providers/extension.rb b/cookbooks/mediawiki/providers/extension.rb index cb4cc5c84..33f7ad221 100644 --- a/cookbooks/mediawiki/providers/extension.rb +++ b/cookbooks/mediawiki/providers/extension.rb @@ -68,7 +68,7 @@ action :create do file "#{mediawiki_directory}/LocalSettings.d/Ext-#{new_resource.name}.inc.php" do action :create - content " String, :name_attribute => true attribute :aliases, :kind_of => [String, Array] attribute :directory, :kind_of => String -attribute :version, :kind_of => String, :default => "1.24" +attribute :version, :kind_of => String, :default => "1.26" attribute :database_name, :kind_of => String, :required => true attribute :database_user, :kind_of => String, :required => true attribute :database_password, :kind_of => String, :required => true diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index d61e1bb3d..85151cfdf 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -12,7 +12,6 @@ if ( !defined( 'MEDIAWIKI' ) ) { $wgSitename = '<%= @mediawiki[:sitename] %>'; $wgMetaNamespace = '<%= @mediawiki[:metanamespace] %>'; - ## The URL base path to the directory containing the wiki; ## defaults for all runtime URL paths are based off of this. ## For more information on customizing the URLs diff --git a/cookbooks/mediawiki/templates/default/mw-ext-AbuseFilter.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-AbuseFilter.inc.php.erb index 4528b2230..4c9216ac0 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-AbuseFilter.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-AbuseFilter.inc.php.erb @@ -1,6 +1,6 @@ false, diff --git a/cookbooks/mediawiki/templates/default/mw-ext-CheckUser.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-CheckUser.inc.php.erb index 0f738689c..e4762efce 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-CheckUser.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-CheckUser.inc.php.erb @@ -1,6 +1,6 @@ '; $recaptcha_private_key = '<%= @private_key %>'; diff --git a/cookbooks/mediawiki/templates/default/mw-ext-DisableAccount.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-DisableAccount.inc.php.erb index 7d0b2f4de..dd7bdb8eb 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-DisableAccount.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-DisableAccount.inc.php.erb @@ -1,6 +1,6 @@ TBLSRC_LOCALPAGE, -- 2.39.5