Commit Graph

141 Commits

Author SHA1 Message Date
Kevin Fenzi
8d9e9ba16d mediawiki: some more settings cleanup, fix ConfirmEdit loading.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-19 21:30:32 +00:00
Kevin Fenzi
eb31a3ae0a mediawiki: Fix up mediawiki for new version
Move IP setting to apache
Load modules the new one for ones that support it.
Undefine db prefix that was confusing mysql

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-19 19:45:48 +00:00
Kevin Fenzi
db8c71dee4 wiki: drop serialized dir as it's not there anymore in new versions.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-18 23:40:03 +00:00
Kevin Fenzi
0e80ba0ebc wiki: drop basset plugin for now.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-18 21:49:30 +00:00
Rick Elrod
0b7bb3b5b3 prep for proxy03 move
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-02-11 23:14:27 +00:00
Adam Williamson
e3a7bfda34 mediawiki fedmsg-emit: fix error on creating page (#7415)
This function is set up as a mediawiki hook. It expects to be
passed 12 args. It turns out that mediawiki 1.29.3 - the version
we're running - has two codepaths that call the hook: one passes
it all 12 args, one only passes it 11, missing out the final arg
(undidRevId). @puiterwijk tried to fix this in d85f8c2, but it
seems he misread and set a default value for the 11th arg rather
than the 12th, so it didn't actually fix the problem. Moving the
default value to the 12th arg should fix the problem for good.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-12-03 23:48:38 -08:00
Patrick Uiterwijk
d85f8c2083 Fix creating of new wiki pages
This breaks because mediawiki doesn't follow their own documented API[1] and doesn't pass
a base revision ID when creating new pages.

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>

[1]: https://www.mediawiki.org/wiki/Manual:Hooks/PageContentSaveComplete
2018-08-31 19:52:17 +02:00
Kevin Fenzi
a4a19995e4 install librsvg2-tools 2018-08-10 15:04:45 +00:00
Kevin Fenzi
cbfbc1ed0b fix path 2018-08-10 14:50:51 +00:00
Kevin Fenzi
74aa6984aa set another seboolean 2018-08-10 14:43:32 +00:00
Kevin Fenzi
53ad352757 selinux policy for mediawiki 2018-08-10 14:33:35 +00:00
Kevin Fenzi
ba4b26b313 enable backtickcode wiki extension 2018-07-26 19:51:05 +00:00
Rick Elrod
17d20733c9 Let's break the wiki, I like breaking things
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-06-26 21:57:17 +00:00
Patrick Uiterwijk
e70400ae18 Deploy fedoradocsredirect to prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-01 14:53:16 +00:00
Patrick Uiterwijk
baa418b692 Only add pkg on staging for now
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-24 06:20:08 +00:00
Patrick Uiterwijk
87b84c41ca Deploy fedoradocsredirect in staging mediawiki
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-24 06:03:36 +00:00
Kevin Fenzi
adb8ed0ab8 Revert "try disabling memcached for a sec"
This reverts commit 149300192f.
2018-01-12 00:13:26 +00:00
Kevin Fenzi
149300192f try disabling memcached for a sec 2018-01-12 00:02:07 +00:00
Kevin Fenzi
b88a822e90 proxy07 is down, remove it from wiki squid servers. Also lower cache time from 5 days to 6 hours 2018-01-11 23:21:04 +00:00
Nick Bebout
cc9cb380f2 Test fixing protectors group 2017-12-07 19:55:14 +00:00
Patrick Uiterwijk
5ee3b0bbdc Do the lazy porting to mw 1.29.0 hooks
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-30 19:59:08 +00:00
Patrick Uiterwijk
71f2d85920 mattdm likes Fedora Project Wiki
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-27 19:09:07 +00:00
Patrick Uiterwijk
44b5d262f7 We keep getting more constants. Instead just stop reporting these
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-25 18:43:49 +00:00
Patrick Uiterwijk
55081a1dff Add silly definitions to avoid using undefined things
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-25 18:39:20 +00:00
Kevin Fenzi
b38e329ced work around cancel button issue in WikiEditor, hopefully fixed next release 2017-11-23 19:00:52 +00:00
Kevin Fenzi
8e916e6388 enable WikiEditor. ticket 6521 2017-11-23 05:56:05 +00:00
Kevin Fenzi
547e12ddf8 we need this for openidc to work right 2017-11-23 05:37:11 +00:00
Patrick Uiterwijk
6ca79cbfa3 Require CLA+1
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-23 01:31:34 +00:00
Patrick Uiterwijk
0527d7d23e Request CLA and groups scopes
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-23 01:07:11 +00:00
Patrick Uiterwijk
70155259a7 This plugin is no longer there
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-23 00:52:13 +00:00
Patrick Uiterwijk
3a55c768bf Fix fedmsg-emit accessing private fields
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-23 00:50:45 +00:00
Patrick Uiterwijk
6d453719cb Update localsettings with OIDC info for prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-22 23:33:49 +00:00
Patrick Uiterwijk
53d0c7517b Make this work in prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-22 23:19:09 +00:00
Patrick Uiterwijk
f9a0e1afd7 More prod-izing changes
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-22 21:41:30 +00:00
Patrick Uiterwijk
5c2196a999 Update config for new wiki in prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-22 21:40:37 +00:00
Patrick Uiterwijk
5f7cda28f8 Disable local account creation
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-21 21:33:40 +00:00
Kevin Fenzi
84ab5c11c0 only link vendor in staging mediawiki 2017-11-18 23:10:56 +00:00
Patrick Uiterwijk
bc0bd0df5b Define mediawiki scope
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-13 00:37:39 +00:00
Patrick Uiterwijk
99f92097af Add plugin loading
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-13 00:26:52 +00:00
Patrick Uiterwijk
3097411673 Add OpenID Connect configuration
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-13 00:24:24 +00:00
Patrick Uiterwijk
6050d3e5e3 Add mediawiki OIDC(API) packages for staging
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-13 00:13:41 +00:00
Kevin Fenzi
bfd94ffe69 also link vendor 2017-11-10 23:42:05 +00:00
Kevin Fenzi
def9f2bdae drop openid plugin in stg wiki, move stg wiki to f27 2017-11-10 20:24:59 +00:00
Stephen Smoogen
d03b61ac73 and we have ips we need for the hosts 2017-10-09 19:44:31 +00:00
Patrick Uiterwijk
936e8b261a yum accepted pkg=, package calls it name=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00
Stephen Smoogen
e3c0199dad make another set of stg ip changes 2017-09-29 15:24:58 +00:00
Nick Bebout
ac159f984a Add protectors group to allow people to manage protected pages on MediaWiki 2017-07-31 16:26:58 +00:00
Patrick Uiterwijk
46895a8af1 More tweaks by @spot
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-13 20:32:39 +00:00
Patrick Uiterwijk
0a5c432004 Add linebreaks
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-13 20:29:39 +00:00
Patrick Uiterwijk
6a80013003 That didn't look the way I intended
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-13 20:26:27 +00:00