Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
torque-sites
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
MediaWiki
torque-sites
Commits
7869e757
Commit
7869e757
authored
3 years ago
by
Frank Duncan
Browse files
Options
Downloads
Patches
Plain Diff
Add strip state limit fix
parent
9d3c869f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
competitions/GlobalView/ansible/roles/GlobalView/tasks/main.yml
+15
-0
15 additions, 0 deletions
...itions/GlobalView/ansible/roles/GlobalView/tasks/main.yml
with
15 additions
and
0 deletions
competitions/GlobalView/ansible/roles/GlobalView/tasks/main.yml
+
15
−
0
View file @
7869e757
...
...
@@ -37,3 +37,18 @@
marker
:
"
##
{mark}
ANSIBLE
DISABLE
TEAM
COMMENTS"
block
:
|
include "{{ mediawiki_install_directory }}/mediawiki-{{ mediawiki_version }}/torque-sites-config/disableteamcomments.php";
# This is a nasty hack. For certain large TOCs, mediawiki blows
# up with an error about the strip state being exceeded, as it's set to
# 5M. These tocs are large enough to warrant a 10M size, however there's
# no way to pass this variable in. So that means we need to actually chage
# the source code, which is a very brittle change and may break someday.
#
# It also might not.
-
name
:
Change Strip State size limit
tags
:
demo
replace
:
path
:
"
{{
mediawiki_install_directory
}}/mediawiki-{{
mediawiki_version
}}/includes/parser/StripState.php"
regexp
:
"
protected
\\
$sizeLimit
=
5000000;"
replace
:
"
protected
$sizeLimit
=
10000000;"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment