Last modified: 2011-11-10 14:52:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34309, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32309 - Add WMF domains to $wgNoFollowDomainExceptions
Add WMF domains to $wgNoFollowDomainExceptions
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-09 10:45 UTC by Nemo
Modified: 2011-11-10 14:52 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2011-11-09 10:45:11 UTC
I don't see any reason why "nofollow" should be added to links to our wikis, it's against ourself.

Note: I think we can add wikimedia.org and include all subdomains; it's easier than selecting and adding them manually and I don't think that spam to wikitech, chapters wikis or whatever is a risk.

To expand (useless details follow if you're not convinced :-p): we should ideally use interwiki links to link our wikis, and that's what we usually do, but:
1) this isn't always possible, for instance Commons and Meta are multilingual wikis and we often use {{fullurl}} to append a uselang= parameter to links, typically in interproject templates (used on hundreds of thousands articles);
2) there's still no reason why, if a newbie doesn't know it, a standard link to a Wikimedia project should have a nofollow.
Examples of 1):
* [[:mw:Help:Magic_words#URL_data]]: {{canonicalurl:Category:Top level}} → <a rel="nofollow" class="external free" href="http://www.mediawiki.org/wiki/Category:Top_level">http://www.mediawiki.org/wiki/Category:Top_level</a>
* [[:q:it:Cesare Beccaria]]: <a rel="nofollow" class="external text" href="//commons.wikimedia.org/wiki/Category:Cesare_Beccaria?uselang=it">Commons</a> (added through [[:q:it:Template:Interprogetto]], [[:q:it:Template:Interprogetto/CollegamentoUselang]])
* [[:w:fr:Modèle:Autres projets#Catégorie de Commons]]: <a rel="nofollow" class="external text" href="//commons.wikimedia.org/wiki/Category:Plants?uselang=fr">«&#160;Autres projets&#160;», sur <span>Wikimedia Commons</span></a>
Comment 1 Antoine "hashar" Musso (WMF) 2011-11-09 10:50:07 UTC
$wgNoFollowDomainExceptions is not set on WMF wikis as of now. Might be something like:

$wgNoFollowDomainExceptions = array(
 'wikipedia.org',
 'wiktionary.org',
 'wikimedia.org',
 ...
);

Tagging shell
Comment 2 Sam Reed (reedy) 2011-11-09 22:05:43 UTC
$wgNoFollowDomainExceptions = array(
'wikipedia.org',
'wiktionary.org',
'wikimedia.org',
'wikinews.org',
'wiktionary.org',
'wikibooks.org',
'wikispecies.org',
'wikiquote.org',
'wikisource.org',
'wikiversity.org',
'wikimediafoundation.org',
'mediawiki.org',
);

Is that everything?
Comment 3 Nemo 2011-11-09 22:34:50 UTC
(In reply to comment #2)
> Is that everything?

More than everything: wikispecies.org is not among our domains and you put wiktionary.org two times. :-)
Comment 4 Sam Reed (reedy) 2011-11-09 22:36:25 UTC
$wgNoFollowDomainExceptions = array(
'wikipedia.org',
'wiktionary.org',
'wikimedia.org',
'wikinews.org',
'wikibooks.org',
'wikiquote.org',
'wikisource.org',
'wikiversity.org',
'wikimediafoundation.org',
'mediawiki.org',
);
Comment 5 Antoine "hashar" Musso (WMF) 2011-11-10 14:52:07 UTC
Synced on live site:


+
+'wgNoFollowDomainExceptions' => array(
+    'default' => array(
+        # Original list 20111110 - bug 32309
+        'mediawiki.org',
+        'wikibooks.org',
+        'wikimediafoundation.org',
+        'wikimedia.org',
+        'wikinews.org',
+        'wikipedia.org',
+        'wikiquote.org',
+        'wikisource.org',
+        'wikiversity.org',
+        'wiktionary.org',
+    ),
+),

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links