Last modified: 2007-12-27 18:40:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14421, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12421 - Add option to install the ParserFunctions extension in the installation script
Add option to install the ParserFunctions extension in the installation script
Status: RESOLVED DUPLICATE of bug 10596
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.12.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-26 20:34 UTC by Ryan Schmidt
Modified: 2007-12-27 18:40 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Adds option to install ParserFunctions in /config/index.php (2.29 KB, patch)
2007-12-26 20:34 UTC, Ryan Schmidt
Details

Description Ryan Schmidt 2007-12-26 20:34:11 UTC
Created attachment 4472 [details]
Adds option to install ParserFunctions in /config/index.php

The attached patch adds a toggle which allows users to install the ParserFunctions extension while installing MediaWiki (does ''not'' get installed by default). Of course, this requires that the ParserFunctions extension be shipped with the MediaWiki code (in /extensions/ParserFunctions), but that's probably not much of an issue.

The reasoning behind creating this patch is that many people copy advanced templates and such from Wikimedia Foundation wikis (such as English Wikipedia), and most of those templates use ParserFunctions. Therefore, shipping this extension with the core and adding an option to include it during MediaWiki installation saves the user from trying to figure out what they're missing when stuff starts breaking, and/or saves the user from having to upload and install the extension themselves.

And I'll say it again... If you decide to implement this into the installation script, please remember to ship out the ParserFunctions extension along with the core code (put it in /extensions/ParserFunctions). Fatal errors aren't really nice :)
Comment 1 Christian Neubauer 2007-12-27 18:21:17 UTC
I modified your patch to read from a config file and install any extensions described in it.  I also added some checking to make sure the extension file exists.  The patch is comment #1 on 10596.
Comment 2 Ryan Schmidt 2007-12-27 18:40:48 UTC

*** This bug has been marked as a duplicate of bug 10596 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links