Last modified: 2011-09-19 18:34:18 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 T30015, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28015 - BookManager: Add {{RANDOMCHAPTER}} functionality
BookManager: Add {{RANDOMCHAPTER}} functionality
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
BookManager (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Raylton P. Sousa
:
Depends on:
Blocks: 28011
  Show dependency treegraph
 
Reported: 2011-03-12 22:06 UTC by Helder
Modified: 2011-09-19 18:34 UTC (History)
1 user (show)

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


Attachments

Description Helder 2011-03-12 22:06:03 UTC
Besides the {{RANDOMBOOK}} variable requested on bug 28014, the extension could also provide the editors a {{RANDOMCHAPTER}} variable to get a random page of a specific book.

This would be interesting for books like [[b:Cookbook]]:
* [[{{RANDOMCHAPTER}}|Go to a random recipe]]

(see also [[b:Cookbook_talk:Table_of_Contents/Archive_6#Random_recipe]])
Comment 1 Raylton P. Sousa 2011-05-09 11:55:51 UTC
I'd Fix it in r87708, but the numeric key for "{{RANDOMCHAPTER}}" and "{{RANDOMCHAPTERE}}" are different things, so "{{RANDOMCHAPTERE}}" is not the same as "{{urlencode:{{RANDOMCHAPTER}}}}" or "{{RANDOMCHAPTER}}" etc.

Another problem is that it also can't accept custom values ​​as {{RANDOMCHAPTER: [bookname]}}
Comment 2 Helder 2011-09-19 18:34:18 UTC
I'm closing this bug as WONTFIX per problems mentioned on Bug 31003.

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


Navigation
Links