[Commons-l] Software impreovments

Magnus Manske magnusmanske at googlemail.com
Fri Jul 6 10:44:51 UTC 2007


Hmm...

{{information|Author=The [[Artist]]}}

could (per template) become

[table stuff]
<div id='information_author'>The <a href="Artist'>Artist</a><div>
<div id='information_source_author' style='display:none'>The [[Artist]]</div>
[clickable element]
[/table stuff]

where [clickable element] would, upon click,
* change the 'information_author' div into a textarea, containing
'information_source_author', and OK/cancel buttons
* on OK, get the page source, replace "author=The [[Artist]]" with
"author=[new wiki text]", store it via EditPage.js
* update page display

This could apply to other parts of the article text, not just template
parameters. {{editinline|stuff}}, anyone?

Cheers,
Magnus



On 7/6/07, Bryan Tong Minh <bryan.tongminh at gmail.com> wrote:
> How about on-the-fly editting of information in the information
> template? Users could just click on a field they want to edit, and in
> the end hit "save", without having to deal much with difficult
> wikicode... Plus the page doens't have to be reloaded if
> [[MediaWiki:EditPage.js]] is used. (And had been made
> cross-browser-compatible)



More information about the Commons-l mailing list