Last modified: 2009-04-30 01:47:08 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 T14434, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12434 - New variable {{SECTIONNAME}}, analogous to {{PAGENAME}}
New variable {{SECTIONNAME}}, analogous to {{PAGENAME}}
Status: RESOLVED DUPLICATE of bug 1605
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-28 01:05 UTC by Dan Jacobson
Modified: 2009-04-30 01:47 UTC (History)
0 users

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


Attachments

Description Dan Jacobson 2007-12-28 01:05:49 UTC
Idea: a new variable {{SECTIONNAME}}, analogous to {{PAGENAME}}:

Instead of

  ===L-alpha carbo bromocide delta tocaporal===
  '''L-alpha carbo bromocide delta tocaporal''' can be divided into two groups:
  # Glutenose-positive L-alpha carbo bromocide delta tocaporal
  # Glutenose-negative L-alpha carbo bromocide delta tocaporal

One need merely write

  ===L-alpha carbo bromocide delta tocaporal===
  '''{{SECTIONNAME}}''' can be divided into two groups:
  # Glutenose-positive {{SECTIONNAME}}
  # Glutenose-negative {{SECTIONNAME}}

OK, I go only as far as broaching the above idea, the details I leave
up to you guys. Same for the hard work of implementing it, as I'm off
to find a new bug. Some people are coders, some people are just "idea
people", each has their place.

I suppose keeping track of the current section's name is probably done
much differently than the current page name, therefore perhaps too
much trouble (sure hate to bloat your parser more). If not, then
ideally {{SECTIONNAME}} should end up in
"Help:Variables - discusses default variables built into the core MediaWiki package".

We observe my brilliant {{SECTIONNAME}} proposal above is different
than Bug 1689, Bug 9653, Bug 7256, Bug 9242, Bug 9239, Bug 9240.
Comment 1 Dan Jacobson 2009-04-30 01:47:08 UTC

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

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


Navigation
Links