64 Commits

Author SHA1 Message Date
77aa8d4581 Fix positioning of pokeball bullet icon.
Thanks hunk and Sherkel for bringing this up. https://forums.glitchcity.info/index.php?topic=6361.msg215429#msg215429
2019-10-30 08:24:52 +00:00
f97da260d8 add ca- ids to content action links, this is required for VisualEditor 2019-06-15 17:43:03 -05:00
c20d8d4f6e remove deprecated calls to wfRunHooks 2019-06-15 16:12:22 -05:00
Adrian Malacoda
5f68d09c72 gate phpinfo.php behind an environment variable so it doesn't get shown to the public 2019-02-15 21:07:26 -06:00
Adrian Malacoda
6dd7961ebd Implement printable mode. 2018-09-03 22:41:34 -05:00
Adrian Malacoda
53447ad8ef Remove UserRightsList extension; it's currently not maintained 2018-09-03 22:03:30 -05:00
Adrian Malacoda
dcdb8ea4db Set $$wgPHPSessionHandling to false to disable mediawiki using php sessions.
This seems to resolve the issue of mediawiki and smf sessions colliding, as mediawiki will no longer touch smf's session. The "loss of session data" error seems to still not be present.
2018-08-27 03:32:14 -05:00
Adrian Malacoda
72b7638d11 remove print_r 2018-08-13 02:00:12 -05:00
Adrian Malacoda
83f36080e3 Destroy SMF session to work around MW/SMF collision issue. Coincidentally, this also seems to actually resolve "loss of session data" errors. 2018-08-13 01:35:39 -05:00
Adrian Malacoda
2c0e67e675 initial implementation of Auth remoteuser, of course it doesn't work 2018-08-13 00:39:19 -05:00
Adrian Malacoda
021a710fc9 add parser function to get a user's display name 2018-02-04 00:25:55 -06:00
Adrian Malacoda
673d7e61d4 more improved header link generation 2018-02-03 23:40:31 -06:00
Adrian Malacoda
12ab7f0012 remove deprecated GCL skin 2018-02-03 22:36:13 -06:00
Adrian Malacoda
658af7e28f fix generation of header links 2018-02-03 22:35:30 -06:00
Adrian Malacoda
7eb613d31a remove extensions that we can pull from mediawiki repo 2018-02-01 21:37:32 -06:00
Adrian Malacoda
ba4f2c3cd2 add missing hidden input field to login form 2018-02-01 02:36:14 -06:00
Adrian Malacoda
ec07c687b0 i think the arguments go like this 2017-10-29 11:32:34 -05:00
Adrian Malacoda
6ace0af5f8 properly construct url 2017-10-29 11:30:44 -05:00
Adrian Malacoda
9f4ddd6afe remove comment 2017-10-29 11:27:07 -05:00
Adrian Malacoda
05af6991f1 these make more sense as tags and not parser functions 2017-10-22 03:19:35 -05:00
Adrian Malacoda
c0d5f6f2ad oops 2017-10-22 02:29:31 -05:00
Adrian Malacoda
3e40c33db9 remove SecureHTML extension too, since that too was only ever used for one thing. Replace with an extension that specifically encapsulates what that extension was used for. 2017-10-22 02:21:18 -05:00
Adrian Malacoda
4a7577cc34 Remove securephp extension. It was only used on the main page for displaying news. This can be implemented as an extension. 2017-10-22 02:01:43 -05:00
Adrian Malacoda
95ce71ca78 load ssi before api 2017-10-22 01:29:07 -05:00
Adrian Malacoda
4b7c4f7be3 Update smf_api.php 2017-10-22 01:03:04 -05:00
Adrian Malacoda
8b2e8e318e migrate to php 7 2017-10-21 23:35:43 -05:00
Adrian Malacoda
191ba253c4 use member_name (username) instead of real_name (display name) 2017-10-21 20:48:05 -05:00
Adrian Malacoda
ba70c3e3cf add smf_api.php 2017-10-21 20:43:04 -05:00
Adrian Malacoda
06a857084c remove PGSAEX and CHU extensions. Auth will go back from being display name based to username based, as it should have been. 2017-10-21 20:31:49 -05:00
Adrian Malacoda
2af58df9de Update mediawiki and smf to latest versions. Remove smf source and pull from site on build. For now this means we are running vanilla smf. We will add extensions later. 2017-10-21 20:28:31 -05:00
Adrian Malacoda
35fb923783 saveToCache is no more 2017-01-01 09:34:09 -06:00
Adrian Malacoda
6121c4d4d4 destroy _element as it's messing up the foreach loop 2017-01-01 09:16:37 -06:00
Adrian Malacoda
b1c224db24 more getResultData() 2017-01-01 07:06:05 -06:00
Adrian Malacoda
9d901cd0d2 need to call getResult()->getResultData() 2017-01-01 06:18:28 -06:00
Adrian Malacoda
16ae796258 Remove extensions that come bundled with MW 2017-01-01 06:12:08 -06:00
Adrian Malacoda
0caa715b39 Wipe out non-GCL skins too 2017-01-01 01:01:23 -06:00
Adrian Malacoda
dac0ba59af wipe the mediawiki code out of the repository. The dockerfile will pull down and install it for us. We just want GCL specific stuff like the skin and extensions. 2017-01-01 00:59:15 -06:00
Adrian Malacoda
64ec27f1b1 Add GCL specific error pages 2017-01-01 00:49:14 -06:00
Adrian Malacoda
fc363e5afb Add support for https and scheme-agnostic links 2016-11-22 21:51:39 -06:00
Adrian Malacoda
3bd95e508e remove dead/commented code 2016-11-22 21:47:39 -06:00
Adrian Malacoda
e8601de53c Even more fixes for PGSAEx 2016-08-07 20:24:48 -05:00
Adrian Malacoda
344c3a9e14 Do not set up SMF integration if MW_NO_SESSION since the auth plugin only works with sessions, and because load.php defines $context which conflicts with SMF's $context 2016-08-07 20:22:43 -05:00
Adrian Malacoda
603360f3d8 Fix up and re-enable Prof. Glitch's extension. 2016-08-07 19:53:39 -05:00
Adrian Malacoda
cd23fb64fc fix sidebar request path 2016-08-07 18:55:47 -05:00
Adrian Malacoda
ee02c5394e oops, that was the wrong class file. Remove the old GCL3.php just to make sure I don't do that again 2016-08-07 18:24:54 -05:00
Adrian Malacoda
c5a1fb731b A lot of the linking/attribute generation stuff has been split into Linker class 2016-08-07 18:08:17 -05:00
Adrian Malacoda
8d62c1767f properly add the SecureHTML extension 2016-08-07 17:38:18 -05:00
Adrian Malacoda
44c114282f remove old SecureHTML submodule which wasn't properly tracked 2016-08-07 17:37:32 -05:00
Adrian Malacoda
e56972999c Bring back the GCL3 skin, now that the SMF/MediaWiki bridge mostly works 2016-08-07 05:33:58 -05:00
Adrian Malacoda
5495703e82 Move the session id stuff into the php config. Setting it in the mediawiki extension won't affect how SMF generates session ids. 2016-08-07 05:11:59 -05:00