[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2020-04-21 Thread lucamauri
lucamauri added a comment.


  For your information, I just added a brief explanation of this feature in the 
"Advanced Configuration" page 


TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ladsgroup, lucamauri
Cc: lucamauri, Lydia_Pintscher, DD063520, Addshore, Aklapper, Blissjay007, 
Oblanco79, Alter-paule, Hazizibinmahdi, Beast1978, Un1tY, Hook696, Daryl-TTMG, 
RomaAmorRoma, E.S.A-Sheild, Iflorez, Pavithraes, darthmon_wmde, Kent7301, 
alaa_wmde, Meekrab2012, joker88john, CucyNoiD, Nandana, NebulousIris, Gaboe420, 
Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, 
Af420, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Ivana_Isadora, 
Adik2382, Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, 
WSH1906, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, 
Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2019-12-19 Thread gerritbot
gerritbot added a comment.


  Change 559183 **merged** by jenkins-bot:
  [mediawiki/extensions/Wikibase@master] Document 
$wgWBRepoSettings['statementSections']
  
  https://gerrit.wikimedia.org/r/559183

TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ladsgroup, gerritbot
Cc: DD063520, Addshore, Aklapper, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, Iflorez, Pavithraes, darthmon_wmde, alaa_wmde, 
Meekrab2012, joker88john, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, 
Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Ivana_Isadora, Adik2382, 
Jayprakash12345, Th3d3v1ls, Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, 
Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, srodlund, 
Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2019-12-18 Thread gerritbot
gerritbot added a comment.


  Change 559183 had a related patch set uploaded (by Ladsgroup; owner: 
Ladsgroup):
  [mediawiki/extensions/Wikibase@master] Document 
$wgWBRepoSettings['statementSections']
  
  https://gerrit.wikimedia.org/r/559183

TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: DD063520, Addshore, Aklapper, Pavithraes, darthmon_wmde, Nandana, Cpaulf30, 
Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, Jayprakash12345, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, srodlund, Wikidata-bugs, 
aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2019-12-10 Thread Addshore
Addshore added a comment.


  In T240189#5727878 , 
@DD063520 wrote:
  
  > Perfect! Thank you!
  > Last point related to this. There seams to be missing some localizations. 
In german for the Identifier section there is written:
  > ⧼wikibase-statementsection-identifiers⧽
  
  Sounds like this needs to be added to Wikibase.
  Currently this lives in the WikimediaMessages extension for WIkimedia use only
  
https://github.com/wikimedia/mediawiki-extensions-WikimediaMessages/search?utf8=%E2%9C%93=wikibase-statementsection-identifiers=
  
  I'll file a ticket

TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: DD063520, Addshore, Aklapper, Pavithraes, darthmon_wmde, DannyS712, 
Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, 
Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
srodlund, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2019-12-10 Thread DD063520
DD063520 added a comment.


  Perfect! Thank you!
  
  Last point related to this. There seams to be missing some localizations. In 
german for the Identifier section there is written:
  ⧼wikibase-statementsection-identifiers⧽

TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: DD063520
Cc: DD063520, Addshore, Aklapper, Pavithraes, darthmon_wmde, DannyS712, 
Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, 
Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
srodlund, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2019-12-10 Thread Addshore
Addshore added a comment.


  For example, on wikidata, https://www.wikidata.org/wiki/Q74434535?action=purge

TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: DD063520, Addshore, Aklapper, Pavithraes, darthmon_wmde, DannyS712, 
Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, 
Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
srodlund, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2019-12-10 Thread DD063520
DD063520 added a comment.


  Hi I guess the mistake was that the change has to be done in the:
  
  LocalSettings.php
  
  but in:
  
  extensions/Wikibase/repo/config/Wikibase.example.php
  
  right? Also he is caching. You are right. How can I purge the cache? The one 
of the browser seams not to suffice .

TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: DD063520
Cc: DD063520, Addshore, Aklapper, Pavithraes, darthmon_wmde, DannyS712, 
Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, 
Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
srodlund, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2019-12-10 Thread Addshore
Addshore added a comment.


  > just by restarting the containers.
  
  Which command?
  
  The best way to check is check the values of LocalSettings.php in the 
container and see if the settings appear there.
  Even once the setting is updated it could be that things are cached and you 
won't see changes until you do a purge of the pages.

TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: DD063520, Addshore, Aklapper, Pavithraes, darthmon_wmde, DannyS712, 
Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, 
Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
srodlund, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2019-12-10 Thread DD063520
DD063520 added a comment.


  Mh . still not working somehow, I do:
  
  1. Add this:
  
  Add this to separate the identifiers in a separate section
  ==
  
  ${DOLLAR}wgWBRepoSettings['statementSections'] = array(
  
'item' => array(
'statements' => null,
'identifiers' => array(
'type' => 'dataType',
'dataTypes' => array( 'external-id' ),
),
),
  
  );
  
  to the config file LocalSettings.php.template which is mounted like this:
  
image: wikibase/wikibase:1.33-bundle
links:
  - mysql
ports:
# CONFIG - Change the 8181 here to expose Wikibase & MediaWiki on a 
different port
 - "8181:80"
volumes:
  - mediawiki-images-data:/var/www/html/images
  - quickstatements-data:/quickstatements/data
  - ./images:/var/www/html/resources/assets/images
  - ./LocalSettings.php.template:/LocalSettings.php.template
  
  2. Relaod the image using:
  
  docker-compose up --no-deps -d wikibase
  
  3. Checking the service doesn't show any change.
  
  Maybe I'm doing something stupid ?!?!?
  
  NOTE: the other configs like the logo where changed without "docker-compose 
up --no-deps -d wikibase" but just by restarting the containers.

TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: DD063520
Cc: DD063520, Addshore, Aklapper, Pavithraes, darthmon_wmde, DannyS712, 
Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, 
Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
srodlund, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2019-12-10 Thread Addshore
Addshore added a comment.


  > Where is this file 
https://noc.wikimedia.org/conf/InitialiseSettings.php.txt located?
  
  This is just a text file showing what is set in WMF production.
  
  For a regular wikibase this will work
  
$wgWBRepoSettings['statementSections'] = array(
'item' => array(
'statements' => null,
'identifiers' => array(
'type' => 'dataType',
'dataTypes' => array( 'external-id' ),
),
),
);
  
  If you are using the docker images and the template file then you need the 
${DOLLAR} too.
  Also note, in order for settings changes like this to work with the docker 
images you will need to create a NEW container, restarting the old one will not 
work.
  Giving 
https://addshore.com/2018/06/customizing-wikibase-config-in-the-docker-compose-example/
 a read should help, note the section about reloading a service.

TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: DD063520, Addshore, Aklapper, Pavithraes, darthmon_wmde, DannyS712, 
Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, 
Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
srodlund, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T240189: Document $wgWBRepoSettings['statementSections'] in /docs/options in Wikibase

2019-12-10 Thread DD063520
DD063520 added a comment.


  Hi,
  
  thank you for you answer! Unfortunately I do not get it fully. In different 
place it seams that the configuration is slightly different. I now put:
  
${DOLLAR}wgWBRepoSettings['statementSections'] = array(
'wikidatawiki' => array(
'item' => array(
'statements' => null,
'identifiers' => array(
'type' => 'dataType',
'dataTypes' => array( 'external-id' ),
),
),
),
);
  
  in the LocalSettings.php.template file. But this seams not to work 
  
  Where is this file https://noc.wikimedia.org/conf/InitialiseSettings.php.txt 
located?
  
  Merci
  D063520

TASK DETAIL
  https://phabricator.wikimedia.org/T240189

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: DD063520
Cc: DD063520, Addshore, Aklapper, Pavithraes, darthmon_wmde, DannyS712, 
Nandana, Cpaulf30, Lahi, Gq86, GoranSMilovanovic, Ivana_Isadora, 
Jayprakash12345, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, 
srodlund, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs