Last modified: 2005-03-06 22:32:49 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 1613 - use of templates in raw page
use of templates in raw page
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-03-01 22:24 UTC by xmlizer
Modified: 2005-03-06 22:32 UTC (History)
0 users

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


Description xmlizer 2005-03-01 22:24:26 UTC
the aim is to make a css which could help for the "Current events" page.
the main idea is to create a css style

td[class="day{{CURRENTDAY}}"] {background-color:yellow; }

and then to have

| class="day1" |'''[[#Wednesday 1 xxx 2005|1]]'''
| class="day2" | '''[[#Thursday 2 xxx 2005|2]]'''
| class="day27" |'''[[#Monday 27 xxx 2005|27]]'''

May be other use of templates in CSS could be useful
Surely, for the begenning, only the MAGIC template should be used.
Comment 1 xmlizer 2005-03-06 22:32:49 UTC
it's no more a matter for me.
i found another way to do what i want to.
the idea is to add to CSS

.day11, .day22, .day33,
/* ... */ .day3131 { background-color:yellow; }

and then to make

| class="day1{{CURRENTDAY}}" |'''[[#Wednesday 1 xxx 2005|1]]'''
| class="day2{{CURRENTDAY}}" | '''[[#Thursday 2 xxx 2005|2]]'''
| class="day27{{CURRENTDAY}}" |'''[[#Monday 27 xxx 2005|27]]'''

And it works great
It's already working on

I close it as Invalid because "RAW" mode should stay brut mode.

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