Talk:BlueSpice

About this board

Note: Please use the forums on Sourceforge for bug reports and technical discussions.

What is needed to make BlueSpice skins work in vanilla MediaWiki

2
Jdlrobson (talkcontribs)

I've noticed a trend of skins being created that have dependencies on BlueSpice extensions.

This worries me as it suggests the ecosystem for skins is becoming more fragmented, at a time I've been pushing to improve the skin system with some colleagues and fellow volunteers.

I was curious what modifications could be made in MediaWiki core to reduce these dependencies. A good example in the Tuleap skin which requires a global method called mwsInitComponents and enforces the use of OAuth through Extension:TuleapIntegration. The mwsInitComponents method looks very interesting and seems to share some overlap with some of the foundational changes currently happening in MediaWiki core (https://phabricator.wikimedia.org/T293289). Would love your input there on how we can help empower BlueSpice's ideas.

I'd love to see this skin and others in the wider ecosystem how can we get there?

Looking forward to chatting!

RichardHeigl (talkcontribs)

We are generally in the process of reducing dependencies. To what extent this affects the skin, I unfortunately do not know, but pass the question internally. If we can work together here, that's great in any case.

Reply to "What is needed to make BlueSpice skins work in vanilla MediaWiki"
Summary by RichardHeigl

BlueSpice supports the current LTS version. Intermediate versions are not tested and are therefore not recommended for productive use. The next LTS version 1.39 is to be integrated into BlueSpice quickly after its release.

Gachangi (talkcontribs)

Hi all, Anyone with an idea, when will this great extension might be available for MW 1.37?

RichardHeigl (talkcontribs)

Hi Gachangi, we always bind BlueSpice to the respective LTS version. So the next supported MediaWiki version will be 1.39. We don't recommend all intermediate versions, because we can't test that. But we want to integrate 1.39 into BlueSpice relatively quickly.

Gachangi (talkcontribs)

Okay, thank you for your response, now I think I might have to downgrade to 1.35. Not certain my backups are backward compatible.

Amire80 (talkcontribs)

Hi!

In the translatable messages of BlueSpiceAvatars, there are "avatars" and "user pictures".

What's the difference?

@Mglaser @RichardHeigl @ItSpiderman

Osnard (talkcontribs)

Hi!

Thanks for reaching out. For my understanding there is no difference.

In BlueSpice, every user account gets a "profile picture" that is shown next to the username in certain places. Users can upload their own image files, but if they don't, there will still be auto generated images. One could probably refer to the first one as "user pictures" (uploaded by the user) and to the second one as "avatars" (automatically generated), but I don't see a real reason for this.

Amire80 (talkcontribs)

Thanks! This message appears to make a distinction: "You have set a user picture in your preferences. Using avatars will clear this setting. Do you want to proceed?"

I'm not entirely sure how to translate it into my language. We don't have a common, established translation for "avatar", and one possibility is to write something like "user picture", but "user picture" appears to be used in English for something else.

Perhaps that message could be rewritten like this: "You have set a user picture in your preferences. Using auto-generated avatars will clear this setting. Do you want to proceed?" (It's just a guess, thought.)

Osnard (talkcontribs)

I see. Yes, your proposal makes sense. Thanks.

Reply to "Avatar vs user picture"
Mdyug (talkcontribs)

Hello HalloWelt, say please when will it be possible to install your extensions in 1.35 Media Wiki ?Almost all of them are for the version 1.31

Osnard (talkcontribs)

No, not yet. We are working on the release of BlueSpice version 4 wich will build upon MediaWiki 1.35. We aim to publish it later this year.

Reply to "Updates version"

Need to save twice after editing articles

2
Pietart (talkcontribs)

Hello there,

every single time i am editing articles in my personal BlueSpice-MediaWiki, i have to push the "save"-Button two times until the changes are saved. Does anyone have an idea how to solve that issue?

Thanks a lot for help in advance...

Kghbln (talkcontribs)

It always helps to know the versions used, i.e. PHP, MySQL, MW, BlueSpice ...

Summary by RichardHeigl

Verion has published meanwhile

31.36.120.138 (talkcontribs)

When ?

Thank you

wiki-shangri-la.com

RichardHeigl (talkcontribs)

Most probably July / August :-)

Summary by Mglaser

List of extensions provided

Gryllida (talkcontribs)

"Inserting pictures, documents and categories is also made easy with the assistants" Which assistants are that and what extension are they provided by?

RichardHeigl (talkcontribs)

The extensions InsertImage, InsertFile, InsertCategory. They are integrated in the VisualEditor.

BlueSpice doesn't work when GoogleLogin extension is enabled

2
Summary by RichardHeigl

There will be a new solution coming during this year.

Khan.tauseef (talkcontribs)

Hi,

I have BlueSpice extension installed along with the GoogleLogin. whenever I try to login to my wiki i get this following error.

2016/02/07 19:49:07 [error] 7983#0: *27223 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot redeclare class UserPreferences in /var/www/deploys/wiki2/extensions/BlueSpiceExtensions/UserPreferences/UserPreferences.class.php on line 227" while reading response header from upstream, client: 82.82.189.99, server: wiki2.spotcap.com, request: "GET /index.php?title=Main_Page HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "wiki2.spotcap.com", referrer: "https://wiki2.spotcap.com/index.php?title=Special:UserLogin"

But when I disable any one of them; either BlueSpice or GoogleLogin then the error disappears. Can someone help please?

thanks.

Osnard (talkcontribs)

Hi,

I assume the Preferences class get's loaded by a hook too early and then the "ExtensionManager" component crashes. You can try to modify BlueSpiceFoundation/includes/ExtensionManager.class.php from line 87 on:

foreach ( self::$prRegisteredExtensions as $extension => $attributes ) {
		if ( $attributes['baseDir'] != 'ext' ) {
			if( !class_exists( $extension, false ) ) {
				require( $attributes['baseDir'] . DS . $extension . '.class.php' );
			}
		} else {
			if( !class_exists( $extension, false ) ) {
				require( $path . DS . $extension . DS . $extension . '.class.php' );
			}
		}
		self::$aIncludedClasses[] = $extension;
}

Maybe it is also sufficient to change the require statements to require_once.

If it works, please give me a short Feedback so I can add it to the code base.

Test failures at https://integration.wikimedia.org/ci/job/mwext-testextension-hhvm-composer/1142/console

2
Summary by RichardHeigl

problem fixed

Paladox (talkcontribs)

Could these failure be fixed so we can turn on the unit tests for this extension.

11:29:49 Time: 14.2 seconds, Memory: 30.48Mb

11:29:49

11:29:49 There were 13 failures:

11:29:49

11:29:49 1) ApiDocumentationTest::testDocumentationExists with data set "Module bs-namespace-store with MiserMode=false, AllowCategorizedRecentChanges=false" ('bs-namespace-store', array(false, false))

1) ApiDocumentationTest::testDocumentationExists with data set "Module bs-namespace-store with MiserMode=false, AllowCategorizedRecentChanges=false" ('bs-namespace-store', array(false, false)) 11:29:49 Module description message apihelp-bs-namespace-store-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 2) ApiDocumentationTest::testDocumentationExists with data set "Module bs-namespace-store with MiserMode=true, AllowCategorizedRecentChanges=true" ('bs-namespace-store', array(true, true))

2) ApiDocumentationTest::testDocumentationExists with data set "Module bs-namespace-store with MiserMode=true, AllowCategorizedRecentChanges=true" ('bs-namespace-store', array(true, true)) 11:29:49 Module description message apihelp-bs-namespace-store-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 3) ApiDocumentationTest::testDocumentationExists with data set "Module bs-namespace-tasks with MiserMode=false, AllowCategorizedRecentChanges=false" ('bs-namespace-tasks', array(false, false))

3) ApiDocumentationTest::testDocumentationExists with data set "Module bs-namespace-tasks with MiserMode=false, AllowCategorizedRecentChanges=false" ('bs-namespace-tasks', array(false, false)) 11:29:49 Module description message apihelp-bs-namespace-tasks-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 4) ApiDocumentationTest::testDocumentationExists with data set "Module bs-namespace-tasks with MiserMode=true, AllowCategorizedRecentChanges=true" ('bs-namespace-tasks', array(true, true))

4) ApiDocumentationTest::testDocumentationExists with data set "Module bs-namespace-tasks with MiserMode=true, AllowCategorizedRecentChanges=true" ('bs-namespace-tasks', array(true, true)) 11:29:49 Module description message apihelp-bs-namespace-tasks-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 5) ApiDocumentationTest::testDocumentationExists with data set "Module flexiskin with MiserMode=false, AllowCategorizedRecentChanges=false" ('flexiskin', array(false, false))

5) ApiDocumentationTest::testDocumentationExists with data set "Module flexiskin with MiserMode=false, AllowCategorizedRecentChanges=false" ('flexiskin', array(false, false)) 11:29:49 Module description message apihelp-flexiskin-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 6) ApiDocumentationTest::testDocumentationExists with data set "Module flexiskin with MiserMode=true, AllowCategorizedRecentChanges=true" ('flexiskin', array(true, true))

6) ApiDocumentationTest::testDocumentationExists with data set "Module flexiskin with MiserMode=true, AllowCategorizedRecentChanges=true" ('flexiskin', array(true, true)) 11:29:49 Module description message apihelp-flexiskin-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 7) ApiDocumentationTest::testDocumentationExists with data set "Module bs-insertfile-license-store with MiserMode=false, AllowCategorizedRecentChanges=false" ('bs-insertfile-license-store', array(false, false))

7) ApiDocumentationTest::testDocumentationExists with data set "Module bs-insertfile-license-store with MiserMode=false, AllowCategorizedRecentChanges=false" ('bs-insertfile-license-store', array(false, false)) 11:29:49 Module description message apihelp-bs-insertfile-license-store-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 8) ApiDocumentationTest::testDocumentationExists with data set "Module bs-insertfile-license-store with MiserMode=true, AllowCategorizedRecentChanges=true" ('bs-insertfile-license-store', array(true, true))

8) ApiDocumentationTest::testDocumentationExists with data set "Module bs-insertfile-license-store with MiserMode=true, AllowCategorizedRecentChanges=true" ('bs-insertfile-license-store', array(true, true)) 11:29:49 Module description message apihelp-bs-insertfile-license-store-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 9) ApiDocumentationTest::testDocumentationExists with data set "Module bs-wantedarticle with MiserMode=false, AllowCategorizedRecentChanges=false" ('bs-wantedarticle', array(false, false))

9) ApiDocumentationTest::testDocumentationExists with data set "Module bs-wantedarticle with MiserMode=false, AllowCategorizedRecentChanges=false" ('bs-wantedarticle', array(false, false)) 11:29:49 Module description message apihelp-bs-wantedarticle-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 10) ApiDocumentationTest::testDocumentationExists with data set "Module bs-wantedarticle with MiserMode=true, AllowCategorizedRecentChanges=true" ('bs-wantedarticle', array(true, true))

10) ApiDocumentationTest::testDocumentationExists with data set "Module bs-wantedarticle with MiserMode=true, AllowCategorizedRecentChanges=true" ('bs-wantedarticle', array(true, true)) 11:29:49 Module description message apihelp-bs-wantedarticle-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 11) ApiDocumentationTest::testDocumentationExists with data set "Module sidebar with MiserMode=false, AllowCategorizedRecentChanges=false" ('sidebar', array(false, false))

11) ApiDocumentationTest::testDocumentationExists with data set "Module sidebar with MiserMode=false, AllowCategorizedRecentChanges=false" ('sidebar', array(false, false)) 11:29:49 Module description message apihelp-sidebar-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 12) ApiDocumentationTest::testDocumentationExists with data set "Module sidebar with MiserMode=true, AllowCategorizedRecentChanges=true" ('sidebar', array(true, true))

12) ApiDocumentationTest::testDocumentationExists with data set "Module sidebar with MiserMode=true, AllowCategorizedRecentChanges=true" ('sidebar', array(true, true)) 11:29:49 Module description message apihelp-sidebar-description exists

11:29:49 Failed asserting that false is true.

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:51

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/ApiDocumentationTest.php:80

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/MediaWikiTestCase.php:147

11:29:49

11:29:49 13) AvailableRightsTest::testAvailableRights

11:29:49 Additional user rights need to be added to $wgAvailableRights or via the "UserGetAllRights" hook. See the instructions at: https://www.mediawiki.org/wiki/Manual:User_rights#Adding_new_rights

Additional user rights need to be added to $wgAvailableRights or via the "UserGetAllRights" hook. See the instructions at: https://www.mediawiki.org/wiki/Manual:User_rights#Adding_new_rights 11:29:49 Failed asserting that two arrays are equal.

11:29:49 --- Expected

11:29:49 +++ Actual

11:29:49 @@ @@

11:29:49 Array (

11:29:49 +    0 => 'proxyunbannable'

+ 0 => 'proxyunbannable' 11:29:49 )

11:29:49

11:29:49 /mnt/jenkins-workspace/workspace/mwext-testextension-hhvm-composer/src/tests/phpunit/structure/AvailableRightsTest.php:49

11:29:49

11:29:49 FAILURES! �[37;41m�[2KFAILURES! 11:29:49 Tests: 952, Assertions: 10075, Failures: 13.

Osnard (talkcontribs)

Create a BlueSpice project on phabricator

3
Summary by AKlapper (WMF)

Project #BlueSpice created.

Paladox (talkcontribs)

Hi could you request that a BlueSpcie project be created on phabricator for tracking bugs and other things please.

Osnard (talkcontribs)

Good idea. I will discuss this with the team.

Osnard (talkcontribs)
There are no older topics