Jump to content

Extension talk:BoilerPlate

About this board

Git vs Special:ExtensionDistributor/BoilerPlate

2
Jer Hughes (talkcontribs)

Is there any difference in following the download directions under "Usage" vs just download the extension from the distributor? The article talked about how the command line steps will prevent git metadata from downloading, but I see the same .git files in both.

Honestly I'm not too familiar with git and overwhelmed with how many files are inside the BoilerPlate extension.

Samwilson (talkcontribs)

No, I don't think there is. You just have to delete the `.git` directory, and re-init it as a new repository.

By the way, have you seen mwstew? It's pretty cool way to start a new extension.

Reply to "Git vs Special:ExtensionDistributor/BoilerPlate"

Extension.json does not exist.

3
Karima Rafes (talkcontribs)

Hello

I deployed the last version of BoilerPlate in Mediawiki 1.30.

https://github.com/wikimedia/mediawiki-extensions-BoilerPlate

I tested before to change your code... I have this error (the file exists on the disk)

( ! ) Fatal error: Uncaught Exception: /var/www/mediawiki/extensions/BoilerPlate/extension.json does not exist! in /var/www/mediawiki/includes/registration/ExtensionRegistry.php on line 99
( ! ) Exception: /var/www/mediawiki/extensions/BoilerPlate/extension.json does not exist! in /var/www/mediawiki/includes/registration/ExtensionRegistry.php on line 99
Call Stack
# Time Memory Function Location
1 0.2007 360696 {main}( ) .../index.php:0
2 0.2009 361864 require( '/var/www/mediawiki/includes/WebStart.php' ) .../index.php:40
3 0.2045 748400 require_once( '/var/www/mediawiki/LocalSettings.php' ) .../WebStart.php:102
4 0.2051 875696 wfLoadExtension( ) .../LocalSettings.php:167
5 0.2051 875792 ExtensionRegistry->queue( ) .../GlobalFunctions.php:120

An idea ?

Samwilson (talkcontribs)

The Boilerplate extension is not meant to be installed, but rather to be copied as a starting point for the development of a new extension.

That said, there is an extension.json file in it, so perhaps you've got an older version of the extension?

Karima Rafes (talkcontribs)
Reply to "Extension.json does not exist."

Merge with Extension:Cookiecutter-mediawiki-extension

1
JonasGroger (talkcontribs)
Reply to "Merge with Extension:Cookiecutter-mediawiki-extension"
Jdlrobson (talkcontribs)

I've noticed various issues with the Boilerplate. For instance, ideally it should come packaged with a Gruntfile and PHPUnit/QUnit testing framework in place to make development easier. Keen to work on this but would like to manage these sort of tasks in Phabricator.

SPage (WMF) (talkcontribs)
Reply to "Add to Phabricator"
There are no older topics