Last modified: 2007-05-20 16:07:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9979 - Substring functionality
Substring functionality
Status: RESOLVED DUPLICATE of bug 6455
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-05-20 16:03 UTC by Jamie Hari
Modified: 2007-05-20 16:07 UTC (History)
1 user (show)

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


Description Jamie Hari 2007-05-20 16:03:05 UTC
I think it would be great to have the Parser extended to allow for 'substring' functions.

Something like:

{{#substring: abcdefg | 0 | 0}} would produce: a
{{#substring: abcdefg | 1 | 1}} would produce: b
{{#substring: abcdefg | 0 | 1}} would produce: ab
{{#substring: abcdefg | 2 | 4}} would produce: bcd

or to that general effect.

I don't think any functionality like this currently exists, but please correct me if I am wrong. :)

Comment 1 Raimond Spekking 2007-05-20 16:07:22 UTC

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

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