Extension talk:SiteMatrix

From mediawiki.org
Latest comment: 10 years ago by 90.216.250.151 in topic Update site matrix

Needs a key[edit]

The initiated may not understand what the red links mean, and even I can't figure the ones that are stricken. Lady Aleena 18:38, 21 July 2008 (UTC)Reply

Red link means that the wiki doesn't exist, stricken link means that the wiki exists, but the database is locked. iAlex 18:40, 21 July 2008 (UTC)Reply
ACK! I should have said UNinitiated! (eep) A locked database means that editing is not allowed, right? Lady Aleena 18:43, 21 July 2008 (UTC)Reply
Exactely. iAlex 18:46, 21 July 2008 (UTC)Reply

Another suggestion[edit]

There is a list of other projects of Wikimedia at the bottom of this page. Only some of them are open to the public and use the single unified login. Would it be possible to split the list between the public projects and the ones which are private and possibly invite only? Lady Aleena 19:47, 21 July 2008 (UTC)Reply

Here is how I would have written the bottom. Lady Aleena 23:18, 25 July 2008 (UTC)Reply

<h2 id="mw-sitematrix-others">Other projects of Wikimedia</h2>
<ul>
<li><a href="http://advisory.wikimedia.org/">advisory</a></li>
<li><a href="http://beta.wikiversity.org/">betawikiversity</a></li>
<li><a href="http://commons.wikimedia.org/">commons</a></li>
<li><a href="http://incubator.wikimedia.org/">incubator</a></li>
<li><a href="http://www.mediawiki.org/">mediawiki</a></li>
<li><a href="http://meta.wikimedia.org/">meta</a></li>
<li><a href="http://quality.wikimedia.org/">quality</a></li>
<li><a href="http://wikisource.org/">sources</a></li>
<li><a href="http://species.wikimedia.org/">species</a></li>
<li><a href="http://test.wikipedia.org/">test</a></li>
</ul>
<h2 id="mw-sitematrix-wikimedia-chapters">Wikimedia chapter projects</h2>
<ul>
<li><a href="http://ch.wikimedia.org/">chwikimedia</a></li>
<li><a href="http://dk.wiktionary.org/">dkwiktionary</a></li>
<li><a href="http://dk.wikibooks.org/">dkwikibooks</a></li>
<li><a href="http://nl.wikimedia.org/">nlwikimedia</a></li>
<li><a href="http://nz.wikimedia.org/">nzwikimedia</a></li>
<li><a href="http://pa.us.wikimedia.org/">pa-uswikimedia</a></li>
<li><a href="http://pl.wikimedia.org/">plwikimedia</a></li>
<li><a href="http://se.wikimedia.org/">sewikimedia</a></li>
<li><a href="http://tlh.wikipedia.org/">tlh</a></li>
<li><a href="http://tlh.wiktionary.org/">tlhwiktionary</a></li>
</ul>
<h2 id="mw-sitematrix-wikimania">Wikimania projects</h2>
<ul>
<li><a href="http://wikimania2005.wikimedia.org/">wikimania2005</a></li>
<li><a href="http://wikimania2006.wikimedia.org/">wikimania2006</a> (editing restricted)</li>
<li><a href="http://wikimania2007.wikimedia.org/">wikimania2007</a> (editing restricted)</li>
<li><a href="http://wikimania2008.wikimedia.org/">wikimania2008</a></li>
<li><a href="http://wikimania2009.wikimedia.org/">wikimania2009</a></li>
<li><a href="http://wikimaniateam.wikimedia.org/">wikimaniateam</a></li>
</ul>
<h2 id="mw-sitematrix-restricted">Restricted projects of Wikimedia</h2>
<ul>
<li><a href="http://wikimediafoundation.org/">foundation</a></li>
<li><a href="http://nostalgia.wikipedia.org/">nostalgia</a></li>
<li><a href="http://rs.wikimedia.org/">rswikimedia</a></li>
</ul>
<h2 id="mw-sitematrix-private">Private projects of Wikimedia</h2>
<ul>
<li><a href="http://arbcom.en.wikipedia.org/">arbcom-en</a></li>
<li><a href="http://auditcom.wikimedia.org/">auditcom</a></li>
<li><a href="http://board.wikimedia.org/">board</a></li>
<li><a href="http://chair.wikimedia.org/">chair</a></li>
<li><a href="http://chapcom.wikimedia.org/">chapcom</a></li>
<li><a href="http://collab.wikimedia.org/">collab</a></li>
<li><a href="http://comcom.wikimedia.org/">comcom</a></li>
<li><a href="http://exec.wikimedia.org/">exec</a></li>
<li><a href="http://grants.wikimedia.org/">grants</a></li>
<li><a href="http://il.wikimedia.org/">ilwikimedia</a></li>
<li><a href="http://internal.wikimedia.org/">internal</a></li>
<li><a href="http://office.wikimedia.org/">office</a></li>
<li><a href="http://otrs-wiki.wikimedia.org/">otrs-wiki</a></li>
<li><a href="http://searchcom.wikimedia.org/">searchcom</a></li>
<li><a href="http://spcom.wikimedia.org/">spcom</a></li>
<li><a href="http://wg.en.wikipedia.org/">wg-en</a></li>
</ul>
<p><b>Total count: 784</b></p>

New field in API sitematrix results[edit]

With the release of MediaWiki 1.20wmf1, there is a new field in the "site" entries of the API sitematrix results. Here's a portion to illustrate:

<language code="zu" name="isiZulu" localname="Zulu">
  <site>
    <site url="http://zu.wikipedia.org" dbname="zuwiki" code="wiki" sitename="//$lang.wikipedia.org" />
    <site url="http://zu.wiktionary.org" dbname="zuwiktionary" code="wiktionary" sitename="//$lang.wikipedia.org" />
    <site url="http://zu.wikibooks.org" dbname="zuwikibooks" code="wikibooks" sitename="//$lang.wikipedia.org" closed="" />
  </site>
</language>

The "sitename" field is new. I don't really understand its purpose, given that the entries for all projects refer to "$lang.wikipedia.org" (as opposed to, say, Wiktionary entries using "$lang.wiktionary.org"). Does anyone have any information (/link to same) about this change? I couldn't find anything about it on Bugzilla (but that might just be me). - dcljr (talk) 08:37, 20 April 2012 (UTC)Reply

Question[edit]

I know almost nothing about PHP. I have installed SiteMatrix on my wiki family's "main" wiki (similar to Meta), and I even personalized it via editing SiteMatrix.php so instead of saying Wikipedia, Wiktionary, etc. it says the names of the wikis in the wiki family. But I have a question. How do you add a wiki to the table?

Hi, the easiest way without further knowledge is, using simple code that understand someone, like this:

{| class="wikitable"
|-
! Header text !! Header text !! Header text
|-
| Example || Example || Example
|-
| Example || Example || Example
|-
| Example || Example || Example
|}

instead using code like above, install on your wiki wikieditor and you can past quick such tables. Hope this will help you. Kind regards, Abani79 (talk) 20:40, 15 July 2012 (UTC)Reply

Wikimedia sites give incorrect sitenames[edit]

I'm not sure if this is the best place to put this, but I've noticed that the Wikimedia sites give incorrect values for the "sitename" field for many wikis. Specifically, most but not all wikis have a value of "Wikipedia" in the sitename field, even if the wiki in question isn't a Wikipedia. Has anyone else noticed this, and is anyone working on fixing it? Thanks in advance. --Montgolfière (talk) 21:52, 22 May 2013 (UTC)Reply

Suggestion for instruction page[edit]

Hi could I suggest that someone create a instruction page for this extension please because it doesent tell you how to let it show your websites in different languages 90.215.231.132 17:39, 3 July 2013 (UTC)Reply

Update site matrix[edit]

Hi please update site matrix.php so that the installation guide is updated please 90.216.250.151 07:23, 18 July 2013 (UTC)Reply