Last modified: 2007-08-19 21:26:57 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 2847 - Replace variables in "default" parameter
Replace variables in "default" parameter
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/w/index.php...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-13 18:14 UTC by lɛʁi לערי ריינהארט
Modified: 2007-08-19 21:26 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2005-07-13 18:14:03 UTC
splitted requests from bug 2805 "<inputbox> should allow to set predefined titles"
bug 2805 comment 0
> a) However it might be usefull to provide the ability to *insert predefined
> titles* (for the articles to be created. Each wiki could decide (on each
> occurence)
where no requirement about *flexible predefined titles* (trough templates) was made.

This (actual) limitation is documented at
[[meta:Help:Inputbox#Impossibility_to_use_an_expression_for_a_parameter_value]].

At
http://ro.wikinews.org/w/index.php?title=Format:Creeaz%C4%83_articol/alternativ%C4%83&action=history
are some tests regaring this limitation.

default={{CURRENTDAYNAME}},&nbsp;{{CURRENTDAY}}&nbsp;{{CURRENTMONTHNAME}}&nbsp;{{CURRENTYEAR}},&nbsp;ora&nbsp;([[w:UTC|UTC]])
default=Wikiştiri:{{creează articol/truc}}
default=Wikiştiri:{{SUBST:creează articol/truc}}

*If* the actual software design would permit to use variables (and as a maximal
requirement templates) many conflicts due to already existing titles could be
avoided.


This requirement somehow relates
- to what is called *actual title* at bug 1575 comment 4
- to what is called *legal article title* at bug 2797 comment 1

Best regards Reinhardt [[user:gangleri]]
Comment 1 Rob Church 2006-06-25 02:17:44 UTC
Let me clear this up. The request is to have variables replaced in the "default"
parameter before using it to fill in the default title?
Comment 2 Judson (enwiki:cohesion) 2006-08-13 06:07:26 UTC
I think so, I would use this as well, for making date based pages also.
Comment 3 Judson (enwiki:cohesion) 2006-08-13 06:44:52 UTC
Actually, it's easier to just not use inputbox for this, and just encode the
variables all in a url.
Comment 4 Rob Church 2007-08-19 21:26:57 UTC
This was done in r24580.

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


Navigation
Links