Last modified: 2009-04-30 01:47:08 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 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