Last modified: 2012-01-19 20:40:17 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 T35782, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33782 - adding __ONLYTOC__ to have only Table of contents
adding __ONLYTOC__ to have only Table of contents
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-18 12:32 UTC by reza1615
Modified: 2012-01-19 20:40 UTC (History)
0 users

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


Attachments

Description reza1615 2012-01-18 12:32:17 UTC
In many cases to have Transclusion some pages in one page it makes that page heavy.(i.e. http://en.wikipedia.org/wiki/Wikipedia:Vital_articles/Expanded)
In my opinion instead of showing all pages contents in one page it can only show the  table of content that each section has link to origin page (SubPages#SubSection).

for example
-----------------content of PageMain------------
{{page1}} 
-----------------content of page1----------------
== topic 1==
some text
...
===topic 2===
some text
...
----------------using __ONLYTOC__ in PageMain-----------
__ONLYTOC__
{{page1}} 

----------------result of PageMain-----------
1-topic1 (that links to [[page1#topic1]])
1-1-topic2 (that links to [[page1#topic2]])

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


Navigation
Links