User talk:MarkDilley: Difference between revisions

2,317 bytes added ,  15 October 2013
(→‎Inactive and dead wikis: : I think that would be great and I would like them to all go to the Inactive template if I had any say in the work :-) Best, ~~~)
Line 537: Line 537:


'''Proposal''' I'd like to request admin rights on this wiki. I've seen your name around several places on here and you're evidently a bureaucrat as well. I have rights on several wikis, including admin status on several Wikimedia projects and [[Freedom Defined]]. If you think I'd be an acceptable admin, I'd appreciate the opportunity to have the tools. [[User:Koavf|Koavf]] ([[User talk:Koavf|talk]]) 07:56, 11 October 2013 (UTC)
'''Proposal''' I'd like to request admin rights on this wiki. I've seen your name around several places on here and you're evidently a bureaucrat as well. I have rights on several wikis, including admin status on several Wikimedia projects and [[Freedom Defined]]. If you think I'd be an acceptable admin, I'd appreciate the opportunity to have the tools. [[User:Koavf|Koavf]] ([[User talk:Koavf|talk]]) 07:56, 11 October 2013 (UTC)
== Canonical interwiki prefixes, II ==
Hi Mark,
I can write [[mw:Canonical interwiki prefixes/Proposed extension|an extension]] to help distribute a list of [[mw:Canonical interwiki prefixes|canonical interwiki prefixes]]. The way it will work is that there will be a [[mw:Manual:Tag extensions|parser extension tag]] or [[mw:Manual:Parser functions|parser function hook]], e.g.:
<nowiki><interwiki_prefix prefix="nathaniawiki" url="http://nathania.org/wiki/$1" apiurl="http://nathania.org/w/api.php"/></nowiki>
or:
<nowiki>{{#interwiki_prefix:nathania|http://nathania.org/wiki/$1|http://nathania.org/w/api.php}}</nowiki>
That will allow there to be a parameter to [[Template:Wiki]], [[Template:MultilingualMain]] and similar templates for interwiki prefixes. So, someone will edit, e.g., the [[Nathania]] page to add, modify or remove the interwiki prefix line pertaining to that wiki. E.g.:
{{Wiki
...
|interwiki_prefix = nathaniawiki
|<nowiki>interwiki_URL    = http://nathania.org/wiki/$1</nowiki>
|<nowiki>interwiki_apiurl = http://nathania.org/w/api.php</nowiki>
...
}}
When the user [[mw:Manual:Hooks/ArticleSaveComplete|saves the page]], the extension will update the [[mw:Manual:Interwiki table|interwiki table]]. The API will allow other websites to query to get either the entire table or the most recent updates to it. That way, other wikis can keep their own interwiki tables in sync with WikiIndex's.
Does this all make sense? Really, it would be sort of like [[mw:Extension:InterWikiLinkManager/Example]] except that the interwiki links would be managed from all of the different wiki pages rather than from one central page. In the event of conflicts, i.e. two wiki pages with the same interwiki prefix, the one added first would get priority.
As with any extension, this will involve some troubleshooting and at least several versions to get all the bugs out and make the extension do everything we want it to do. So, ideally I would have access to FTP, phpMyAdmin and the shell. Alternatively, I would at least need someone with such access to make requested upgrades to the extension code in a timely manner. If that's not possible, then this probably isn't practicable. What do you think? [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 01:40, 15 October 2013 (UTC)
1,756

edits