Last modified: 2010-05-15 15:28:16 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 T2876, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 876 - feature request new variables
feature request new variables
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.3.x
PC Windows XP
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://fr.wikipedia.org/wiki/Utilisat...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-14 02:14 UTC by lɛʁi לערי ריינהארט
Modified: 2010-05-15 15:28 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2004-11-14 02:14:48 UTC
http://fr.wikipedia.org/wiki/Utilisateur:Gangleri/tests#Templates 
shows an template supposed to be used to provide a link 
to "Whatlinkshere" at a place where <nowiki>{{PAGENAMEE}}
</nowiki> can not be used as refference, because it relates to 
another page.

It is not the inconvenience to replace the spaces with 
underscores in particular cases. It is mainly the need to use 
this template itself in another template where "pagenames" should 
not be used in two versions (with "spaces" and 
with "underscores").

This is why it we should think together 
what "additional" "variables" (I would prefer to say "functions" 
because they are used with the "template method") are neccessary 
in the future and how they can be used.

a) A "function" {{PAGENAMEE|foo}} (or however it should be 
called) would satisfy the request for 
[[:fr:Utilisateur:Gangleri/tests#Templates]].

b) I identified more "variables", usefull but not available at 
the moment:
b1) subdomain: this would be "fr" for [[:fr:]], "ja" for 
[[:ja:]], "meta" for [[meta:]], "test" for [[test:]],  "bugzilla" 
for http://bugzilla.wikipedia.org/ etc.
b2) domain (project): this would be "wikiquote.org" for 
[[wikiquote:]], "wiktionary.org" for 
[[wiktionary:]], "wikimedia.org" for [[meta:]], "wikipedia.org" 
for http://bugzilla.wikipedia.org/  etc.

Thinking about timestamps I want to address the following:
There are many aspects how Wikipedia is "working" today. 

c1) There is the timestamp, when an "object" has been saved last 
time. <nowiki>"~~~~~"</nowiki> can be used in this context.
c2) There is the timestamp, when an "object" has been purged last 
time from cache. To my knowledge this timestamp can not be seen. 
It would help to see that templates have changed, objects linked 
already here have been defined in between (categories, 
articles ...)
c3) There is an actual timestamp. The question to support it or 
not is another question.
Related to this it maight be an option to show c1) and c2) below 
<nowiki>{{int:fromwikipedia}}</nowiki> "in a trace mode" 
available for sysops, or together with a new action.

I pointed some of these items at [[User talk:IMSoP#appendix 3]].

There "random, min, max" {{RANDOM|min|max}} is specified also. I 
specified it there because I would say it belongs to my "personal 
patterns". You may have a different approch on this. To my 
opinion different (parts) of the content could be represented 
randomly. But the discussion about this should not be here.

Regards Reinhardt
Comment 1 lɛʁi לערי ריינהארט 2004-11-14 23:04:48 UTC
Addendum:

At [[:fr:Utilisateur:Gangleri/tests/02]] you can see that {{{1}}} is 
handeled differently:

a) in "Historique" it is part of the "localurl:" (before "|") and spaces 
are replaced by "_" 
b) in "Pages liées" it is part of the "localurl:-parameter" (after "|") 
spaces are NOT replaced by "_" 

Regards Reinhardt
Comment 2 Rob Church 2006-05-06 20:31:58 UTC
Colour me confused.

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


Navigation
Links