Last modified: 2009-03-20 17:53:29 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 T19723, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17723 - noinclude not working while includeonly does with pages to be preloaded
noinclude not working while includeonly does with pages to be preloaded
Status: RESOLVED DUPLICATE of bug 5210
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-28 17:45 UTC by Pocoapoco
Modified: 2009-03-20 17:53 UTC (History)
0 users

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


Attachments

Description Pocoapoco 2009-02-28 17:45:49 UTC
Hello,
I thought that both the <noinclude>s and the <includeonly>s are funcionality that complement each other, but I found one case where includeonly DOES work but noinclude DOES NOT. The problem occurs when I call a page with both noincludes and includeonlys via a preload (in Spanish precarga) from another page, e.g.:
http://es.wikipedia.org/w/wiki.phtml?title=Wikipedia:Tabl%C3%B3n_de_anuncios_de_los_bibliotecarios/Portal/Plantillas/Reversor/Actual&action=edit&section=new&preload=Wikipedia:Tabl%C3%B3n_de_anuncios_de_los_bibliotecarios/Portal/Plantillas/Reversor/precarga

If the code of that proload page looks like:
<includeonly>{{</includeonly>subst:Solicitud reversor|User name|2=Reason}}
<noinclude>[[Category:Whatever]]</noinclude>

the result will be:
{{subst:Solicitud reversor|User name|2=Reason}}
<noinclude>[[Category:Whatever]]</noinclude>

instead of:
{{subst:Solicitud reversor|User name|2=Reason}}

Somehow the code within the includeonlys is considered but the code between the noicludes is not left out.

Regards, SUL:Poco a poco
Comment 1 Umherirrender 2009-03-12 18:11:26 UTC
Please rewrite getPreloadedText() in EditPage.php to allow noinclude and other stuff. That is useful to allow cats or make it possible to add a explanation on that page which tell anybody what happen with that page. Thanks.
Comment 2 Umherirrender 2009-03-20 17:53:29 UTC

*** This bug has been marked as a duplicate of bug 5210 ***

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


Navigation
Links