Last modified: 2014-11-19 03:53:52 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 T72328, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70328 - Doxygen: Duplicate anchor LICENSE found
Doxygen: Duplicate anchor LICENSE found
Status: NEW
Product: MediaWiki
Classification: Unclassified
Documentation (Other open bugs)
unspecified
All All
: Low minor (vote)
: Future release
Assigned To: Nobody - You can work on this!
https://doc.wikimedia.org/mediawiki-c...
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-03 07:56 UTC by Nemo
Modified: 2014-11-19 03:53 UTC (History)
3 users (show)

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


Attachments

Description Nemo 2014-09-03 07:56:44 UTC
When setting TAGFILES to use tagfile.xml downloaded from the URL, doxygen 1.7.6.1 gives the following warning: Duplicate anchor LICENSE found

$ grep LICENSE tagfile.xml 
    <docanchor file="LBFactoryTest_8php">LICENSE</docanchor>
    <docanchor file="LBFactoryTest_8php">LICENSE</docanchor>
    <docanchor file="LBFactoryTest_8php">LICENSE</docanchor>
    <docanchor file="LBFactoryTest_8php">LICENSE</docanchor>
    <docanchor file="LBFactoryTest_8php">LICENSE</docanchor>
    <docanchor file="LBFactoryTest_8php">LICENSE</docanchor>
    <docanchor file="LBFactoryTest_8php">LICENSE</docanchor>
Comment 1 Antoine "hashar" Musso (WMF) 2014-09-15 14:02:51 UTC
Several files define:

 * @section LICENSE

That causes dupes indeed.  The @section should probably be removed entirely.

Moving under MediaWiki product.
Comment 2 Bill Traynor 2014-11-19 03:53:52 UTC
(In reply to Antoine "hashar" Musso (WMF) from comment #1)
> Several files define:
> 
>  * @section LICENSE
> 
> That causes dupes indeed.  The @section should probably be removed entirely.
> 
> Moving under MediaWiki product.

You mean to just remove the "@section" keyword in each file, not the actual license text, correct?

It's actually not in to many files:
$ grep -ircl "@section LICENSE" *
includes/specials/SpecialFilepath.php
includes/specials/SpecialRedirect.php
includes/debug/logger/legacy/Logger.php
includes/debug/logger/legacy/Spi.php
includes/debug/logger/Logger.php
includes/debug/logger/NullSpi.php
includes/debug/logger/monolog/Processor.php
includes/debug/logger/monolog/Handler.php
includes/debug/logger/monolog/Spi.php
includes/debug/logger/Spi.php
includes/profiler/ProfilerXhprof.php
includes/libs/IPSet.php
includes/libs/ObjectFactory.php
includes/libs/Xhprof.php
maintenance/purgeChangedPages.php
maintenance/purgeChangedFiles.php
tests/phpunit/includes/db/DatabaseMysqlBaseTest.php
tests/phpunit/includes/db/LBFactoryTest.php
tests/phpunit/includes/libs/ObjectFactoryTest.php
tests/phpunit/includes/libs/XhprofTest.php

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


Navigation
Links