Last modified: 2005-03-06 22:32:49 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 T3613, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1613 - use of templates in raw page
use of templates in raw page
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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 http://fr.wikipedia.org/wiki/Actualit%C3%A9s

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.


Navigation
Links