Last modified: 2007-06-04 16:52:56 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 10136 - New Magicword for BOOKNAME
New Magicword for BOOKNAME
Status: RESOLVED DUPLICATE of bug 6067
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-04 16:45 UTC by Andrew Whitworth
Modified: 2007-06-04 16:52 UTC (History)
0 users

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


Attachments

Description Andrew Whitworth 2007-06-04 16:45:54 UTC
en.wikibooks has several books with page structure "Bookname/Chaptername/Pagename". I would like a magic word that will isolate the highest-level parent only from the list. {{BASEPAGENAME}} will isolate "Bookname/Chaptername", but I only want to isolate "Bookname". 

For instance, in the page "Bookname/Chaptername/Pagename", {{BOOKNAME}} would return "Bookname". 

en.wikibooks does not have the StringFunctions installed, although those functions could be used to do the same thing. However, considering that this feature will be used on many pages, it will probably be easier on the server to just provide a new magic word.
Comment 1 Raimond Spekking 2007-06-04 16:52:56 UTC
This is a dupe for bug 6067 (closed as WONTFIX).

For installing the StringFunctions see bug 6455.



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

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


Navigation
Links