Wikibase is written in a generic fashion to support 3rd parties. Wikimedia specific code should be placed outside the extension. This task documents that work.
Precursors
- The static png asset needed (static/images/wmf-hor-googpub.png) is available in production
Developer notes
T198946 introduced three new strings. These should be overridden on all wikis via Special:AllMessages. The proposed configuration is:
wikibase-page-schema-publisher-name: `Wikimedia Foundation, Inc.` wikibase-page-schema-publisher-logo-url: `https://www.wikimedia.org/static/images/wmf-hor-googpub.png` wikibase-page-schema-author-name: `Contributors to Wikimedia projects`
These will be defined inside the WikimediaMessages extension and defined per [[ T207790#4693269 | these guidelines ]]
Developer testing notes
Make sure you have WikimediaMessages installed in LocalSettings
wfLoadExtension( 'WikimediaMessages' );
A visit to http://localhost:8888/w/index.php?title=MediaWiki:Wikibase-page-schema-publisher-name&useformat=desktop (making sure any ContentProvider is disabled) should be enough to verify the fix.
QA steps
- Visit https://en.wikipedia.org/wiki/MediaWiki:Wikibase-page-schema-publisher-logo-url on the wiki of your choice and verify that the message exists
- Also visit the beta cluster to ensure the same messages are available there