2 weeks agoMerge "Install WikibaseCreateLink" master
Florian Schmidt []
Merge "Install WikibaseCreateLink"

2 weeks agoDisable login with android-hilfe.de
Florian []
Disable login with android-hilfe.de

Because of ongoing issues with the identity provider android-hilfe.de[1],
a login is not always possible (since weeks it is not possible to login at
all). Until the problem is resolved, do not provide the possibility to login
with android-hilfe.de anymore.

[1] https://www.android-hilfe.de/thema/telkodo-de-login-mit-android-hilfe-benutzerkonto-klappt-nicht.827233/

Change-Id: I35e20526109220bb65f19a097f7cf12e17608aa6

2 weeks agoInstall WikibaseCreateLink
Florian []
Install WikibaseCreateLink

Change-Id: Id7fc5fccc9c2e2463afd21e9b203e87646488706

6 weeks agoMerge "Use go2tech.de for citoid requests"
Jenkins CI []
Merge "Use go2tech.de for citoid requests"

6 weeks agoUse go2tech.de for citoid requests
Florian []
Use go2tech.de for citoid requests

Change-Id: I2f569e6cde653ce8d0d392254ffd711bbff90ba8

2 months agoAdd license file
Florian []
Add license file

Change-Id: I69c55732fee167c9b00272c88076ae5690687a44

2 months agoAdd Flow to opswiki
Florian []
Add Flow to opswiki

This is for testing now, only. Will probably used on droidwikiwiki later, too.

Change-Id: I085b0cfcfdebbb0f74ecd6c4958104194b5b6951

2 months agoFix usage of undefined constants on Wikibase client config
Florian []
Fix usage of undefined constants on Wikibase client config

Change-Id: I76b8433e4abe9dbd067cc74bb8de8f3e504b0437

2 months agoMerge "Use custom LogstashFormatter"
Jenkins CI []
Merge "Use custom LogstashFormatter"

2 months agoFix permissions for groups created in InitialiseSettings for droidwikiwiki
Florian []
Fix permissions for groups created in InitialiseSettings for droidwikiwiki

droidwiki is known under droidwikiwiki as db name now.

Change-Id: Ic7ca78acca1933870bd28290c76ae91ae3469cbe

3 months agoChange setup of entity namespace configuration
Florian []
Change setup of entity namespace configuration

Change-Id: I0a23d4cdea5f66de53597e4e8257a25bf0701fb8

4 months agoExternalize db config to db.php
Florian []
Externalize db config to db.php

And, move to LBFactoryConf configuration option, which is a bit more
flexible for load balancing between master and slaves.

Change-Id: Ie49172a28c0a772ba9d8fb1b88a48cf59b47e74c

4 months agoAdd changesDatabase for WB client
Florian []
Add changesDatabase for WB client

Change-Id: I424dfee03eafaf82b69f4ccb11c509a063ade283

4 months agoChange data.droidwiki.de to data.droidwiki.org
Florian []
Change data.droidwiki.de to data.droidwiki.org

See I2bf584a99b5eb490b72d01869dd02cc98dc799ba

Change-Id: I7c179f2cb65f3074131d3ecc20ad33dc558ae5f9
Depends-On: I22d394b299c9e03580fc3cfcf93857c3cb9d5998

4 months agoChange MediaWiki configuration to nre domain droidwiki.org
Florian []
Change MediaWiki configuration to nre domain droidwiki.org

Change-Id: I2bf584a99b5eb490b72d01869dd02cc98dc799ba
Depends-On: If2a2565c3f683ce334078d058346640ab241110f

5 months agoRe-apply merge-plugin settings for extension composer dependencies
Florian []
Re-apply merge-plugin settings for extension composer dependencies

These were removed in Ib09d8968cb1e4965b1bb3f3adc836e281ba2d06e because of
a initialization order problem in MediaWiki, which resulted in too early
initialized MediaWikiServices objects. This is now fixed, so the extension
dependencies can now be merged into the mediawiki/core ones again.

Change-Id: If05069d2b224f85a285d87217bdece372967d60e

5 months agoChange logo back to non-christmas version
Florian Schmidt []
Change logo back to non-christmas version

This reverts commit fcc50b3d6afc64f1e0248a34bb7b93770d872554.

Change-Id: I4a29a38ee26cd8e893916fdf1bfc276922d7dc63

5 months agoUnify wiki name and db name of droidwiki(wiki)
Florian []
Unify wiki name and db name of droidwiki(wiki)

This commit finished to unify the wiki name to the db name of droidwiki.de
to droidwikiwiki (domain name + wiki). This also unblocks running
rebuildLocalisationCache.php from the deployment tool using MWScript.php for
droidwikiwiki.

Change-Id: Iec3f4c1d4a148ea4476f699be722ea8eb394dc07

5 months agoEnable CiteThisPage extension
Florian []
Enable CiteThisPage extension

Change-Id: I590beb1e42f4326f05991967ba5f92f82ba904f8

6 months agoMerge "Cleanup mediawiki log settings"
Jenkins CI []
Merge "Cleanup mediawiki log settings"

6 months agoChange logo to christmas version
Florian []
Change logo to christmas version

Change-Id: I1f6f34bb353114a4b4a854154e1b3f46e69b9ba9

6 months agoCleanup mediawiki log settings
Florian []
Cleanup mediawiki log settings

Also, move the logs from /var/log/mediawiki to /data/log/mediawiki.

Change-Id: I4b4aacfb9f4099523d4d0f0f41de4f44dc4ef6a6

6 months agoChange Wikibase contentmodel-ids to plain entity types
Florian []
Change Wikibase contentmodel-ids to plain entity types

The use of contentmodel ids is deprecated.

Change-Id: Iaaf9f8f8d9994a8079343788bee3e7616b91a744

7 months agoUse custom LogstashFormatter
Florian []
Use custom LogstashFormatter

Bug: T145133
Bug: T151290
Change-Id: I8672c9e010442a7f441e1b8b2c24ebc367420e78

7 months agoRemove Statsd server configuration value
Florian []
Remove Statsd server configuration value

The target statsd server will be removed, as the data wasn't used anywhere.

Change-Id: I807d1a32d3770820334b123bd26bd6d6ca9ec7e1

7 months agoAdd additional logging to redis/logstash
Florian []
Add additional logging to redis/logstash

This will, in the future, replace the file based logging through
wfDebugFile and friends. For now, both targets are used for logging.

Currently, there's a problem with the configuration when Wikibase
modules are loaded in the mediawiki/core composer vendor directory,
like we did so far with the composer-merge plugin. To fix this, the
composer dependencies will be unbundled with this commit. Each extension
and mediawiki/core needs to load the coposer dependencies. This will
hopefully be fixed when T151135 is resolved, so we can load all depen-
dencies in mediawiki/core again.

Change-Id: Ib09d8968cb1e4965b1bb3f3adc836e281ba2d06e

8 months agoTweak CentralNotice setup
Florian []
Tweak CentralNotice setup

Now should be able to serve banners to datawiki, e.g..

Change-Id: Ic5910bf151260483b8739f09af1800081fb3dfcd

8 months agoMerge "Revert "Remove android-hilfe.de branding from droidwiki.de logo""
Jenkins CI []
Merge "Revert "Remove android-hilfe.de branding from droidwiki.de logo""

8 months agoRevert "Remove android-hilfe.de branding from droidwiki.de logo"
Florian Schmidt []
Revert "Remove android-hilfe.de branding from droidwiki.de logo"

This reverts commit 734b6236445088c81d877796de422631eab42667.

Change-Id: I23d6886e8360a07070c4cef6ab00e57af2f61d88

8 months agoConfigure master and slave database servers
Florian []
Configure master and slave database servers

Change-Id: I34682c0a5a37f441a7074cdad97e0fc64bd80e42

8 months agoEnable VisualEditor Wikitext editor as beta feature
Florian []
Enable VisualEditor Wikitext editor as beta feature

Change-Id: Ifccf7ad75bd57325b44773feaa8e8bc070699126

8 months agoReconfigure CentralNotice
Florian []
Reconfigure CentralNotice

Change-Id: Ic260807152510ff9f1d2518082de46079f96407b

8 months agoEnable XenForoAuth on droidwiki and datawiki, disable on opswiki
Florian []
Enable XenForoAuth on droidwiki and datawiki, disable on opswiki

Change-Id: I2f9b510bf868269af01fa759574467d7ca1c990f

8 months agoInstall XenForoAuth for android-hilfe.de authentication to opswiki (test)
Florian []
Install XenForoAuth for android-hilfe.de authentication to opswiki (test)

Change-Id: Iae7bb517ff5f58910905ff7ec931613a1810e2d2

9 months agoMerge "Save composer.oocal.json in git"
Jenkins CI []
Merge "Save composer.oocal.json in git"

9 months agoSave composer.oocal.json in git
Florian []
Save composer.oocal.json in git

Was saved in staging area only, until now and will now be linked to
the mediawiki installation directory from mw-config/mw-config.

Change-Id: I3db372bdbc15857ffcafecbc77a510e7a42341b4

9 months agoUninstall MobileWebAd extension
Florian []
Uninstall MobileWebAd extension

Functions will be moved to DroidWiki extension.

Change-Id: I39a3400dd6dce568cc25227f4ac6c10ec19ed349

10 months agoLowering the sampling rate for profiling to 100 000
Florian []
Lowering the sampling rate for profiling to 100 000

Change-Id: I2ea26859cf6063c7bfadf1017a64ce36ea23918b

10 months agoConsistently use ' instead of " and require_once instead of require
Florian []
Consistently use ' instead of " and require_once instead of require

Change-Id: I08962f9251bc14540d01c4512696d8ed6b1b8531

10 months agoSave Profiling data for each 1000s request
Florian []
Save Profiling data for each 1000s request

Change-Id: I7a836b314751abb8b2f68ded158630475fe2fe6f

10 months agoFix droidwiki different wiki/db name
Florian []
Fix droidwiki different wiki/db name

At some time, this should be fixed, so that both, the wiki and db name, is the same.

Change-Id: Ic7042214e0fe8452d6a32fa4b71ef7641c1ddeaf

10 months agoEnable Wikibase Echo notifications
Florian []
Enable Wikibase Echo notifications

Change-Id: I7ebb6971f37e9fa9498dcf0ac0d2b721f9f31040

10 months agoSpecial:UserLogout needs to be manually whitelisted, too
Florian []
Special:UserLogout needs to be manually whitelisted, too

This doesn't sounds intuitive, as Special:UserLogin is whitelisted by default.

Files as upstream change: https://gerrit.wikimedia.org/r/#/c/303437/

Change-Id: Iaef0c466cd21abcc53b52f25fde188a57dedd591

10 months agoAllow non-operation members access to specific areas of opswiki
Florian []
Allow non-operation members access to specific areas of opswiki

Opswiki will be the wiki, where ldap users can change settings, like their e-mail
address or their password. For this, a new group "Operations" is added, where all
current users in the ldap group "opswiki" are added. Some pages, such as Spezial:
Einstellungen, are now whitelisted to be read by anyone. Read permission is restricted
to Operations members, only (no user and no autoconfirmed). Also, autocreateaccount
is no permitted for * to allow the creation of user accounts when a user logs in
the first time to opswiki with the ldap credentials.

This change does not affect any _current_ opswiki member, they'll have the same
permissions as before. But now, any opswiki user (member of the opswiki ldap group)
have access to opswiki.

This is the second step to remove go2tech.de/pwm as the self-management tool.

Change-Id: I3a82468e26af80dbbbce35c4c6f090794e4b8826

10 months agoEnable LdapAuthentication to write data back to the ldap server
Florian []
Enable LdapAuthentication to write data back to the ldap server

The new user cn=mwldapwriter,ou=users,dc=go2tech,dc=de is allowed to write
to the ou=users,dc=go2tech,dc=de dn subtree. This change configures LdapAuthentication
to use this user to change fields of the user from within MediaWiki (e.g. the password,
the e-mail address or the full name).

The same user needs to be used for searching of users, too, as reading anything from
ldap without any authentication is not permitted anymore.

This is the first step to remove go2tech.de/pwm (which currently is used for user
self-management).

Change-Id: Id806a6e96780e14fb6d6f0db04ce4d5771c9df4c

10 months agoFix PHP notice errors
Florian []
Fix PHP notice errors

$_GET is only set for web requests, so check before using it (e.g. in maintenance
script executions, $_GET['title'] is unset). Also fix variable name.

Change-Id: I5af7cb0925b1911d16f4ec5cab554f374f720893

10 months agoShare OATHAuth table oathauth_users between wikis
Florian []
Share OATHAuth table oathauth_users between wikis

The same like users and groups.

Change-Id: I4f959f4d350b13d7e582a63cab15b6afd9fa2785

10 months agoAdd a hhvm error document
Florian []
Add a hhvm error document

This document will be delivered to the user, when hhvm experienced a fatal
error. The configuration is set in hhvm as:

Change-Id: Idceb897dffbd9ddcced7162f8d6844027bcf31f8

10 months agoMerge "Remove errorhandler completely"
Jenkins CI []
Merge "Remove errorhandler completely"

10 months agoMerge "Remove private variable $wmgExtensionsPath"
Jenkins CI []
Merge "Remove private variable $wmgExtensionsPath"

10 months agoRemove errorhandler completely
Florian []
Remove errorhandler completely

As far as I know, it hasn't worked already since droidwiki.de switched to a
new server /due to hardcoded paths). It also doesn't make any sense anymore.

Change-Id: I4b246aa611a910cc1af79eee82e455cf5937c1f3

10 months agoRemove private variable $wmgExtensionsPath
Florian []
Remove private variable $wmgExtensionsPath

The value isn't private and it even doesn't make sense to hold it as a
variable.

Change-Id: If384a7371f218cea515c332795325735a9077fb4

10 months agoUse multiversion values directly in CommonSettings.php
Florian []
Use multiversion values directly in CommonSettings.php

Instead of setting these variables in PrivateSettings.php, use multiversion
values directly.

Change-Id: Ia4b7f317c443e59c271e59e8820d4cbcea967f5a

11 months agoEnable GeoData extension
Florian []
Enable GeoData extension

Change-Id: Id221b6e95e13909d3a9b35dd91f31d5bd060ed0a

11 months agoChange wgArticlePath for droidwiki.de to droidwiki.de/wiki/
Florian []
Change wgArticlePath for droidwiki.de to droidwiki.de/wiki/

Change-Id: Ie7ecbe7d55ba03789aad00dec8e8d1fe035ff9d4

11 months agoChange directory for log files
Florian []
Change directory for log files

Change-Id: Ia649b8bd5cda8636058d3af5fdb26d1a1247a51b

11 months agoSome changes to MultiVersion
Florian []
Some changes to MultiVersion

A little refactoring, not so much.

Change-Id: Id029f60fe2c2544c04ea81587abfe0d049f866eb

11 months agoCommonSettings.php cleanup
Florian []
CommonSettings.php cleanup

* Move Favicon configuration to InitialiseSettings.php
* Move Favicon to /static/images
* Removed unnecessary changes
* Removed removed settings
* Moved some settings to InitialiseSettings.php and set another default

Change-Id: I76c7f018bfdba0c49cd1885d1c6a3d868b308e81

11 months agoDon't leave a global variable unset in wgConf.php
Florian []
Don't leave a global variable unset in wgConf.php

Change-Id: I45e74b2fd378b234a3dc25740c18acb2b287f1d6

11 months agoApply short array syntax to project files
Florian []
Apply short array syntax to project files

Change-Id: I2052b7d59a4f0f28de2c6da99512ea432c821298

11 months agoLoad extension registration extensions with wfLoadExtensions
Florian []
Load extension registration extensions with wfLoadExtensions

Change-Id: I03826b175e5762c6b7b573e989747691df242707

11 months agoEnable main page special case on mobile
Florian []
Enable main page special case on mobile

Change-Id: I2ffcf60221eb758cb6f7c5af48c16d0dc44e14fa

11 months agoInstall and Enable OATHAuth on all wikis
Florian []
Install and Enable OATHAuth on all wikis

Change-Id: Ib8021c3f94b978b175232b59216986c26be04960

11 months agoEnable AuthManager on all wikis
Florian []
Enable AuthManager on all wikis

Change-Id: I8a039656661c412dbe2daf043ae15114be6b760b

11 months agoEnable AuthManager on opswiki and datawiki
Florian []
Enable AuthManager on opswiki and datawiki

Change-Id: I5fd8b3cec9ca3bed51bc6741dc1d07fc175e591f

12 months agoTemporary disable AuthManager on all wikis
Florian []
Temporary disable AuthManager on all wikis

Change-Id: I46217bfade1b95f72164047dd83b16fa1cb3465c

13 months agoAdd new config for WikibaseClient
Florian []
Add new config for WikibaseClient

Change-Id: If7153798d8dd3eccfd8eb53a75244c3d60b75776

13 months agoConfigure logs for datawiki and TemplateSandbox namespace
Florian []
Configure logs for datawiki and TemplateSandbox namespace

Change-Id: Ie1d8ea2889f646ffa420122fb96b070a1e96e0d8

13 months agoEnable Wikibase descriptions in MobileFrontend search and remove other options
Florian []
Enable Wikibase descriptions in MobileFrontend search and remove other options

Also removed other, now unnecessary options (not needed or removed in code).

Change-Id: I4ed8febe747051a37f97bdba654774e18dc07997

14 months agoAdd WB item and property NS to content namespaces
Florian []
Add WB item and property NS to content namespaces

Change-Id: Ia9390009b0a782f16622c647c97ef5b864bd42ac

14 months agoEnable WikibaseClient on droidwikiwiki
Florian []
Enable WikibaseClient on droidwikiwiki

and don't show Exception details on datawiki.

Change-Id: If2e7294cf7d60a20733b3e3ed662efb61bab006b

14 months agoAdjust Wikibase settings and fix permissions override error for extension rights
Florian []
Adjust Wikibase settings and fix permissions override error for extension rights

Change-Id: I5723c0ac044c0206cbfa68e89845209479d3af73

14 months agoRemove Gewinnspiel extension and fix git link
Florian []
Remove Gewinnspiel extension and fix git link

Change-Id: I51014ea51058041ebc14628edebfa422a624c3a9

14 months agoAdd new DroidWiki Data wiki
Florian []
Add new DroidWiki Data wiki

Change-Id: Ic5d8839bab39aaa1e737bc770609fee72dc62aaa

14 months agoAllow account creation with GoogleLogin
Florian []
Allow account creation with GoogleLogin

Change-Id: I455e79b0e495f346b71fb583b76570c5119c46a8

14 months agoRemove GoogleAPIClient
Florian []
Remove GoogleAPIClient

Change-Id: I42a2261df25dea9a5607eb73b6d72c4faa8a8eaa

14 months agoFix undefined property error
Florian []
Fix undefined property error

Change-Id: I37010b42868e3960d5bdc5124ac955fcf6eaf813

15 months agoFix MobileFrontend logo
Florian []
Fix MobileFrontend logo

Change-Id: I97ca3ce83d9fb77982bf14ddbd7b8b48136ae683

16 months agoMerge "Use wikiname as dbname"
Florian []
Merge "Use wikiname as dbname"

16 months agoUse wikiname as dbname
Florian []
Use wikiname as dbname

Change-Id: I7cc07a0919790c7b3159f76deb56d3fe93d157eb

16 months agoStrip www. from URL when building database name from url
Florian []
Strip www. from URL when building database name from url

Change-Id: I1392ba71969c61c72ae62f60882b2a2cafdb5baa

16 months agoMove wgVirtualRestConfig to CommonsSettings.php
Florian []
Move wgVirtualRestConfig to CommonsSettings.php

This allows opswiki to sue VE (using the parsoid instance on donut.dwnet).

Change-Id: Iabbbbce410eb2b9cde446097d50d832c8e4f6d23

17 months agoInstall GoogleSiteLinksSearchBox
Florian []
Install GoogleSiteLinksSearchBox

Change-Id: Iad75b129132dde0e403b83669d8fa19acbabc4d0

17 months agoDisable Google Analytics Integration on all wikis except droidwiki
Florian []
Disable Google Analytics Integration on all wikis except droidwiki

Change-Id: I6d5377528565c4cca11af2d5e517d7383d154f8e

17 months agoRemove out of date comments and conditions
Florian []
Remove out of date comments and conditions

CookieWarning should be enabled by default now, no time required anymore.
For now, we will use the public api endpoint of the wmf citoid server.

Change-Id: I8ee4aabdd228e172ef8654cdcd6c376007ca9b19

17 months agoEnable StatsD logging for MediaWiki features
Florian []
Enable StatsD logging for MediaWiki features

Change-Id: I2dcbea1f9989b64582df17d19c868c61eada0e47

17 months agoMerge "Add Yandex translate for Translate extension"
Jenkins CI []
Merge "Add Yandex translate for Translate extension"

17 months agoChange back to the normal logo, christmas is over!
Florian []
Change back to the normal logo, christmas is over!

Change-Id: I9a38fd794a354d55950709f7256b03a7b6a6d1b4

17 months agoAdd Yandex translate for Translate extension
Florian []
Add Yandex translate for Translate extension

Change-Id: I9cfe2ba5c83e2587652c01f75276f661f81dae85

18 months agoInstall Translate extension, it's dependency UniversalLanguageSelector and Gewinnspiel
Florian []
Install Translate extension, it's dependency UniversalLanguageSelector and Gewinnspiel

Change-Id: Ibd6b9831defed31c18b7709fb479b59107d4f9b4

19 months agoChange logo to a logo with a Santa hat
Florian []
Change logo to a logo with a Santa hat

Change-Id: Ib3618ecdbc9d8dc40e4f3e1c746c7930416162ed

19 months agoConfigure RedisJobQueue to enable the use of mediawiki jobrunner
Florian []
Configure RedisJobQueue to enable the use of mediawiki jobrunner

Bug: T13
Change-Id: I5c227b3129dcd3ac0e605b2cf11617b7e2731201

19 months agoExpose CC-BY-SA license in frontend.
Florian []
Expose CC-BY-SA license in frontend.

Change-Id: Icb270e5e2e64bcfa490f4c0653ec8127d8a03d54

19 months agoRemove ArticleFeedback and all its dependencies
Florian []
Remove ArticleFeedback and all its dependencies

Bug: T9
Bug: T11
Change-Id: I0d2e5010b8915c0b03a4ac25a93c7fa3ae768d06

19 months agoRemove GoogleRating
Florian []
Remove GoogleRating

Bug: T10
Change-Id: I239ad957a2405d76267a96f4a87e4be7a7ab28e9

19 months agoRemove android-hilfe.de branding from droidwiki.de logo
Florian []
Remove android-hilfe.de branding from droidwiki.de logo

Bug: T7
Change-Id: Ie4391f8c2543c675317261e1f277a25a2b48b31c

19 months agoMove wgLogo files to docroot/static/images/project-logos
Florian []
Move wgLogo files to docroot/static/images/project-logos

Configure an empty default for wgLogo and androide.png for droidwiki.de.

Bug: T6
Change-Id: I998aec959d5ee654e744c5f353b639e0df0d814c

19 months agoDon't require a file, which is already added to AutoLoader
Florian []
Don't require a file, which is already added to AutoLoader

Change-Id: I2d92fa6cca050e0f989019a9fe1705a34350888c

19 months agoMerge "Add LdapAuthentication and do not load GoogleLogin for opswiki"
Jenkins CI []
Merge "Add LdapAuthentication and do not load GoogleLogin for opswiki"

19 months agoAdd LdapAuthentication and do not load GoogleLogin for opswiki
Florian []
Add LdapAuthentication and do not load GoogleLogin for opswiki

Change-Id: I3ea98f5dea1f31b1010b426f3b3f6c36a5ddbb29