Last modified: 2007-05-20 16:07:22 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 T11979, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9979 - Substring functionality
Substring functionality
Status: RESOLVED DUPLICATE of bug 6455
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/Parser...
:
Depends on:
Blocks:
  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: ---


Attachments

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. :)


Cheers!
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.


Navigation
Links