At Vistaprint (www.vistaprint.com), we have an extensive internal wiki, and over the last six years, my team has built 50+ custom MediaWiki extensions. I'm happy to announce that we are starting to release these extensions as open source. They range from very small (see below) to quite powerful & unique.
To help us get familiar with Wikimedia's Git/Gerrit process, we're beginning with a very small but useful extension: CategoryTagSorter. It simply alphabetizes the category links displayed in articles. (Normally they appear in the same order written as in the wikitext.) It has been called "the simplest useful MediaWiki extension" and was written originally by Dan Barrett (User:Maiden_taiwan, also author of the O'Reilly MediaWiki book).
Have a look at the documentation at: http://www.mediawiki.org/wiki/Extension:CategoryTagSorter
View the code at: https://git.wikimedia.org/log/mediawiki%2Fextensions%2FCategoryTagSorter
We are looking forward to releasing more extensions in the coming months, and hope to become more involved in the MediaWiki community in general. Questions and/or comments can be sent to me directly, or to MediawikiExtensions(a)vistaprint.com.
Cheers,
--Daniel Renfro (User:AlephNull) and the rest of the MediaWiki development team at Vistaprint
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
in my extension I would like to use the slider from jquery.ui .
Therefore I created a tag <Rslider /> to show the slider. It translate
in a wiki page to
<script>mw.loader.using( 'jquery.ui.slider', function() { $(
"#slider" ).slider(); });</script><div id="slider"></div>
As I understand I do not need to use ResourceLoader at all since I
want to use just a standard element of jquery.ui .
However, the slider does not show up which means I'am doing something
wrong :(
Thanks for any help
Sigbert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSsBg5AAoJEBgNLCKL5DEWcksIAK6ck38aRTFKcZzoKUc3gtdk
MlLBsbgbp4I3CyXxb8Q8eBBHl/JB5WJVB6G3OQcjKOKiKoH9gm9G8RWxKsWymtzh
Tywr3N/vflyIGzRccAu2IZimvkzSOo0xIhIsHcJHhCqYewZfg9cWyiOyGY2gX1VO
vDgoQrH7QCH8L2wKeq69eKGywDMfVdSPZx/2WfKQG2UXgoD+6M2BBXjLiw1M9ha4
N0d9Vd0+UVaVUhZ7UBwgCDe716tnsTkVQ8IpdaDUG/YKkxF394+c5dqhLC2ixhNz
ZlWaV6QufqTBn9uFVKahFy/6EjQoU+gFCtJD2ID7XmnA1TYZTCXR71yZh6wjyzk=
=1xLn
-----END PGP SIGNATURE-----
I am still getting this error message on my Mediawiki site:
http://www.physicswiki.net
Error: Module:Navbar:25: bad argument #1 to 'sub' (string expected, got
nil)
It pops up on the top of some boxes at the bottom of articles on some
pages. Seems to be related to LUA & Scribunto modules. I did not have
this until I installed those extensions. I see that they are required in
order for the templates that I download from Wikipedia and use on my
site.
Any ideas as to how to rid my site of this is appreciated.
Thanks
John
Hello,
Happy New Year to all!
I would like to announce the release of MediaWiki Language Extension
Bundle 2013.12. This bundle is compatible with MediaWiki 1.21.3 and
MediaWiki 1.22.0 releases.
* Download: https://translatewiki.net/mleb/MediaWikiLanguageExtensionBundle-2013.12.tar…
* sha256sum: 2ef19e31d685dd0d6e50088ec8bbb1cd3e74c694096dfa333efb61dcfee9c3c0
Quick links:
* Installation instructions are at: https://www.mediawiki.org/wiki/MLEB
* Announcements of new releases will be posted to a mailing list:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-i18n
* Report bugs to: https://bugzilla.wikimedia.org
* Talk with us at: #mediawiki-i18n @ Freenode
Release notes for each extension are below.
-- Kartik Mistry
== Babel, CLDR and LocalisationUpdates ==
* Only localization updates.
== CleanChanges ==
* Bug 58439: Fix Monobook skin by removing extra
<nowiki></div></nowiki> creating invalid HTML.
* Localization updates.
== Translate ==
=== Noteworthy changes ===
* Translator Sandbox:
** Translator Sandbox is a feature to simplify the sign-up process for
new translators. It can be enabled using "$wgTranslateUseSandbox =
true;", but it will only be useful in conjunction with the
TwnMainPage, which is not included in MLEB (at least yet).
** Stash and translator approval pages are now usable.
** When a user is accepted, a bare-bones user page with a Babel box is created.
* TUX editor:
** Bug 53748: Message group related calls were made two order of
magnitudes faster, making Special:Translate's group selector, workflow
state selector etc. fast enough even on wikis with hundreds or
thousands groups.
** Add useful shortcuts to TUX editor. All buttons to insert/replace
text (insertables and then translation aids in order; "discard
changes" is skipped) are numbered from 1 up and can be accessed with
both alt+<num> and arrow up and down.
** Update the statusbar at the bottom of the TUX message tables when
saving or proofreading.
* Added support to MediaWiki localisation format from PHP files to
JSON files. This is part of the Localization Format RFC (
https://www.mediawiki.org/wiki/Requests_for_comment/Localisation_format
).
** Add support for JSON in mediawiki-defines.txt, allowing the
handling of MediaWiki extension that us the new format. Documentation
about the updates in MessageGroup configuration can be found at:
https://www.mediawiki.org/wiki/Help:Extension:Translate/Group_configuration…
** Fixed JsonFFS for properly importing and exporting Authors.
** targetPattern in group configuration is now optional.
** Migrate the Translate extension itself to JSON based i18n files
from PHP files. This change is transparent to all users of extension.
* Support xliff 1.1 files in addition to xliff 1.2 as well, but
without validation.
=== Breaking changes ===
Special:FirstSteps has been removed from Translate. If you want the
feature, you'll have to download it separately.
== UniversalLanguageSelector ==
=== Noteworthy changes ===
* Language selector now opens an order of magnitude faster (see
https://github.com/wikimedia/jquery.uls/pull/122 for details).
* Initial support for webfonts in MobileFrontend:
** Currently, support for webfonts in MobileFrontend is disabled by
default. It can be enabled by setting $wgULSMobileWebfontsEnabled =
true; in LocalSettings.php file. Note that, even then it will only be
enabled for users who has opted in for the mobile beta mode.
=== Fonts ===
* Bug 57767: Enable Amiri font for Soranî language.
* Bug 58381, 58382: Add Lateef and Scheherazade fonts for Soranî and
Farsi languages.
* Update Autonym font to version 20131205:
** Fixed Autonym for Old Slavonic.
** Fixed glyphs for the Glagolitic script.
** Removed Reserved Font Name (RFN) and documentation updates.
--
Kartik Mistry/કાર્તિક મિસ્ત્રી | IRC: kart_
{kartikm, 0x1f1f}.wordpress.com
We have an extension that has modified the schema with a view. Using MW 1.19 and mySQL 5.6, I'm trying to learn unit testing to do some code archaeology and refactoring. When I run tests/phpunit/phpunit.php I get:
$ php phpunit.php
PHPUnit 3.7.28 by Sebastian Bergmann.
Configuration read from /Library/WebServer/Documents/GO/wiki/tests/phpunit/suite.xml
A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: CREATE TEMPORARY TABLE `unittest_cacao_open_challenges_view` (LIKE `cacao_open_challenges_view`)
Function: DatabaseMysql::duplicateTableStructure
Error: 1347 'go_wikidb.cacao_open_challenges_view' is not BASE TABLE (localhost)
Since the schema change is there regardless of whether the extension is active or not, the test crashes either way. The wiki works.
As I understand it, this is because mySQL doesn't allow temporary tables to be created from views. So... I am guessing that I somehow need to tell phpunit to skip this view when testing the database.
How do I do that?
Thanks!
Jim
=====================================
Jim Hu
Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
I am out of the office until 12/30/2013.
Thank you for your email, I will be out of the office on 12/27/2013 and
returning to the office 12/30. Please contact BT-MMS-MiddlewareEngineering
for any emergencies.
Happy Holidays
Thank you,
Best Regards,
Robert L. Garritano | Discover Financial Services
MMS - Middleware Engineering
2500 Lake Cook Road, Riverwoods, IL 60015
( Office (224) 405-1621
RobertGarritano(a)discover.com
Note: This is an automated response to your message "Re: [MediaWiki-l]
Error message Help needed" sent on 12/27/2013 21:45:18.
This is the only notification you will receive while this person is away.
Please consider the environment before printing this email.
Hi, everyone!
I wonder if there is a way to parse template into object with mediawiki
functions/classes? The goal is to extract parameters and values from
string like:
{{MyTemplate|param1=10|Param2=20}}
I can not find related class or function.
Hi all
I want to create a multiple choice Question/Answer tree-based structure in
the wiki that visitors can browse. Depending on what answer they choose,
they're taken to the next question. As typical there can be links or images
in the questions or answers. The administrators can edit the questions and
answers in regular wiki format.
Is there any way to do this or has anyone seen this anywhere? Maybe its
possible through Semantic wiki?
thanks
Dan
I'm trying the connection but my password did not accept
Sent from my HTC
----- Reply message -----
From: mediawiki-l-request(a)lists.wikimedia.org
To: <mediawiki-l(a)lists.wikimedia.org>
Subject: MediaWiki-l Digest, Vol 123, Issue24
Date: Mon, Dec 23, 2013 16:00
Send MediaWiki-l mailing list submissions to
mediawiki-l(a)lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
or, via email, send a message with subject or body 'help' to
mediawiki-l-request(a)lists.wikimedia.org
You can reach the person managing the list at
mediawiki-l-owner(a)lists.wikimedia.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
1. Patch files for 1.22 release (Federico Leva (Nemo))
2. Re: Patch files for 1.22 release (K. Peachey)
----------------------------------------------------------------------
Message: 1
Date: Mon, 23 Dec 2013 10:46:35 +0100
From: "Federico Leva (Nemo)" <nemowiki(a)gmail.com>
To: MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Subject: [MediaWiki-l] Patch files for 1.22 release
Message-ID: <52B8067B.5070401(a)gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Hah, David Gerard has not asked yet! Can we have patch files?
https://www.mediawiki.org/w/index.php?title=Manual:Upgrading&curid=8407&dif…
Nemo
------------------------------
Message: 2
Date: Mon, 23 Dec 2013 19:51:02 +1000
From: "K. Peachey" <p858snake(a)gmail.com>
To: MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [MediaWiki-l] Patch files for 1.22 release
Message-ID:
<CADnECnW2z-oYCvR5g=pxSH8EdPELsxYEXuYUjZTKJbFJrRnAPQ(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
There is a bug opened and assigned to Hex about this already.
On 23 December 2013 19:46, Federico Leva (Nemo) <nemowiki(a)gmail.com> wrote:
> Hah, David Gerard has not asked yet! Can we have patch files?
> https://www.mediawiki.org/w/index.php?title=Manual:
> Upgrading&curid=8407&diff=847810&oldid=847658
>
> Nemo
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
------------------------------
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
End of MediaWiki-l Digest, Vol 123, Issue 24
********************************************