Template talk:InterProject
Add topicAppearance
Latest comment: 10 years ago by PiRSquared17 in topic Simplification and internationalization
Link to Commons
[edit]This template creates a link on the toolbar at the left side, for example look at Special:Recentchanges. When clicking on it, expands the items, but also moves us to the inexistent page at commons "SisterProjects". I think the bug is at MediaWiki:InterProject.js. Any javascript coder could have a look please? -Aleator (talk) 23:20, 30 July 2011 (UTC)
- The script was imported from Commons, IIRC; could you check whether there was any update of the code there? Thank you, Nemo 22:37, 3 August 2011 (UTC)
- Yes. Answered at MediaWiki_talk:InterProject.js. Thanks! -Aleator (talk) 23:46, 4 August 2011 (UTC)
Simplification and internationalization
[edit]- I would like to simplify the code (
{{int:Sisterprojects}}
instead of{{ #ifeq: {{int:Sisterprojects}} || {{MediaWiki:Sisterprojects}} | {{int:Sisterprojects}} }}
) and put it in <includeonly></includeonly> tags. - I would like to internationalize also links title in various languages: for example using MediaWiki:Sisterprojects-links-title = "Links to other Wikimedia projects" for English, and "Collegamenti agli altri progetti Wikimedia" for Italian.
New code would be:
<includeonly><div id="interProject" style="border: dotted #AAA; border-width: 2px 0; margin: 2em 1ex 0"> <p id="sisterProjects" style="background: #efefef; font-weight: bold; margin: 0 0 -0.2em;"><span>{{int:Sisterprojects}}</span>:</p> <div title="{{int:Sisterprojects-links-title}}">{{{1}}}</div> </div></includeonly><noinclude> [[Category:Meta:InterProject]]</noinclude>
I have no rights to do that by myself, please someone can help me?! Thank you! --FRacco (talk) 03:46, 25 November 2013 (UTC)
- @FRacco: Done! PiRSquared17 (talk) 03:51, 25 November 2013 (UTC)