On Thu, Jan 24, 2013 at 1:45 PM, Yury Katkov <katkov.juriy@gmail.com> wrote:
Hi!

Nice extension!

Why do these tabs are dependent on namespaces? Is it possible to
create tabs by tag extension, like this:
<createtab name="bla" href="http://ex.org" />

The design of this extension in its entirety is the result of prior discussion. Wikinews and Wiktionary had a consistend scheme where every page in one namespace had an additional tab in a different one.
 

If so, it would be nice to insert such pieces of code into the
templates and customize the parts of the wiki dependent of the
content.

Cheers,
Yury Katkov, WikiVote

I think it's quite complicated. First, this allows every user with 'edit' permission to inject custom tabs. Adding a href attribute may reveal a security hole (JavaScript code injection), so at this point I say decisive NO. The second issue is the inconsistency of tabs created this way. We will have a custom tab on a page where the tag is present, but we won't have one on neither discussion page nor target page. On the other hand, I seek content-dependent behaviour a great feature (I mean not only tabs, but virtually every part of MediaWiki), but it's hard to implement by design (AFAIK).

Anyway, my question yet is as follows: does this extension have a chance to be enabled on some Wikimedia sites? (By the way, I've placed sample configurations for Wikinews and Wiktionary on extension page.)
 



On Tue, Jan 22, 2013 at 4:47 AM, Paul Selitskas <p.selitskas@gmail.com> wrote:
> Hi, guys.
>
> I've recently written an extension[1] which allows to easily inject custom
> tabs into the standard Subject-Talk scheme (with some fancy toys like tabs
> re-arranging). This is the feature that is currently implemented on some
> Wikinews and Wiktionary projects via JavaScript.
>
> Prior discussion took place at Bugzilla and evolved into the RfC[2] (look
> for Bugzilla link there). The coding is quite done (see [1]), but one change
> is on review in Gerrit[3] (introduces same namespace tabs for Wiktionary +
> code redesign); it lacks attention so it hasn't been merged yet. People at
> Wikinews and Wiktionary are commonly not against the new extension.[5][6]
>
> I sent an e-mail to Howie Fung, as it is suggested in "Writing an extension
> for deployment" manual on MediaWiki.org,[4] but I haven't received any
> response yet.
>
> I don't know what should I add here, so please could you take care of it?
> I'll be glad to answer your questions!
>
> --
> [1] https://www.mediawiki.org/wiki/Extension:NamespaceRelations
> [2]
> https://www.mediawiki.org/wiki/Requests_for_comment/Custom_inter-namespace_tabs
> [3] https://gerrit.wikimedia.org/r/#/c/44335/
> [4] http://www.mediawiki.org/wiki/Writing_an_extension_for_deployment
> [5]
> http://en.wikinews.org/wiki/Wikinews:Water_cooler/technical#Opinions_tab:_extension_vs._MediaWiki:Comments.js
> [6]
> http://en.wiktionary.org/wiki/Wiktionary:Grease_pit/2013/January#Citations_tab:_extension_vs._citations_tab.28.29
>
> --
> З павагай,
> Павел Селіцкас/Pavel Selitskas
> Wizardist @ Wikimedia projects
>
> _______________________________________________
> Design mailing list
> Design@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/design
>

_______________________________________________
Design mailing list
Design@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/design



--
З павагай,
Павел Селіцкас/Pavel Selitskas
Wizardist @ Wikimedia projects